MongoDB 4.2.7, nodejs 14.6.0, latest master from nodebb repo.
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
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
@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
it works like a charm.. strange isn't it? but i am happy to finally got this resolved