Cannot install apps, receive push

Description

I have installed the Docker image on our server, but there are some problems that may be related.

  1. I cannot install any app from marketplace - when installing app, the toast is displayed Apps_Error_Unauthorized
  2. When I got to Workspace → Subscription and click on “Sync licence update” it loads for some time and then toast is displayed with Error during workspace sync.
  3. When I try to send a test push notification, it shows that it has sent to 1 device, but docker logs show:
    {"level":40,"time":"2025-05-27T07:29:48.932Z","pid":1,"hostname":"<edited>","name":"Push","msg":"Error sending push to gateway (not authorized) ''"}

Also, workspace dashboard has all 0 in statistics about users, but we have some users and chats. But I could live with that.
When I click on “Invoices” in cloud panels, it shows “Something went wrong”. I don’t know if it’s related.

Server Setup Information

  • Version of Rocket.Chat Server: 7.7.0-rc.2
  • Operating System: Ubuntu / Docker
  • Deployment Method: docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Enabled
  • NodeJS Version: 22.14.0 - x64
  • MongoDB Version: 6.0.13
  • Proxy: none
  • Firewalls involved: disabled while testing

Any additional Information

Thats basically it. I have registered workspace in the cloud and it shows:
Region: self-hosted
Deployment: Self-managed
Current plan: Starter seats
Status: Active

You should not be using a RC version.

Latest stable is 7.6.1

Never use the ‘latest’ tag - devs and big risk takers only. Not suitable for production.

Always use a specific tag and upgrade on your own schedule. I normally run on emajot version behind eg I’d now use 7.5.x while current stable is 7.6.x

As per the docs you should not be using Rocket without a reverse proxy.

Rocket produces html on port 3000 but that is not the same as being a web server.

Please fix that. Either use Traefik, nginx or apache with https certificates using your own domain for your own security.

You may want to delete everything including the cloud workspace and start afresh following the docs carefully.

You will need to agree to the T&Cs during startup and use a proper email address - disposable ones like gmail are not permitted.

I have used 7.6.1 before, upgraded to RC in hope that it will fix things.
About proxy, didn’t thought it was regarding that, and yes I have app running behind nginx proxy, which forwards 443 → 3000. I edited docker compose file for 3000 to be exposed only on 127.0.0.1. SSL is configured in nginx.

An upgrade to a testing version likely won’t fix this. It should just work - this is normally basic stuff.

Did you set up your reverse proxy (not a simple forward) with your domain before you ran the install?

If not you may have a mismatch between the domain you registered and the one you are using which will confuse the Site URL.

Ok, I wiped everything fresh. I think I found out why I have problems with registration. When starting for the first time, it asks me to register workspace. After loading that page, the “Register workspace” button becomes disabled.
In console I see that /api/v1/cloud.registerPreIntent returns:
{"offline":true,"success":true}

In docker logs I see:

{"level":50,"time":"2025-05-27T12:20:54.202Z","pid":1,"hostname":"<redacted>","name":"System","msg":"Failed to register workspace pre-intent with Rocket.Chat Cloud","url":"/api/v2/register/workspace/pre-intent","err":{"type":"AbortError","message":"The user aborted a request.","stack":"AbortError: The user aborted a request.\n at abort (/app/bundle/programs/server/npm/node_modules/node-fetch/lib/index.js:1458:16)\n at AbortSignal.abortAndFinalize (/app/bundle/programs/server/npm/node_modules/node-fetch/lib/index.js:1473:4)\n at AbortSignal.dispatchEvent (/app/bundle/programs/server/npm/node_modules/event-target-shim/src/event-target.mjs:337:35)\n at abortSignal (/app/bundle/programs/server/npm/node_modules/abort-controller/src/abort-signal.ts:68:12)\n at AbortController.abort (/app/bundle/programs/server/npm/node_modules/abort-controller/src/abort-controller.ts:26:9)\n at Timeout.<anonymous> (/app/bundle/programs/server/npm/node_modules/@rocket.chat/server-fetch/src/index.ts:43:48)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7)","name":"AbortError"}}

Previously, I used Offline registration and I guess I either didn’t finish process correctly or did not complete all steps.

Airgapped/offline needs a licence now.

You must also use a genuine email. Gmail etc are not permitted.

Ok, I fixed it. As I’m using Ubuntu, and it has some problems with network packet size and Docker.
I added to compose.yml:

networks:
  rocketchat:
    driver_opts:
      com.docker.network.driver.mtu: 1450

and

network:
  - rocketchat

to each service. Now everything works. @reetp Thanks for responding!

1 Like

No worries.

Glad you got it fixed.