Issues with second instance of nodebb - unable to create posts



  • I've installed a second instance of NodeBB on a server (never done this before) and although I can see both sites, on the second instance, I cant create new posts or reply to existing ones. I'm seeing this in the firefox console which may be relevant?

    'Firefox can't establish a connection to the server at ws://kommunity.mydomain.com/socket.io/?EIO=3&transport=websocket&sid=6RdV8TM7H1NGMSb5AAAU.

    I did change the nodeBB socket in config.json. Is there something else I need to change? This particular server is Ubuntu and I'm using apache as a proxy

    apache conf:
    
    RewriteEngine On
    
    RewriteCond %{REQUEST_URI}  ^/socket.io            [NC]
    RewriteCond %{QUERY_STRING} transport=websocket    [NC]
    RewriteRule /(.*)           ws://127.0.0.1:4566/$1 [P,L]
    
    ProxyPass / http://127.0.0.1:4566/
    ProxyPassReverse / http://127.0.0.1:4566/
    
    </VirtualHost>
    



  • Admin

    Do the two forums on the same server have different domain names?



  • @julian yes.


  • Admin

    That is quite bizarre :frowning:

    Unfortunately I do not have experience with Apache, so unless you want to try nginx (which I think is kind of overkill of a solution), you'll have to see if anyone else can help...


Log in to reply
 

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