@pitaj it is not just me, beeing happy !!! my whole community loves it. Thanks to you .. which made me reading all the docs again and found this miss configuration
Joker 0
Posts
-
nginx + cloudlflare = socket.io 502 errors?! -
nginx + cloudlflare = socket.io 502 errors?!@pitaj yes i have read this...
i finally resolved this issue..
it was the way nodebb got started in my initd script
the PIDFile was responsible for this bug
after correcting the path from
/var/run/nodebb.pid
to
/var/www/nodebb/pidfile
it works like a charm.. strange isn't it? but i am happy to finally got this resolved
thanks
-
nginx + cloudlflare = socket.io 502 errors?!@pitaj maybe in your archive.. i am not sure.. meanwhile i found the correct page.. but i am still not able to fix this problem
XHR polling is not working and WSS also not
-
nginx + cloudlflare = socket.io 502 errors?!Im running NodeBB 1.17.1 and nginx/1.19.6 on the same machine as proxy. The whole machine is behind cloudflare.
everything works beside a little problem with the socket.io
https://url.mydomain/socket.io/?EIO=4&transport=polling&t=NnHgkjh
gives very often 502 errors. Whatever i set in my nginx conf does not seem to help.
People loosing the connection for some seconds before they can continue.
is this a common problem or does it have something todo with cloudflare?
btw the page https://docs.nodebb.org/installing/os/configuring/nginx rerturn error 404 and is referenced in the documentation
-
FieldPath cannot be constructed with empty string@dunlix said in FieldPath cannot be constructed with empty string:
@joker-0 The latest version is 1.17.1. not 1.17.0
which fixed that issue.. thanks
-
FieldPath cannot be constructed with empty string@baris said in FieldPath cannot be constructed with empty string:
I think this was fixed in https://github.com/NodeBB/NodeBB/commit/2c22b06feb48b86debd40af9c2ec72d67f2c8076#diff-2504a1fd59af8770734731abd1ad7fc35e0e899eb9ac14a9898256ad8dfff172.
Which version of NodeBB are you using?
Version 1.17.0
it happen all over sudden after weeks of working. I did not change anything
-
FieldPath cannot be constructed with empty stringAll over sudden, nodebb is not working fully anymore. i got this in my page:
Internal Error. Oops! Looks like something went wrong! /categories FieldPath cannot be constructed with empty string
and in my syslogs:
Jun 9 12:41:32 community nodebb[1899]: 2021-06-09T10:41:32.119Z [4567/1910] - #033[31merror#033[39m: /categories Jun 9 12:41:32 community nodebb[1899]: MongoError: FieldPath cannot be constructed with empty string Jun 9 12:41:32 community nodebb[1899]: at MessageStream.messageHandler (/var/www/nodebb/NodeBB/node_modules/mongodb/lib/cmap/connection.js:268:20) Jun 9 12:41:32 community nodebb[1899]: at MessageStream.emit (events.js:376:20) Jun 9 12:41:32 community nodebb[1899]: at processIncomingData (/var/www/nodebb/NodeBB/node_modules/mongodb/lib/cmap/message_stream.js:144:12) Jun 9 12:41:32 community nodebb[1899]: at MessageStream._write (/var/www/nodebb/NodeBB/node_modules/mongodb/lib/cmap/message_stream.js:42:5) Jun 9 12:41:32 community nodebb[1899]: at writeOrBuffer (internal/streams/writable.js:358:12) Jun 9 12:41:32 community nodebb[1899]: at MessageStream.Writable.write (internal/streams/writable.js:303:10) Jun 9 12:41:32 community nodebb[1899]: at Socket.ondata (internal/streams/readable.js:745:22) Jun 9 12:41:32 community nodebb[1899]: at Socket.emit (events.js:376:20) Jun 9 12:41:32 community nodebb[1899]: at addChunk (internal/streams/readable.js:309:12) Jun 9 12:41:32 community nodebb[1899]: at readableAddChunk (internal/streams/readable.js:284:9)
i really need help to fix this because im lost and don't know what todo here