OnlyOffice community - 502 error bad gateway

Hi
I installed OnlyOffice Community Document Server on Windows 10. When i try to run example i console log i get error

socket.io.min.js:6 GET http://localhost:1725/7.4.1-36/doc/__1new.docx1695889964353/c/?EIO=4&transport=polling&t=OhRICFA 502 (Bad Gateway)

socket.io.min.js:6 GET http://localhost:1725/7.4.1-36/doc/__1new.docx1695889964353/c/?EIO=4&transport=polling&t=OhRIF3p 502 (Bad Gateway)

My address is http://localhost:1725 , not http://localhost:1725/7.4.1-36 .
I don’t have folder 7.4.1-36 in my onlyoffice.

Where is the problem. What should i do?

Hello @Michal

Please note that Document Server is not supposed to be installed on regular editions of Windows. See minimal system requirements from installation guide:

System requirements:
OS: 64-bit Windows Server 2012 or higher

I installed only office on Windows Server 2022 Standard x64 and i have the same error.

Mayby my configuration is wrong. My browser address is http:/localhost:1725 but in console logs adres is http:/localhost:1725/7.4.1-36/ . I don’t now why?

Please share link to the guide that you’ve followed to install Document Server.

It is Document Server service working.

Also check if all necessary ports are opened on your machine:
https://helpcenter.onlyoffice.com/installation/docs-community-open-ports.aspx

Yes. Service is working. Dziala mean Running
obraz
I check necessery ports and i don’t see port 8000 for DocService in LISTEN state.
To checked ports i use netstat -aon command. Firewall is off so port should by work fine.

Please additionally check if Redis and PostgreSQL services are up and running.
Also, please archive and share all logs of Document Server for analysis. For Widows they are located in C:\Program Files\ONLYOFFICE\DocumentServer\Log\.

Now its work. I had to reinstall postgress. But i have another problem. Example document is loading incessantly.

I don’ get no logs in log folder and console.

Hello @Michal
I will step into this thread too.

Please point us to the guide that you used for the installation. Additionally, please double-check this path and collect whole Document server logs folder: Program Files\ONLYOFFICE\DocumentServer\log

I don’ get no logs in log folder and console.

Have you checked Console and Network tabs? If haven’t, please show us if there are any error entries.

Here is screenshots from Consol. Logs on serwer are empty (0kB) .


Communication with Postgress (ver 16) is correct i think. I have data in onlyoffice tables.

Please provide a link to the guide that you’ve followed to install ONLYOFFICE Docs.

Hi

https://helpcenter.onlyoffice.com/installation/docs-enterprise-install-windows.aspx

As I can see, you have used guide for Enterprise Edition. If you have an active license, I’d recommend contacting us via Zendesk platform to get prompt replies:
https://onlyofficesupport.zendesk.com/

Otherwise, please make sure to follow the guidelines for Community Edition installation on Windows from our Help Center:
https://helpcenter.onlyoffice.com/installation/docs-community-install-windows.aspx

Hi

I uninstall and install all applications and set configurations from Installing ONLYOFFICE Docs for Windows on a local server - ONLYOFFICE. Download onlyoffice community from Installing ONLYOFFICE Docs for Windows on a local server - ONLYOFFICE for Windows Server. Unfortunatly is nothin changed. Example document is loading incessantly.

After loading to RabbitMQ in connection tab i see connections in blocking state when i try load document in only office.

could this make a difference?

Mayby this is a reason why it dosn’t work? If it is true How could i unblocking connections?

Did you check ports? I’ve mentioned the list of required ports for Document Server here:


In general, provide logs of Document Server for possible hints on the issue, they are located in C:\Program Files\ONLYOFFICE\DocumentServer\Log\.

Hi
Yes i check ports . Attachments contains list of ports and tasks.
ports.odt (34.9 KB)
tasks.ods (21.6 KB)

Logs are empty. Screenshots in attachments.




Still i have loading document incessantly.

Please archive mentioned directory. Those subfolders contain necessary log files for analysis.

UPD: was there any errors during or after the process of installation?

Hi
I dont’ have any errors during the installation process. I attach Log archive (you have to change odt extension to 7z extension . The forum does not allow attaching zip ,tar, 7z files).

After run first docx document (archive LogAfterFirstRunNewDocument.zip) in LOG/docservice/out.log i got :

[2024-04-02T08:38:37.699] [WARN] [localhost] [docId] [userId] nodeJS - Express server starting…
[2024-04-02T08:38:37.704] [WARN] [localhost] [docId] [userId] nodeJS - Failed to subscribe to plugin folder updates. When changing the list of plugins, you must restart the server. File system | Node.js v21.7.1 Documentation
[2024-04-02T08:38:39.477] [WARN] [localhost] [docId] [userId] nodeJS - Express server listening on port 8000 in production-windows mode. Version: 8.0.1. Build: 31

and in LOG/converter/out.log :

[2024-04-02T08:38:41.082] [WARN] [localhost] [docId] [userId] nodeJS - num of CPUs: 4; availableParallelism: undefined
[2024-04-02T08:38:41.085] [WARN] [localhost] [docId] [userId] nodeJS - update cluster with 1 workers
[2024-04-02T08:38:41.095] [WARN] [localhost] [docId] [userId] nodeJS - worker 6396 started.
[2024-04-02T08:38:41.105] [WARN] [localhost] [docId] [userId] nodeJS - num of CPUs: 4; availableParallelism: undefined
[2024-04-02T08:38:41.105] [WARN] [localhost] [docId] [userId] nodeJS - update cluster with 1 workers

LogAfterFirstRunNewDocument_.odt (681 Bytes)
LogAfterInstalation.odt (674 Bytes)
LogArchive.odt (3.3 KB)

Mayby my OS is incorrect. I using Windows Server 2022 Standard Evaluation x64 21H2