[solved] Drone autoscaler 1.0.0-rc.5 unable to get queue details


#1

Hello,

I’m trying to setup the drone autoscaler (tag 1.0.0-rc.1) with drone server 1.0.0-rc.5 but I appear to fail at getting the authentication right.

They both have the same pre-shared secret yet I guet 401 {“message”:“Unauthorized”}

I was unable to find a code branch for 1.0.0-rc.5 (Why is that? i makes debugging much harder).

These are the secrets that I provision (might be double i know).

autoscaler:
DRONE_RPC_SECRET=secret1
DRONE_SERVER_TOKEN=secret1
DRONE_AGENT_TOKENT=secret1
DRONE_RCP_SERVER=https://doneaddres.com/

server:
DRONE_SERVER_TOKEN=secret1
DRONE_RPC_SECRET=secret1

Does anyone have any suggestions as to what I’m doing wrong?

Many thanks,

Daniel


#2

If I put my personal token into DRONE_SERVER_TOKEN in the autoscaler, I get a 403 forbidden.


#3

If I put my personal token into DRONE_SERVER_TOKEN in the autoscaler, I get a 403 forbidden.

the autoscaler requires a user token with administrative privileges. This error message would indicate you are not an admin. You can read more about this in our documentation at https://docs.drone.io/administration/user/admins/#admin-creation


closed #4