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



  • Hi, I am using NodeBB v1.5.x (installed it by using git clone -b v1.5.x https://github.com/NodeBB/NodeBB.git $HOME/nodebb).
    My git hash is: 541b048
    Database: MongoDb v3.4.4

    I followed this installing guide: https://nodebb.readthedocs.io/en/latest/installing/os/ubuntu.html

    The installation seems to be fine for me, but I cannot create Threads and so on..
    I always get the notification:
    Looks like your connection to NodeBB was lost, please wait while we try to reconnect.
    The failing request is:

    https://mydomain-blabla.com/socket.io/?EIO=3&transport=polling&t=LnB7HOV   (400 Bad Request)
    

    What could that be ? Faux-pas in configuration?

    I tried the following for config.json:

    {
        "url": "https://blabla-blabla.com",
        "secret": "a16778d7-cb95-4b85-954d-487b8b5c3737",
        "database": "mongo",
        "mongo": {
            "host": "127.0.0.1",
            "port": "27017",
            "username": "",
            "password": "",
            "database": "nodebb"
        }
    }
    

    As well I tried:

    "url": "https://blabla-blabla.com:PORT",
    

    and I tried:

    "url": "https://localhost:PORT",
    
    "url": "localhost:PORT",
    

    But it always shows the above described error.



  • @Verso Apache or nginx? can you post your proxy configuration?



  • @evoixmr Sorry. I am using Apache 2.4.18 on Ubuntu.
    My file /etc/apache2/sites-available/000-default.conf has this content:
    alt text

    And my custom.conf:
    alt text



  • @Verso try this on you your /etc/apache2/sites-available/000-default.conf

    <VirtualHost *:80>
    ServerName blabla-blabla com
    ServerAdmin bla@gmail com
    ProxyRequests off

    <Proxy *>
    Order deny,allow
    Allow from all
    </Proxy>

      ProxyPass /socket.io/1/websocket ws://127.0.0.1:4567/socket.io/1/websocket
      ProxyPassReverse /socket.io/1/websocket ws://127.0.0.1:4567/socket.io/1/websocket
    
      ProxyPass /socket.io/ http://127.0.0.1:4567/socket.io/
      ProxyPassReverse /socket.io/ http://127.0.0.1:4567/socket.io/
    
      ProxyPass / http://127.0.0.1:4567/
      ProxyPassReverse / http://127.0.0.1:4567/
    

    </VirtualHost>



  • @Verso said in Looks like your connection to NodeBB was lost, please wait while we try to reconnect.:
    Try this on your config.json

    {
    "url": "https://blabla-blabla.com",
    "port": "4567",
    "use_port": false,
    "secret": "a16778d7-cb95-4b85-954d-487b8b5c3737",
    "database": "mongo",
    "mongo": {
    "host": "127.0.0.1",
    "port": "27017",
    "username": "",
    "password": "",
    "database": "nodebb"
    },
    "bcrypt_rounds": 12,
    "upload_path": "/public/uploads",
    "relative_path": ""
    }



  • Thank you, that helped fixing the polling problem! I would like to recommend this as well:

    The part with the CUSTOM.conf was necessary for me as well..



  • Oh damn, yesterday I haven't had time to check the login. I cannot login with any user. @evoixmr your solution fixed the problem with polling, but caused that I cannot log in.

    That seems to be the wrong solution 😞



  • @Verso Your using virtualhost, try removing you custom.conf or comment them out.

    #RequestHeader set X-Forwarded-Proto "http"

    #RewriteEngine On

    #RewriteCond %{REQUEST_URI} ^/socket.io [NC]
    #RewriteCond %{QUERY_STRING} transport=websocket [NC]
    #RewriteRule /(.*) ws://127.0.0.1:4567/$1 [P,L]



  • Same problem here.

    Updated from 1.4.3 to 1.5.1 and all users complaining they can't post and get the error.

    can somebody please help me step by step?

    I use MongoDB I don;t know which information is needed but please ask so I can give all information you need to help me.



  • @MJ If I run ./nodebb dev i get this

    root@KEEN:~/nodebb# ./nodebb dev
    
    NodeBB v1.5.1 Copyright (C) 2013-2014 NodeBB Inc.
    This program comes with ABSOLUTELY NO WARRANTY.
    This is free software, and you are welcome to redistribute it under certain conditions.
    For the full license, please visit: http://www.gnu.org/copyleft/gpl.html
    
    Clustering enabled: Spinning up 1 process(es).
    
    30/5 18:00:09 [2871] - verbose: * using configuration stored in: /root/nodebb/config.json
    30/5 18:00:09 [2871] - info: Initializing NodeBB v1.5.1
    30/5 18:00:09 [2871] - verbose: * using mongo store at 127.0.0.1:27017
    30/5 18:00:09 [2871] - verbose: * using themes stored in: /root/nodebb/node_modules
    30/5 18:00:09 [2871] - warn: You have no mongo username/password setup!
    30/5 18:00:10 [2871] - verbose: [minifier] utilizing a maximum of 0 additional threads
    [deprecated] `String.prototype.rtrim` is deprecated as of NodeBB v1.5; use `utils.rtrim` instead.
    30/5 18:00:10 [2871] - verbose: Checking dependencies for outdated modules
    30/5 18:00:11 [2871] - verbose: [notifications.init] Registering jobs.
    30/5 18:00:11 [2871] - verbose: [user/jobs] (Re-)starting user jobs...
    30/5 18:00:11 [2871] - verbose: [user/jobs] Starting job (digest.daily)
    30/5 18:00:11 [2871] - verbose: [user/jobs] Starting job (digest.weekly)
    30/5 18:00:11 [2871] - verbose: [user/jobs] Starting job (digest.monthly)
    30/5 18:00:11 [2871] - verbose: [user/jobs] Starting job (reset.clean)
    30/5 18:00:11 [2871] - verbose: [user/jobs] 4 jobs started
    30/5 18:00:11 [2871] - info: [themes] Using theme nodebb-theme-persona
    30/5 18:00:11 [2871] - verbose: [plugins] Initializing plugins system
    30/5 18:00:11 [2871] - verbose: [plugins] Loaded plugin: nodebb-theme-persona
    30/5 18:00:11 [2871] - verbose: [plugins] Loaded plugin: nodebb-plugin-ns-points
    30/5 18:00:11 [2871] - verbose: [plugins] Loaded plugin: nodebb-plugin-dbsearch
    30/5 18:00:11 [2871] - verbose: [plugins] Loaded plugin: nodebb-plugin-google-analytics
    30/5 18:00:11 [2871] - verbose: [plugins] Loaded plugin: nodebb-plugin-google-search
    30/5 18:00:11 [2871] - verbose: [plugins] Loaded plugin: nodebb-plugin-gravatar
    30/5 18:00:11 [2871] - verbose: [plugins] Loaded plugin: nodebb-plugin-imgbed
    30/5 18:00:11 [2871] - verbose: [plugins] Loaded plugin: nodebb-plugin-imgur
    30/5 18:00:12 [2871] - verbose: [plugins] Loaded plugin: nodebb-plugin-markdown
    30/5 18:00:12 [2871] - verbose: [plugins] Loaded plugin: nodebb-plugin-mentions
    30/5 18:00:12 [2871] - verbose: [plugins] Found 3 sound file(s) for plugin nodebb-plugin-soundpack-default
    30/5 18:00:12 [2871] - verbose: [plugins] Loaded plugin: nodebb-plugin-soundpack-default
    30/5 18:00:12 [2871] - verbose: [plugins] Loaded plugin: nodebb-widget-essentials
    30/5 18:00:12 [2871] - verbose: [plugins] Loaded plugin: nodebb-rewards-essentials
    30/5 18:00:12 [2871] - verbose: [plugins] Loaded plugin: nodebb-plugin-dailymotion
    30/5 18:00:12 [2871] - verbose: [plugins] Loaded plugin: nodebb-plugin-composer-default
    30/5 18:00:12 [2871] - verbose: [plugins] Loaded plugin: nodebb-plugin-custom-pages
    30/5 18:00:12 [2871] - verbose: [plugins] Loaded plugin: nodebb-plugin-ns-spoiler
    30/5 18:00:12 [2871] - verbose: [plugins] Loaded plugin: nodebb-plugin-embed-combo
    30/5 18:00:12 [2871] - verbose: [plugins] Loaded plugin: nodebb-plugin-audiostream
    30/5 18:00:12 [2871] - verbose: [plugins] Loaded plugin: nodebb-plugin-ns-embed
    30/5 18:00:12 [2871] - verbose: [plugins] Loaded plugin: nodebb-plugin-youtube-embed
    30/5 18:00:12 [2871] - verbose: [plugins] Loaded plugin: nodebb-plugin-embed-videos
    30/5 18:00:12 [2871] - verbose: [plugins] Loaded plugin: nodebb-widget-ns-stats
    30/5 18:00:12 [2871] - verbose: [plugins] Loaded plugin: nodebb-plugin-autolock
    30/5 18:00:12 [2871] - verbose: [plugins] Loaded plugin: nodebb-plugin-pushbullet
    30/5 18:00:12 [2871] - verbose: [plugins] Loaded plugin: nodebb-plugin-leaderboard
    30/5 18:00:12 [2871] - verbose: [plugins] Loaded plugin: nodebb-plugin-cash
    30/5 18:00:12 [2871] - verbose: [plugins] Loaded plugin: nodebb-plugin-dwnvtr
    30/5 18:00:12 [2871] - verbose: [plugins] Loaded plugin: nodebb-plugin-shortcuts
    
    30/5 18:00:12 [2871] - warn: [plugins/load] The following plugins may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing. In the event of an unresponsive NodeBB caused by this plugin, run `./nodebb reset -p PLUGINNAME` to disable it.
      * nodebb-plugin-dailymotion
      * nodebb-plugin-audiostream
      * nodebb-plugin-embed-videos
      * nodebb-plugin-autolock
      * nodebb-plugin-cash
    
    30/5 18:00:12 [2871] - info: [plugins] Plugins OK
    info: Imgbed: user defined extensions is jpg,jpeg,gif,gifv,png,svg
    info: Imgbed: parse mode is markdown
    info: Imgbed: regex recompiled: (?<url>https?:\/\/[^\s]+\/(?<filename>[\w_0-9\-\.]+\.(jpg|jpeg|gif|gifv|png|svg))([^\s]*)?)
    info: Imgbed: cache initialized to size 3
    30/5 18:00 [2871] - verbose: [widgets/stats] Widget Template "settings" is loaded
    30/5 18:00 [2871] - verbose: [widgets/stats] Widget Template "view" is loaded
    30/5 18:00 [2871] - verbose: [plugins/embed] Updating rules...
    Rule is skipped [SyntaxError: Invalid regular expression: /(?:<a.*?)?(?:https?:\/\/)?(?:www\.)?dailymotion\.com\/video\/(.+)">.+<\/a>)?/: Unmatched ')']
    30/5 18:00 [2871] - verbose: [plugins/embed] Updating rule list, total rules: 7
    30/5 18:00 [2871] - verbose: [widgets/stats] Widget is initiated successfully
    30/5 18:00:12 [2871] - verbose: [hotswap] Router with id `custom-pages` replaced successfully
    30/5 18:00:12 [2871] - verbose: [hotswap] Router with id `plugins` replaced successfully
    30/5 18:00:12 [2871] - verbose: [plugins] All plugins reloaded and rerouted
    30/5 18:00:12 [2871] - verbose: [hotswap] Router with id `auth` replaced successfully
    30/5 18:00:12 [2871] - info: Routes added
    30/5 18:00:12 [2871] - verbose: [meta/blacklist] Loading 1 blacklist rules
    30/5 18:00:12 [2871] - info: NodeBB Ready
    30/5 18:00:12 [2871] - error:  Error: listen EADDRINUSE 0.0.0.0:80
        at Object.exports._errnoException (util.js:873:11)
        at exports._exceptionWithHostPort (util.js:896:20)
        at Server._listen2 (net.js:1250:14)
        at listen (net.js:1286:10)
        at net.js:1395:9
        at nextTickCallbackWith3Args (node.js:453:9)
        at process._tickCallback (node.js:359:17)
    30/5 18:00:12 [2871] - error: NodeBB address in use, exiting...
    [cluster] Child Process (2871) has exited (code: 1, signal: null)
    [cluster] Spinning up another process...
    30/5 18:00:13 [2885] - verbose: * using configuration stored in: /root/nodebb/config.json
    30/5 18:00:13 [2885] - info: Initializing NodeBB v1.5.1
    30/5 18:00:13 [2885] - verbose: * using mongo store at 127.0.0.1:27017
    30/5 18:00:13 [2885] - verbose: * using themes stored in: /root/nodebb/node_modules
    30/5 18:00:13 [2885] - warn: You have no mongo username/password setup!
    30/5 18:00:14 [2885] - verbose: [minifier] utilizing a maximum of 0 additional threads
    [deprecated] `String.prototype.rtrim` is deprecated as of NodeBB v1.5; use `utils.rtrim` instead.
    30/5 18:00:14 [2885] - verbose: Checking dependencies for outdated modules
    30/5 18:00:15 [2885] - verbose: [notifications.init] Registering jobs.
    30/5 18:00:15 [2885] - verbose: [user/jobs] (Re-)starting user jobs...
    30/5 18:00:15 [2885] - verbose: [user/jobs] Starting job (digest.daily)
    30/5 18:00:15 [2885] - verbose: [user/jobs] Starting job (digest.weekly)
    30/5 18:00:15 [2885] - verbose: [user/jobs] Starting job (digest.monthly)
    30/5 18:00:15 [2885] - verbose: [user/jobs] Starting job (reset.clean)
    30/5 18:00:15 [2885] - verbose: [user/jobs] 4 jobs started
    30/5 18:00:15 [2885] - info: [themes] Using theme nodebb-theme-persona
    30/5 18:00:15 [2885] - verbose: [plugins] Initializing plugins system
    30/5 18:00:15 [2885] - verbose: [plugins] Loaded plugin: nodebb-theme-persona
    30/5 18:00:15 [2885] - verbose: [plugins] Loaded plugin: nodebb-plugin-ns-points
    30/5 18:00:15 [2885] - verbose: [plugins] Loaded plugin: nodebb-plugin-dbsearch
    30/5 18:00:15 [2885] - verbose: [plugins] Loaded plugin: nodebb-plugin-google-analytics
    30/5 18:00:15 [2885] - verbose: [plugins] Loaded plugin: nodebb-plugin-google-search
    30/5 18:00:15 [2885] - verbose: [plugins] Loaded plugin: nodebb-plugin-gravatar
    30/5 18:00:15 [2885] - verbose: [plugins] Loaded plugin: nodebb-plugin-imgbed
    30/5 18:00:15 [2885] - verbose: [plugins] Loaded plugin: nodebb-plugin-imgur
    30/5 18:00:16 [2885] - verbose: [plugins] Loaded plugin: nodebb-plugin-markdown
    30/5 18:00:16 [2885] - verbose: [plugins] Loaded plugin: nodebb-plugin-mentions
    30/5 18:00:16 [2885] - verbose: [plugins] Found 3 sound file(s) for plugin nodebb-plugin-soundpack-default
    30/5 18:00:16 [2885] - verbose: [plugins] Loaded plugin: nodebb-plugin-soundpack-default
    30/5 18:00:16 [2885] - verbose: [plugins] Loaded plugin: nodebb-widget-essentials
    30/5 18:00:16 [2885] - verbose: [plugins] Loaded plugin: nodebb-rewards-essentials
    30/5 18:00:16 [2885] - verbose: [plugins] Loaded plugin: nodebb-plugin-dailymotion
    30/5 18:00:16 [2885] - verbose: [plugins] Loaded plugin: nodebb-plugin-composer-default
    30/5 18:00:16 [2885] - verbose: [plugins] Loaded plugin: nodebb-plugin-custom-pages
    30/5 18:00:16 [2885] - verbose: [plugins] Loaded plugin: nodebb-plugin-ns-spoiler
    30/5 18:00:16 [2885] - verbose: [plugins] Loaded plugin: nodebb-plugin-embed-combo
    30/5 18:00:16 [2885] - verbose: [plugins] Loaded plugin: nodebb-plugin-audiostream
    30/5 18:00:16 [2885] - verbose: [plugins] Loaded plugin: nodebb-plugin-ns-embed
    30/5 18:00:16 [2885] - verbose: [plugins] Loaded plugin: nodebb-plugin-youtube-embed
    30/5 18:00:16 [2885] - verbose: [plugins] Loaded plugin: nodebb-plugin-embed-videos
    30/5 18:00:16 [2885] - verbose: [plugins] Loaded plugin: nodebb-widget-ns-stats
    30/5 18:00:16 [2885] - verbose: [plugins] Loaded plugin: nodebb-plugin-autolock
    30/5 18:00:16 [2885] - verbose: [plugins] Loaded plugin: nodebb-plugin-pushbullet
    30/5 18:00:16 [2885] - verbose: [plugins] Loaded plugin: nodebb-plugin-leaderboard
    30/5 18:00:16 [2885] - verbose: [plugins] Loaded plugin: nodebb-plugin-cash
    30/5 18:00:16 [2885] - verbose: [plugins] Loaded plugin: nodebb-plugin-dwnvtr
    30/5 18:00:16 [2885] - verbose: [plugins] Loaded plugin: nodebb-plugin-shortcuts
    
    30/5 18:00:16 [2885] - warn: [plugins/load] The following plugins may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing. In the event of an unresponsive NodeBB caused by this plugin, run `./nodebb reset -p PLUGINNAME` to disable it.
      * nodebb-plugin-dailymotion
      * nodebb-plugin-audiostream
      * nodebb-plugin-embed-videos
      * nodebb-plugin-autolock
      * nodebb-plugin-cash
    
    30/5 18:00:16 [2885] - info: [plugins] Plugins OK
    info: Imgbed: user defined extensions is jpg,jpeg,gif,gifv,png,svg
    info: Imgbed: parse mode is markdown
    info: Imgbed: regex recompiled: (?<url>https?:\/\/[^\s]+\/(?<filename>[\w_0-9\-\.]+\.(jpg|jpeg|gif|gifv|png|svg))([^\s]*)?)
    info: Imgbed: cache initialized to size 3
    30/5 18:00 [2885] - verbose: [widgets/stats] Widget Template "settings" is loaded
    30/5 18:00 [2885] - verbose: [widgets/stats] Widget Template "view" is loaded
    30/5 18:00 [2885] - verbose: [plugins/embed] Updating rules...
    Rule is skipped [SyntaxError: Invalid regular expression: /(?:<a.*?)?(?:https?:\/\/)?(?:www\.)?dailymotion\.com\/video\/(.+)">.+<\/a>)?/: Unmatched ')']
    30/5 18:00 [2885] - verbose: [plugins/embed] Updating rule list, total rules: 7
    30/5 18:00 [2885] - verbose: [widgets/stats] Widget is initiated successfully
    30/5 18:00:16 [2885] - verbose: [hotswap] Router with id `custom-pages` replaced successfully
    30/5 18:00:16 [2885] - verbose: [hotswap] Router with id `plugins` replaced successfully
    30/5 18:00:16 [2885] - verbose: [plugins] All plugins reloaded and rerouted
    30/5 18:00:16 [2885] - verbose: [hotswap] Router with id `auth` replaced successfully
    30/5 18:00:16 [2885] - info: Routes added
    30/5 18:00:16 [2885] - verbose: [meta/blacklist] Loading 1 blacklist rules
    30/5 18:00:16 [2885] - info: NodeBB Ready
    30/5 18:00:16 [2885] - error:  Error: listen EADDRINUSE 0.0.0.0:80
        at Object.exports._errnoException (util.js:873:11)
        at exports._exceptionWithHostPort (util.js:896:20)
        at Server._listen2 (net.js:1250:14)
        at listen (net.js:1286:10)
        at net.js:1395:9
        at nextTickCallbackWith3Args (node.js:453:9)
        at process._tickCallback (node.js:359:17)
    30/5 18:00:16 [2885] - error: NodeBB address in use, exiting...
    [cluster] Child Process (2885) has exited (code: 1, signal: null)
    [cluster] Spinning up another process...
    30/5 18:00:16 [2899] - verbose: * using configuration stored in: /root/nodebb/config.json
    30/5 18:00:17 [2899] - info: Initializing NodeBB v1.5.1
    30/5 18:00:17 [2899] - verbose: * using mongo store at 127.0.0.1:27017
    30/5 18:00:17 [2899] - verbose: * using themes stored in: /root/nodebb/node_modules
    30/5 18:00:17 [2899] - warn: You have no mongo username/password setup!
    30/5 18:00:18 [2899] - verbose: [minifier] utilizing a maximum of 0 additional threads
    [deprecated] `String.prototype.rtrim` is deprecated as of NodeBB v1.5; use `utils.rtrim` instead.
    30/5 18:00:18 [2899] - verbose: Checking dependencies for outdated modules
    30/5 18:00:19 [2899] - verbose: [notifications.init] Registering jobs.
    30/5 18:00:19 [2899] - verbose: [user/jobs] (Re-)starting user jobs...
    30/5 18:00:19 [2899] - verbose: [user/jobs] Starting job (digest.daily)
    30/5 18:00:19 [2899] - verbose: [user/jobs] Starting job (digest.weekly)
    30/5 18:00:19 [2899] - verbose: [user/jobs] Starting job (digest.monthly)
    30/5 18:00:19 [2899] - verbose: [user/jobs] Starting job (reset.clean)
    30/5 18:00:19 [2899] - verbose: [user/jobs] 4 jobs started
    30/5 18:00:19 [2899] - info: [themes] Using theme nodebb-theme-persona
    30/5 18:00:19 [2899] - verbose: [plugins] Initializing plugins system
    30/5 18:00:19 [2899] - verbose: [plugins] Loaded plugin: nodebb-theme-persona
    30/5 18:00:19 [2899] - verbose: [plugins] Loaded plugin: nodebb-plugin-ns-points
    30/5 18:00:19 [2899] - verbose: [plugins] Loaded plugin: nodebb-plugin-dbsearch
    30/5 18:00:19 [2899] - verbose: [plugins] Loaded plugin: nodebb-plugin-google-analytics
    30/5 18:00:19 [2899] - verbose: [plugins] Loaded plugin: nodebb-plugin-google-search
    30/5 18:00:19 [2899] - verbose: [plugins] Loaded plugin: nodebb-plugin-gravatar
    30/5 18:00:20 [2899] - verbose: [plugins] Loaded plugin: nodebb-plugin-imgbed
    30/5 18:00:20 [2899] - verbose: [plugins] Loaded plugin: nodebb-plugin-imgur
    30/5 18:00:20 [2899] - verbose: [plugins] Loaded plugin: nodebb-plugin-markdown
    30/5 18:00:20 [2899] - verbose: [plugins] Loaded plugin: nodebb-plugin-mentions
    30/5 18:00:20 [2899] - verbose: [plugins] Found 3 sound file(s) for plugin nodebb-plugin-soundpack-default
    30/5 18:00:20 [2899] - verbose: [plugins] Loaded plugin: nodebb-plugin-soundpack-default
    30/5 18:00:20 [2899] - verbose: [plugins] Loaded plugin: nodebb-widget-essentials
    30/5 18:00:20 [2899] - verbose: [plugins] Loaded plugin: nodebb-rewards-essentials
    30/5 18:00:20 [2899] - verbose: [plugins] Loaded plugin: nodebb-plugin-dailymotion
    30/5 18:00:20 [2899] - verbose: [plugins] Loaded plugin: nodebb-plugin-composer-default
    30/5 18:00:20 [2899] - verbose: [plugins] Loaded plugin: nodebb-plugin-custom-pages
    30/5 18:00:20 [2899] - verbose: [plugins] Loaded plugin: nodebb-plugin-ns-spoiler
    30/5 18:00:20 [2899] - verbose: [plugins] Loaded plugin: nodebb-plugin-embed-combo
    30/5 18:00:20 [2899] - verbose: [plugins] Loaded plugin: nodebb-plugin-audiostream
    30/5 18:00:20 [2899] - verbose: [plugins] Loaded plugin: nodebb-plugin-ns-embed
    30/5 18:00:20 [2899] - verbose: [plugins] Loaded plugin: nodebb-plugin-youtube-embed
    30/5 18:00:20 [2899] - verbose: [plugins] Loaded plugin: nodebb-plugin-embed-videos
    30/5 18:00:20 [2899] - verbose: [plugins] Loaded plugin: nodebb-widget-ns-stats
    30/5 18:00:20 [2899] - verbose: [plugins] Loaded plugin: nodebb-plugin-autolock
    30/5 18:00:20 [2899] - verbose: [plugins] Loaded plugin: nodebb-plugin-pushbullet
    30/5 18:00:20 [2899] - verbose: [plugins] Loaded plugin: nodebb-plugin-leaderboard
    30/5 18:00:20 [2899] - verbose: [plugins] Loaded plugin: nodebb-plugin-cash
    30/5 18:00:20 [2899] - verbose: [plugins] Loaded plugin: nodebb-plugin-dwnvtr
    30/5 18:00:20 [2899] - verbose: [plugins] Loaded plugin: nodebb-plugin-shortcuts
    
    30/5 18:00:20 [2899] - warn: [plugins/load] The following plugins may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing. In the event of an unresponsive NodeBB caused by this plugin, run `./nodebb reset -p PLUGINNAME` to disable it.
      * nodebb-plugin-dailymotion
      * nodebb-plugin-audiostream
      * nodebb-plugin-embed-videos
      * nodebb-plugin-autolock
      * nodebb-plugin-cash
    
    30/5 18:00:20 [2899] - info: [plugins] Plugins OK
    info: Imgbed: user defined extensions is jpg,jpeg,gif,gifv,png,svg
    info: Imgbed: parse mode is markdown
    info: Imgbed: regex recompiled: (?<url>https?:\/\/[^\s]+\/(?<filename>[\w_0-9\-\.]+\.(jpg|jpeg|gif|gifv|png|svg))([^\s]*)?)
    info: Imgbed: cache initialized to size 3
    30/5 18:00 [2899] - verbose: [widgets/stats] Widget Template "settings" is loaded
    30/5 18:00 [2899] - verbose: [widgets/stats] Widget Template "view" is loaded
    30/5 18:00 [2899] - verbose: [plugins/embed] Updating rules...
    Rule is skipped [SyntaxError: Invalid regular expression: /(?:<a.*?)?(?:https?:\/\/)?(?:www\.)?dailymotion\.com\/video\/(.+)">.+<\/a>)?/: Unmatched ')']
    30/5 18:00 [2899] - verbose: [plugins/embed] Updating rule list, total rules: 7
    30/5 18:00 [2899] - verbose: [widgets/stats] Widget is initiated successfully
    30/5 18:00:20 [2899] - verbose: [hotswap] Router with id `custom-pages` replaced successfully
    30/5 18:00:20 [2899] - verbose: [hotswap] Router with id `plugins` replaced successfully
    30/5 18:00:20 [2899] - verbose: [plugins] All plugins reloaded and rerouted
    30/5 18:00:20 [2899] - verbose: [hotswap] Router with id `auth` replaced successfully
    30/5 18:00:20 [2899] - info: Routes added
    30/5 18:00:20 [2899] - verbose: [meta/blacklist] Loading 1 blacklist rules
    30/5 18:00:20 [2899] - info: NodeBB Ready
    30/5 18:00:20 [2899] - error:  Error: listen EADDRINUSE 0.0.0.0:80
        at Object.exports._errnoException (util.js:873:11)
        at exports._exceptionWithHostPort (util.js:896:20)
        at Server._listen2 (net.js:1250:14)
        at listen (net.js:1286:10)
        at net.js:1395:9
        at nextTickCallbackWith3Args (node.js:453:9)
        at process._tickCallback (node.js:359:17)
    30/5 18:00:20 [2899] - error: NodeBB address in use, exiting...
    [cluster] Child Process (2899) has exited (code: 1, signal: null)
    [cluster] Spinning up another process...
    30/5 18:00:21 [2913] - verbose: * using configuration stored in: /root/nodebb/config.json
    30/5 18:00:21 [2913] - info: Initializing NodeBB v1.5.1
    30/5 18:00:21 [2913] - verbose: * using mongo store at 127.0.0.1:27017
    30/5 18:00:21 [2913] - verbose: * using themes stored in: /root/nodebb/node_modules
    30/5 18:00:21 [2913] - warn: You have no mongo username/password setup!
    30/5 18:00:22 [2913] - verbose: [minifier] utilizing a maximum of 0 additional threads
    [deprecated] `String.prototype.rtrim` is deprecated as of NodeBB v1.5; use `utils.rtrim` instead.
    30/5 18:00:22 [2913] - verbose: Checking dependencies for outdated modules
    30/5 18:00:23 [2913] - verbose: [notifications.init] Registering jobs.
    30/5 18:00:23 [2913] - verbose: [user/jobs] (Re-)starting user jobs...
    30/5 18:00:23 [2913] - verbose: [user/jobs] Starting job (digest.daily)
    30/5 18:00:23 [2913] - verbose: [user/jobs] Starting job (digest.weekly)
    30/5 18:00:23 [2913] - verbose: [user/jobs] Starting job (digest.monthly)
    30/5 18:00:23 [2913] - verbose: [user/jobs] Starting job (reset.clean)
    30/5 18:00:23 [2913] - verbose: [user/jobs] 4 jobs started
    30/5 18:00:23 [2913] - info: [themes] Using theme nodebb-theme-persona
    30/5 18:00:23 [2913] - verbose: [plugins] Initializing plugins system
    30/5 18:00:23 [2913] - verbose: [plugins] Loaded plugin: nodebb-theme-persona
    30/5 18:00:23 [2913] - verbose: [plugins] Loaded plugin: nodebb-plugin-ns-points
    30/5 18:00:23 [2913] - verbose: [plugins] Loaded plugin: nodebb-plugin-dbsearch
    30/5 18:00:23 [2913] - verbose: [plugins] Loaded plugin: nodebb-plugin-google-analytics
    30/5 18:00:23 [2913] - verbose: [plugins] Loaded plugin: nodebb-plugin-google-search
    30/5 18:00:23 [2913] - verbose: [plugins] Loaded plugin: nodebb-plugin-gravatar
    30/5 18:00:23 [2913] - verbose: [plugins] Loaded plugin: nodebb-plugin-imgbed
    30/5 18:00:23 [2913] - verbose: [plugins] Loaded plugin: nodebb-plugin-imgur
    30/5 18:00:23 [2913] - verbose: [plugins] Loaded plugin: nodebb-plugin-markdown
    30/5 18:00:23 [2913] - verbose: [plugins] Loaded plugin: nodebb-plugin-mentions
    30/5 18:00:23 [2913] - verbose: [plugins] Found 3 sound file(s) for plugin nodebb-plugin-soundpack-default
    30/5 18:00:23 [2913] - verbose: [plugins] Loaded plugin: nodebb-plugin-soundpack-default
    30/5 18:00:23 [2913] - verbose: [plugins] Loaded plugin: nodebb-widget-essentials
    30/5 18:00:23 [2913] - verbose: [plugins] Loaded plugin: nodebb-rewards-essentials
    30/5 18:00:23 [2913] - verbose: [plugins] Loaded plugin: nodebb-plugin-dailymotion
    30/5 18:00:23 [2913] - verbose: [plugins] Loaded plugin: nodebb-plugin-composer-default
    30/5 18:00:23 [2913] - verbose: [plugins] Loaded plugin: nodebb-plugin-custom-pages
    30/5 18:00:24 [2913] - verbose: [plugins] Loaded plugin: nodebb-plugin-ns-spoiler
    30/5 18:00:24 [2913] - verbose: [plugins] Loaded plugin: nodebb-plugin-embed-combo
    30/5 18:00:24 [2913] - verbose: [plugins] Loaded plugin: nodebb-plugin-audiostream
    30/5 18:00:24 [2913] - verbose: [plugins] Loaded plugin: nodebb-plugin-ns-embed
    30/5 18:00:24 [2913] - verbose: [plugins] Loaded plugin: nodebb-plugin-youtube-embed
    30/5 18:00:24 [2913] - verbose: [plugins] Loaded plugin: nodebb-plugin-embed-videos
    30/5 18:00:24 [2913] - verbose: [plugins] Loaded plugin: nodebb-widget-ns-stats
    30/5 18:00:24 [2913] - verbose: [plugins] Loaded plugin: nodebb-plugin-autolock
    30/5 18:00:24 [2913] - verbose: [plugins] Loaded plugin: nodebb-plugin-pushbullet
    30/5 18:00:24 [2913] - verbose: [plugins] Loaded plugin: nodebb-plugin-leaderboard
    30/5 18:00:24 [2913] - verbose: [plugins] Loaded plugin: nodebb-plugin-cash
    30/5 18:00:24 [2913] - verbose: [plugins] Loaded plugin: nodebb-plugin-dwnvtr
    30/5 18:00:24 [2913] - verbose: [plugins] Loaded plugin: nodebb-plugin-shortcuts
    
    30/5 18:00:24 [2913] - warn: [plugins/load] The following plugins may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing. In the event of an unresponsive NodeBB caused by this plugin, run `./nodebb reset -p PLUGINNAME` to disable it.
      * nodebb-plugin-dailymotion
      * nodebb-plugin-audiostream
      * nodebb-plugin-embed-videos
      * nodebb-plugin-autolock
      * nodebb-plugin-cash
    
    30/5 18:00:24 [2913] - info: [plugins] Plugins OK
    info: Imgbed: user defined extensions is jpg,jpeg,gif,gifv,png,svg
    info: Imgbed: parse mode is markdown
    info: Imgbed: regex recompiled: (?<url>https?:\/\/[^\s]+\/(?<filename>[\w_0-9\-\.]+\.(jpg|jpeg|gif|gifv|png|svg))([^\s]*)?)
    info: Imgbed: cache initialized to size 3
    30/5 18:00 [2913] - verbose: [widgets/stats] Widget Template "settings" is loaded
    30/5 18:00 [2913] - verbose: [widgets/stats] Widget Template "view" is loaded
    30/5 18:00 [2913] - verbose: [plugins/embed] Updating rules...
    Rule is skipped [SyntaxError: Invalid regular expression: /(?:<a.*?)?(?:https?:\/\/)?(?:www\.)?dailymotion\.com\/video\/(.+)">.+<\/a>)?/: Unmatched ')']
    30/5 18:00 [2913] - verbose: [plugins/embed] Updating rule list, total rules: 7
    30/5 18:00 [2913] - verbose: [widgets/stats] Widget is initiated successfully
    30/5 18:00:24 [2913] - verbose: [hotswap] Router with id `custom-pages` replaced successfully
    30/5 18:00:24 [2913] - verbose: [hotswap] Router with id `plugins` replaced successfully
    30/5 18:00:24 [2913] - verbose: [plugins] All plugins reloaded and rerouted
    30/5 18:00:24 [2913] - verbose: [hotswap] Router with id `auth` replaced successfully
    30/5 18:00:24 [2913] - info: Routes added
    30/5 18:00:24 [2913] - verbose: [meta/blacklist] Loading 1 blacklist rules
    30/5 18:00:24 [2913] - info: NodeBB Ready
    30/5 18:00:24 [2913] - error:  Error: listen EADDRINUSE 0.0.0.0:80
        at Object.exports._errnoException (util.js:873:11)
        at exports._exceptionWithHostPort (util.js:896:20)
        at Server._listen2 (net.js:1250:14)
        at listen (net.js:1286:10)
        at net.js:1395:9
        at nextTickCallbackWith3Args (node.js:453:9)
        at process._tickCallback (node.js:359:17)
    30/5 18:00:24 [2913] - error: NodeBB address in use, exiting...
    3 restarts in 10 seconds, most likely an error on startup. Halting.
    
    


  • Looks like everytime somebody makes a post or opens a topic the error pops up and nodebb lost connection for a few seconds.



  • Problem solved. It was the nodebb-plugin-cash who caused the problem.

    After deleting this plugin my NodeBB worked again 🙂


Log in to reply
 


Star

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