Ok, I suggest two thing:I'll help you to elaborate a Dockerfile that works fine and stable, also in swarm environments (next step will be OpenShift and upgrades). It would be helpful to add logging information when socket.io rejects a connection, i.e. log the detected vs the configured origin.
your connection to NodeBB was lost
So every now and then as I go to a page can any of you know what I did wrong?
:/opt/nodebb# ./nodebb log Hit Ctrl-C to exit 16/3 19:29:56  - info: Time: Thu Mar 16 2017 19:29:56 GMT+0100 (CET) 16/3 19:29:56  - info: Initializing NodeBB v1.4.4 16/3 19:29:58  - info: [socket.io] Restricting access to origin: http://localhost:* 16/3 19:29:58  - info: initializing NodeBB ... 16/3 19:29:58  - info: [plugins/emoji-one] Initial startup detected. Downloading emojione assets... 16/3 19:29:58  - info: Routes added 16/3 19:29:58  - info: NodeBB Ready 16/3 19:29:58  - info: Enabling 'trust proxy' 16/3 19:29:58  - info: NodeBB is now listening on: 0.0.0.0:4567 16/3 19:30:01  - info: [plugins/emoji-one] Emoji are ready.
Change url to http://your_ip or try http://localhost
"port": "4567", or other port.
You need also have unblocked/unlocked that port.
//Sory for my bad english
Thanks it works
@Konrad-Leon-Lendzion This solution does work!!
this is my config.json:
the log file bellow:
nginx settings bellow:
all above is ok,but the socket.io prompts always:
@caiya what is wrong,who can help me?ths!
Your url value in config.json has to be the url at which you access your forum