WebSocket 403 Errors



  • Hi,

    I have set-up my NodeBB following all the instructions in the documentation. However, when I try to access my NodeBB, there is an error message stating:

    Looks like your connection to NodeBB was lost, please wait while we try to reconnect.

    This occurs when accessing via Apache proxy as well as accessing the NodeBB directly via IP. In the console, there are 403 errors related to socket.io:

    socket.io.js:2 GET http://my.ip.address:4567/socket.io/?EIO=3&transport=polling&t=LpSDP4l 403 (Forbidden)
    

    Why is this happening, and how can I correct it?

    Thanks.


  • Global Moderator

    You must set the url value in config.json to the URL at which you access your site.



  • This post is deleted!

Log in to reply
 


Star

Looks like your connection to NodeBB was lost, please wait while we try to reconnect.