Looks like your connection to NodeBB was lost



  • Looks like your connection to NodeBB was lost, please wait while we try to reconnect.
    If you go to the control panel and change the settings, they are not remembered after you press the button with the floppy disk. In the browser console with a period of 1 second, the message socket.io.js appears: 2 GET http://88.215.238.215/socket.io/?EIO=3&transport=polling&t=M6anMWL 403 (Forbidden)
    How to fix it?


  • Global Moderator

    Is this a new issue? It looks like your socket.io setup is incorrect. Is the url value in config.json set to the url at which you access the site? What is your nginx config?



  • @pitaj

    It surprises me that
    a lot of people ask this question and no one explains the meaning
    this error. Why you can not contact technical support
    and find out why they are flashing this message? Why it is impossible to make the displayed error messages more informative?
    I got this message out and what do I do?
    What was the point of showing it?
    I entered only such lines in the file
    /etc/nginx/nginx.conf

    location / {
    proxy_pass http://127.0.0.1:4567;
    proxy_http_version 1.1;
    proxy_set_header X-Real-IP $ remote_addr;
    proxy_set_header Host $ host;
    proxy_set_header Upgrade $ http_upgrade;
    proxy_set_header Connection 'upgrade';
    proxy_cache_bypass $ http_upgrade;
    }


  • Global Moderator

    @rahmon Are you using the instructions in the docs? It has examples for Nginx. You don't have enough of the necessary Nginx directives. https://docs.nodebb.org/configuring/proxies/nginx/

    It surprises me that a lot of people ask this question and no one explains the meaning this error.

    This error occurs when something on your server is misconfigured, resulting in WebSockets not working correctly.

    Why you can not contact technical support and find out why they are flashing this message? Why it is impossible to make the displayed error messages more informative?

    If you are using the NodeBB Official Hosting service, you should always contact support@nodebb.org.

    Otherwise, I am technical support. For free. You're welcome. This error is emitted by the WebSocket library NodeBB uses. The error could be caused by a myriad of reasons, there's no single reason that this error can show up.

    Now, please answer my other question. Is the url value in config.json set to the url at which you access the site? Usually this issue is due to that being misconfigured.



  • @pitaj

    At me now all earned.
    I did not understand what happened.
    My config.json line
    "url": "http: // http://88.215.238.215:4567"


  • Global Moderator

    @rahmon is the repeated http in the actual file or is that a copy-paste error? It should only be one.

    When you go to access your site, do you enter http://88.215.238.215:4567 in your browser? If not, you should use whatever URL you actually access your site at in that field instead.

    For instance, we have https://community.nodebb.org in our "url" field in config.json.


 

| |