Can't reconnect to cloud service

Hi!
My rocketchat instance can’t connect to cloud services. When I click to Administration-Connectivity Services-Sync I have error {“level”:50,“time”:“2022-05-30T08:46:27.553Z”,“pid”:1,“hostname”:“65efe3bbc39d”,“name”:“System”,“err”:{“type”:“FetchError”,“message”:“maximum redirect reached at: https://cloud.rocket.chat/",“stack”:"FetchError: maximum redirect reached at: https://cloud.rocket.chat/\n at ClientRequest. (/app/bundle/programs/server/npm/node_modules/meteor/fetch/node_modules/node-fetch/lib/index.js:1487:15)\n at ClientRequest.emit (events.js:400:28)\n at ClientRequest.emit (domain.js:475:12)\n at HTTPParser.parserOnIncomingClient (_http_client.js:647:27)\n at HTTPParser.parserOnHeadersComplete (_http_common.js:127:17)\n at Socket.socketOnData ( http_client.js:515:22)\n at Socket.emit (events.js:400:28)\n at Socket.emit (domain.js:475:12)\n at Socket.Readable.read (internal/streams/readable.js:504:10)\n at Socket.read (net.js:638:39)\n at flow (internal/streams/readable.js:987:34)\n at resume (internal/streams/readable.js:968:3)\n at processTicksAndRejections (internal/process/task_queues.js:82:21)”,“name”:“FetchError”},“msg”:"maximum redirect reached at: https://cloud.rocket.chat/"}
I try re-registr my self-hosted instance, but I have this error again. And I cant re-register it online, it’s work only by offline registration.
How I can restore sync with cloud services? I can’t use push, marketspace and statistic.
Thsnks in advance!

  • Version of Rocket.Chat Server: 4.7.2
  • Operating System: Ubuntu 20.04
  • Deployment Method: docker
  • Number of Running Instances: 1-3
  • DB Replicaset Oplog: Enable
  • MongoDB Version: 5.0.6

Hi!

Do you still face this problem? Looks like it was a temporary malfunction on the cloud end.

It should be back now, as I just did new a registration.

Thanks!

Hi!
It is not work now… In test area error:

{“level”:50,“time”:“2022-06-01T14:26:10.700Z”,“pid”:1,“hostname”:“8efde22f9381”,“name”:“System”,“err”:{“type”:“Error”,“message”:“failed [500]”,“stack”:“Error: failed [500]\n at makeErrorByStatus (server/lib/http/call.ts:59:9)\n at server/lib/http/call.ts:168:19\n at /app/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40”,“response”:{“statusCode”:500,“content”:"",“headers”:{“connection”:“close”,“content-length”:“531”,“content-type”:“text/html; charset=iso-8859-1”,“date”:“Wed, 01 Jun 2022 14:16:08 GMT”,“server”:“Apache”},“ok”:false,“data”:null}},“msg”:“failed [500]”}

In prod area again:

{“level”:50,“time”:“2022-06-01T14:28:40.765Z”,“pid”:1,“hostname”:“85c9b569c770”,“name”:“System”,“err”:{“type”:“FetchError”,“message”:“maximum redirect reached at: https:// cloud.rocket .chat/”,“stack”:“FetchError: maximum redirect reached at: https:// cloud.rocket .chat/\n at ClientRequest. (/app/bundle/programs/server/npm/node_modules/meteor/fetch/node_modules/node-fetch/lib/index.js:1487:15)\n at ClientRequest.emit (events.js:400:28)\n at ClientRequest.emit (domain.js:475:12)\n at HTTPParser.parserOnIncomingClient (_http_client.js:647:27)\n at HTTPParser.parserOnHeadersComplete (_http_common.js:127:17)\n at Socket.socketOnData (http_client.js:515:22)\n at Socket.emit (events.js:400:28)\n at Socket.emit (domain.js:475:12)\n at Socket.Readable.read (internal/streams/readable.js:504:10)\n at Socket.read (net.js:638:39)\n at flow (internal/streams/readable.js:987:34)\n at resume (internal/streams/readable.js:968:3)\n at processTicksAndRejections (internal/process/task_queues.js:82:21)”,“name”:“FetchError”},“msg”:“maximum redirect reached at: https:// cloud.rocket .chat/”}

Hi.

Can you make sure your server has access to internet? This looks like a proxy or some firewall rule in between.

I did a test recent and was able to register both using 4.7.X and 4.8.0

Of cource. Server have internet cnnection without any restriction. May be I can check direct requests by rest api? But I dont’t know what request I must use. Or may be rocketchat have geo-restrict for connect to servers?

As far as I know, there are no restrictions from our servers.

This part is what got me thinking about some restriction at your connection side:

“maximum redirect reached at: https:// cloud.rocket .chat/”

Yes, but here curl to it from my server:

I don’t undestand why rocketchat applications have 400, when my linux have 200

Becouse I want understand about restrictions on rocketchat side, may be it antiddos, or restrictions for some url-path