Rocket.Chat's Community Open Call 🎤 Dec 15, 2021 Join us!

Error sending push to gateway (not authorized) statusCode 401 cloud registration required


My Docker log is full of this errorr messeges (see topic)

Server Setup Information

  • Version of Rocket.Chat Server: 4.1.0
  • Operating System: debian/docker
  • Deployment Method: dockerhub: rocketchat/
  • Number of Running Instances: 1
  • DB Replicaset Oplog: replSet=rs0
  • NodeJS Version: 12.22.1
  • MongoDB Version: 5.0.3
  • Proxy: nginx reverse proxy
  • Firewalls involved: ufw

Any additional Information

{"level":40,"time":"2021-11-03T16:04:24.918Z","pid":9,"hostname":"496ee5b1d876","name":"Push","msg":"Error sending push to gateway (not authorized) {\"statusCode\":401,\"content\":\"{\\\"code\\\":121,\\\"error\\\":\\\" cloud registration required\\\",\\\"requestId\\\":\\\"bfeb28fc-2d2b-4c5c-8e0c-98b780aa1524\\\",\\\"status\\\":401}\",\"headers\":{\"access-control-allow-headers\":\"Content-Type, Authorization, Content-Length, X-Requested-With\",\"access-control-allow-methods\":\"GET, PUT, POST, DELETE, OPTIONS\",\"access-control-allow-origin\":\"*\",\"access-control-expose-headers\":\"Content-Type, Authorization, Cache-Control, Expires, Pragma, X-powered-by\",\"cache-control\":\"private, no-cache, no-store, must-revalidate\",\"content-length\":\"126\",\"content-type\":\"application/json; charset=utf-8\",\"date\":\"Wed, 03 Nov 2021 16:04:24 GMT\",\"expires\":\"-1\",\"pragma\":\"no-cache\",\"x-powered-by\":\"Rocket Fuel and Rocketeers\",\"connection\":\"close\"},\"data\":{\"code\":121,\"error\":\" cloud registration required\",\"requestId\":\"bfeb28fc-2d2b-4c5c-8e0c-98b780aa1524\",\"status\":401}}"}

my cloud registration was/is still successfully enabled since month!
Push is working fine but why i get this messages?

thanks for help

HI! Sorry for the late response. Somehow I missed this thread :frowning:

I’ll need to check with our cloud team, as this looks like some error at the cloud registration step.

Maybe it was some malfunction on the cloud side.

Do you still experience this error? Even on latest versions? Thanks!

no this somehow stopped, maybe with a later version (i use watchtower to update my rocketchat automatically)
i now have push receiving problems (no errors), but for this i should open another topic.

1 Like