OnlyOffice community - 502 error bad gateway

OS is fine, I can see that there issues with connection to RabbitMQ:

[2024-04-02T07:30:51.614] [ERROR] [localhost] [docId] [userId] nodeJS - [AMQP] Error: connect ECONNREFUSED
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1187:16)

Endless loading when opening a document is related to this issue too.

Do you have any other applications on the server that may occupy necessary ports? How much RAM your server has?


There have’n another application on the server except OnlyOffice and necessery applications (screenshot). This server is used to work OnlyOffice application only.

Processor : ntel(R) Xeon(R) CPU X5650 @ 2.67GHz 2.67 GHz
RAM : 7,99 GB

Increase RAM to 16G but it didn’t help

Thanks. I’ve noticed that your Document Server is running on non-default port. Since there are no other apps on the machine, may I ask to to try installing Document Server on default port 80 for the test purposes?

OK. I’ll install Document Server on 80 port.

I install OnlyOffice on 80 port but nothing change . Logs are attachment ( you must change .odt. to .zip)

Log.odt (4.1 KB)