NodeBB 1.10.2 Fresh Install Errors
-
Getting several of these errors on a clean install, also socket.io appears to be failing (maybe totally unrelated.)
Source map error: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data Resource URL: https://site.com/assets/src/client/chats/recent.js?v=qa1m9mg8rig Source Map URL: public/src/client/chats/recent.js.map[Learn More]
First time that I've seen this. Brand new install, behind NGinx. On CentOS 7.
-
Try this:
# Socket.IO Support proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade";
From @JaredBusch's guide.
-
@aaronstuder said in NodeBB 1.10.2 Fresh Install Errors:
Try this:
# Socket.IO Support proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade";
From @JaredBusch's guide.
That's already there. From what I can tell, the Nginx config (which is what you are showing) and the NodeBB config.json are identical to working system.s
-
Sorry, ignore me. I got this figured out. I was being really dumb and had the wrong config.json file open and didn't know what I was looking at. Just ignore. Yes, the socket.io settings were missing, but were on my screen so I was sure that they were there.