Hello!
Total 628
Active 394
avg online ~60
I know about the 200 online users limit for community subscriptions
Today I tried to reproduce this situation
Because after activating the workspace, I am on pro trial, I cancelled it in my personal account on the cloud
Everything went ok
I went to my rocket.chat, synchronized the license - my workplace became with a community subscription
restarted the docker - it became air-grapped again and in read-only mode
Here are the logs with the chronology
I am on the community license and restart the docker and after that the system is in read-only mode
“level”:50,“time”:“2025-04-29T16:18:49.291Z”,“pid”:1,“hostname”:“7373a426fccd”,“name”:“SyncedCron”,“msg”:“Failed to send usage report”,“err”:{“type”:“FetchError”,“message”:“invalid json response body at /collector.rocket.chat/ reason: Unexpected end of JSON input”,“stack”:“FetchError: invalid json response body at collector.rocket.chat/ reason: Unexpected end of JSON input
at /app/bundle/programs/server/npm/node_modules/node-fetch/lib/index.js:273:32
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at sendStats (app/statistics/server/functions/sendUsageReport.ts:25:26)
at usageReportCron (server/cron/usageReport.ts:9:21)
at async Promise.all (index 2)
at startCronJobs (server/startup/cron.ts:15:2)”,“name”:“FetchError”}}
{“level”:20,“time”:“2025-04-29T16:18:49.986Z”,“pid”:1,“hostname”:“7373a426fccd”,“name”:“Callbacks”,“msg”:“Executing callback with id Qm2QT3xDRmCiGf7BT for hook workspaceLicenseRemoved”}
{“level”:30,“time”:“2025-04-29T16:18:49.987Z”,“pid”:1,“hostname”:“7373a426fccd”,“name”:“System”,“msg”:“Synced with Rocket.Chat Cloud”,“function”:“syncCloudData”}
{“level”:20,“time”:“2025-04-29T16:18:49.988Z”,“pid”:1,“hostname”:“7373a426fccd”,“name”:“System”,“msg”:“Resetting cached value Cloud_Workspace_Supported_Versions_Token in settings”}
{“level”:20,“time”:“2025-04-29T16:18:49.990Z”,“pid”:1,“hostname”:“7373a426fccd”,“name”:“System”,“msg”:“Workspace credentials cache hit using scope: workspace:license:read workspace:client:write workspace:stats:write workspace:push:send marketplace:read marketplace:download fedhub:register. Avoiding generating a new access token from cloud services.”}
Now I reactivate my workspace and receive a trial subscription
{“level”:30,“time”:“2025-04-29T16:18:59.460Z”,“pid”:1,“hostname”:“7373a426fccd”,“name”:“License”,“msg”:“Limit validation failed”,“kind”:“privateApps”,“limit”:{“behavior”:“prevent_action”,“max”:0}}
{“level”:20,“time”:“2025-04-29T16:19:03.183Z”,“pid”:1,“hostname”:“7373a426fccd”,“name”:“System”,“msg”:“Workspace credentials cache miss using scope: workspace:license:read workspace:client:write workspace:stats:write workspace:push:send marketplace:read marketplace:download fedhub:register, fetching new access token from cloud services.”}
since there are a lot of logs, it won’t fit here, but I highlighted what I think is appropriate
i.e. in fact, after restarting the docker - rocket.chat seems to not see the Internet and forced synchronization of the license does not help
but after I delete my workspace from the cloud - rocket.chat will tell me in a friendly manner “Register me”
Synchronization is happening, there is Internet
And this is the text that the neural network issued
Start of server operation (16:18:48)
Invalid host (host validation error)
The server detects that it is already at migration version 318 (Not migrating, already at version 318)
- Attempting to synchronize with the cloud (16:18:48–16:18:49)
16:18:48.830 – License cache found (Workspace credentials cache hit…), but server still tries to request a new token.
16:18:48.875 – Setting up queues and workers.
16:18:49.080 – First license failure:
json
{
“level”:20,
“msg”:“Workspace credentials cache miss using scope: workspace:license:read… fetching new access token from cloud services.”
}
The server cannot obtain an access token for cloud services.
16:18:49.291 – Error sending report to Rocket.Chat Cloud:
json
{
“level”:50,
“msg”:“Failed to send usage report”,
“err”: {
“type”:“FetchError”,
“message”:“invalid json response body at collector.rocket.chat/ reason: Unexpected end of JSON input”
}
}
The server cannot send statistics, but continues to work.
- Successful synchronization after activating the Pro trial (16:18:49–16:18:50)
16:18:49.986 – The workspaceLicenseRemoved callback is triggered (possibly due to subscription cancellation).
16:18:49.987 – Successful sync with cloud:
json
{
“level”:30,
“msg”:“Synced with Rocket.Chat Cloud”,
“function”:“syncCloudData”
}
16:18:49.988 – Resetting cached versions (Resetting cached value Cloud_Workspace_Supported_Versions_Token).
16:18:49.990 – New successful license cache (Workspace credentials cache hit…).
- Problems after restart (16:18:50–16:19:03)
16:18:50.767 – room_is_blocked error when sending messages (possibly due to read-only mode).
16:18:59.953–16:19:03.183 – Repeated licensing errors:
The server is losing access to the cloud again (Workspace credentials cache miss…).
Returning to a state where it cannot verify the license.
What are the options for diagnosing/solving the problem boss?