[Solved] New nodebb install running very slow
-
Actually playing around with it a bit more the slowdown is ONLY occuring when I go back to the main landing page of the forum, it loads in the nav bar then you are sat there waiting for a few seconds before it pops the rest in, also the nav bar doesn't show you as logged in until the delay is over.
Everything else is lightning fast as always.
-
About active users that title is misleading. That section shows active sockets in rooms. You probably have 4 sockets active in those rooms. Can you check your network tab and see if the slowdown is caused by an xhr call on the homepage? Are sockets working as they should instead of falling back to xhr?
-
@baris said:
Can you check your network tab and see if the slowdown is caused by an xhr call on the homepage? Are sockets working as they should instead of falling back to xhr?
Sorry but where is this network tab?
@julian said:
Yeah, a @baris mentioned, it sounds like websockets isn't working properly. Are you perchance using CloudFlare as well?
No just a digital ocean droplet, nothing special at all. Is there any special setup I need to do to my nginx settings to enable websockets?
-
-
@Watchopolis Hm, I'm getting a websocket error. Did you follow this guide to set up the proxy for Apache?
-
@julian yes i followed everything step by step,
look here on the sidebar stats, the numbers are loading after 6 seconds when the page fully loads
btw i dont have proxy_wstunnel installed because i am using vestacp
if i follow this guide will it break my vestacp ?