[GH-ISSUE #823] [WARN] [localhost] [docId] [userId] nodeJS - io.connection_error code=0, message=Transport unknown #391

Closed
opened 2026-02-26 10:32:21 +03:00 by kerem · 9 comments
Owner

Originally created by @Aaron2im on GitHub (Jul 24, 2025).
Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/823

I set environment JWT_SECRET=false, when I request path doc/{xxx}/c/info, return 400 bad request Transport unknown

Image

However, obtaining the js file (such as sockjs.min.js)is normal。

I use nginx to proxy path /onlyoffice to onlyoffice-ip:8000

Originally created by @Aaron2im on GitHub (Jul 24, 2025). Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/823 I set environment JWT_SECRET=false, when I request path doc/{xxx}/c/info, return 400 bad request Transport unknown <img width="2249" height="957" alt="Image" src="https://github.com/user-attachments/assets/40ca5ec0-08d1-4103-9e2b-0a6924b348fa" /> However, obtaining the js file (such as sockjs.min.js)is normal。 I use nginx to proxy path /onlyoffice to onlyoffice-ip:8000
kerem closed this issue 2026-02-26 10:32:21 +03:00
Author
Owner

@Aaron2im commented on GitHub (Jul 24, 2025):

by the way,i upgrade it from 7.1 to 9.0

<!-- gh-comment-id:3112364996 --> @Aaron2im commented on GitHub (Jul 24, 2025): by the way,i upgrade it from 7.1 to 9.0
Author
Owner

@igwyd commented on GitHub (Jul 24, 2025):

Hello @Aaron2im, please describe your environment in more detail, what command do you use to run in docker(with ports mapping). What config do you use in nginx, are these our configs?

<!-- gh-comment-id:3112456416 --> @igwyd commented on GitHub (Jul 24, 2025): Hello @Aaron2im, please describe your environment in more detail, what command do you use to run in docker(with ports mapping). What config do you use in nginx, are these our [configs](https://helpcenter.onlyoffice.com/docs/installation/docs-community-proxy.aspx)?
Author
Owner

@Aaron2im commented on GitHub (Jul 24, 2025):

Thanks @igwyd
command: docker run -i -t -d -p 8001:8000 --privileged=true -e JWT_ENABLED=false onlyoffice/documentserver:9.0
just proxy proxy path /proxy-host/onlyoffice to onlyoffice-host-ip:8001
But I use low vue package,maybe the websocket connect way has changed?

<!-- gh-comment-id:3112467478 --> @Aaron2im commented on GitHub (Jul 24, 2025): Thanks @igwyd command: docker run -i -t -d -p 8001:8000 --privileged=true -e JWT_ENABLED=false onlyoffice/documentserver:9.0 just proxy proxy path /proxy-host/onlyoffice to onlyoffice-host-ip:8001 But I use low vue package,maybe the websocket connect way has changed?
Author
Owner

@igwyd commented on GitHub (Jul 24, 2025):

You are mapping the docservice port, this is not correct. You must use nginx port, try with 80, this is should work:

command: docker run -i -t -d -p 8001:80 --privileged=true -e JWT_ENABLED=false onlyoffice/documentserver:9.0
<!-- gh-comment-id:3112537690 --> @igwyd commented on GitHub (Jul 24, 2025): You are mapping the docservice port, this is not correct. You must use nginx port, try with 80, this is should work: ``` command: docker run -i -t -d -p 8001:80 --privileged=true -e JWT_ENABLED=false onlyoffice/documentserver:9.0 ```
Author
Owner

@Aaron2im commented on GitHub (Jul 24, 2025):

Hi @igwyd ,but it works on 7.x,I just need the service to work to avoid complex nginx proxy,so I choose that , only use the document service.Even I use the command, it show the same error.
command: docker run -i -t -d -p 8001:80 --privileged=true -e JWT_ENABLED=false onlyoffice/documentserver:9.0

<!-- gh-comment-id:3112562906 --> @Aaron2im commented on GitHub (Jul 24, 2025): Hi @igwyd ,but it works on 7.x,I just need the service to work to avoid complex nginx proxy,so I choose that , only use the document service.Even I use the command, it show the same error. `command: docker run -i -t -d -p 8001:80 --privileged=true -e JWT_ENABLED=false onlyoffice/documentserver:9.0`
Author
Owner

@igwyd commented on GitHub (Jul 24, 2025):

I'm talking about the internal proxy in the container, previously it was possible to connect directly to docservice, but starting with version 8.2 this is no longer possible, you need to use port 80. Does the built-in test example work for you http://your-local-IP:8001/ section Testing before integration?

<!-- gh-comment-id:3112810689 --> @igwyd commented on GitHub (Jul 24, 2025): I'm talking about the internal proxy in the container, previously it was possible to connect directly to docservice, but starting with version 8.2 this is no longer possible, you need to use port 80. Does the built-in test example work for you http://your-local-IP:8001/ section **Testing before integration**?
Author
Owner

@Aaron2im commented on GitHub (Jul 25, 2025):

@igwyd My bad,I change to mapping 80 and it works right. I am used to set nginx proxy_cache that the js file didn't update to the new version.

<!-- gh-comment-id:3116053853 --> @Aaron2im commented on GitHub (Jul 25, 2025): @igwyd My bad,I change to mapping 80 and it works right. I am used to set nginx proxy_cache that the js file didn't update to the new version.
Author
Owner

@igwyd commented on GitHub (Jul 28, 2025):

Great, can we close the issue?

<!-- gh-comment-id:3127005554 --> @igwyd commented on GitHub (Jul 28, 2025): Great, can we close the issue?
Author
Owner

@Aaron2im commented on GitHub (Jul 29, 2025):

Yes,just do it.

<!-- gh-comment-id:3130288752 --> @Aaron2im commented on GitHub (Jul 29, 2025): Yes,just do it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Docker-DocumentServer-ONLYOFFICE#391
No description provided.