Onpremise: relay server error: 401 Unauthorized

Created on 6 May 2020  路  5Comments  路  Source: getsentry/onpremise

After updating to the latest version i get the following errors from the container sentryonpremise_relay_1

2020-05-06T07:01:37Z [relay_server::actors::upstream] ERROR: authentication encountered error: upstream request returned error 401 Unauthorized
2020-05-06T07:02:37Z [relay_server::actors::upstream] ERROR: authentication encountered error: upstream request returned error 401 Unauthorized
2020-05-06T07:03:37Z [relay_server::actors::upstream] ERROR: authentication encountered error: upstream request returned error 401 Unauthorized
2020-05-06T07:04:37Z [relay_server::actors::upstream] ERROR: authentication encountered error: upstream request returned error 401 Unauthorized
2020-05-06T07:05:37Z [relay_server::actors::upstream] ERROR: authentication encountered error: upstream request returned error 401 Unauthorized

Post-Http-Request are logged by the nginx-container but are never shown in the gui.

Needs More Information Bug

All 5 comments

Yes i confirm i got the same error on this container too

Can you remove your relay/credentials.json file, pull from this repo and run ./install.sh again?

Thanks! It works again:

2020-05-06T15:10:43Z [relay_server::actors::upstream] DEBUG: relay successfully registered with upstream

Works only if relay/credentials.json exist, see https://github.com/getsentry/onpremise/issues/476

I think this and #476 are different issues so keeping this one colesed but keeping #476 open until we understand what happens there.

Was this page helpful?
0 / 5 - 0 ratings