I checked out v1.16.2 of the forum and was running node version 15.12 when I encountered the same error.
I downgraded to node version 14.6.0 and now this error is not coming up.
I hope this info can help anyone.
How can I solve this problem?
I am getting disconnected from our forum while browsing nested replies or while trying to reply a post (that is what I feel, but might be happening randomly)...
user id 6 is my account.
here is the log:
2022-05-10T01:29:56.517Z [4567/73267] - [33mwarn[39m: Flooding detected! Calls : 101, Duration : 9058
2022-05-10T01:29:56.517Z [4567/73267] - [33mwarn[39m: [socket.io] Too many emits! Disconnecting uid : 6. Events : plugins.browsingUsers.getBrowsingUsers,plugins.browsingUsers.getBrowsingUsers,plugins.browsingUsers.getBrowsingUsers,plugins.browsingUsers.getBrowsingUsers,plugins.browsingUsers.getBrowsingUsers,plugins.browsingUsers.getBrowsingUsers,plugins.browsingUsers.getBrowsingUsers,plugins.browsingUsers.getBrowsingUsers,plugins.browsingUsers.getBrowsingUsers,plugins.browsingUsers.getBrowsingUsers,plugins.browsingUsers.getBrowsingUsers,plugins.browsingUsers.getBrowsingUsers,plugins.browsingUsers.getBrowsingUsers,plugins.browsingUsers.getBrowsingUsers,plugins.browsingUsers.getBrowsingUsers,plugins.browsingUsers.getBrowsingUsers,plugins.browsingUsers.getBrowsingUsers,plugins.browsingUsers.getBrowsingUsers,plugins.browsingUsers.getBrowsingUsers,plugins.browsingUsers.getBrowsingUsers
2022-05-10T01:29:56.518Z [4567/73267] - [33mwarn[39m: Flooding detected! Calls : 102, Duration : 9059
2022-05-10T01:29:56.518Z [4567/73267] - [33mwarn[39m: [socket.io] Too many emits! Disconnecting uid : 6. Events : plugins.browsingUsers.getBrowsingUsers,plugins.browsingUsers.getBrowsingUsers,plugins.browsingUsers.getBrowsingUsers,plugins.browsingUsers.getBrowsingUsers,plugins.browsingUsers.getBrowsingUsers,plugins.browsingUsers.getBrowsingUsers,plugins.browsingUsers.getBrowsingUsers,plugins.browsingUsers.getBrowsingUsers,plugins.browsingUsers.getBrowsingUsers,plugins.browsingUsers.getBrowsingUsers,plugins.browsingUsers.getBrowsingUsers,plugins.browsingUsers.getBrowsingUsers,plugins.browsingUsers.getBrowsingUsers,plugins.browsingUsers.getBrowsingUsers,plugins.browsingUsers.getBrowsingUsers,plugins.browsingUsers.getBrowsingUsers,plugins.browsingUsers.getBrowsingUsers,plugins.browsingUsers.getBrowsingUsers,plugins.browsingUsers.getBrowsingUsers,plugins.browsingUsers.getBrowsingUsers
this is our plugin list:
Plugins load in the order specified here, from top to bottom
nodebb-theme-persona
nodebb-plugin-composer-default
nodebb-plugin-markdown
nodebb-plugin-dbsearch
nodebb-plugin-mentions
nodebb-widget-essentials
nodebb-plugin-soundpack-default
nodebb-rewards-essentials
nodebb-plugin-browsing-users
nodebb-plugin-emoji
nodebb-plugin-osm-map
nodebb-plugin-calendar
nodebb-plugin-sso-facebook
nodebb-plugin-sso-twitter
nodebb-plugin-sso-google
nodebb-plugin-night-mode
nodebb-plugin-poll
nodebb-plugin-canned-responses
nodebb-plugin-audio-embed
nodebb-plugin-emoji-one
nodebb-plugin-btn-spoilers-yesilkart
nodebb-plugin-tenor-gif
nodebb-plugin-spam-be-gone
nodebb-plugin-dwnvtr
nodebb-plugin-recent-cards
nodebb-plugin-google-analytics
nodebb-plugin-two-way-block
nodebb-plugin-cards
nodebb-plugin-feed
nodebb-plugin-glossary
nodebb-plugin-customize
nodebb-plugin-extended-markdown
nodebb-plugin-hashtags
nodebb-plugin-custom-pages
nodebb-plugin-change-reputation
nodebb-plugin-image-mentions
nodebb-plugin-shoutbox
nodebb-plugin-iframely
nodebb-plugin-best-posts
nodebb-plugin-2factor
nodebb-plugin-embed
nodebb-plugin-ceviri
nodebb-plugin-twitter
nodebb-plugin-link-mentions
NodeBB 1.19.3 (I know we are behind we will update soon)
forum is not very crowded: only 128 online users... ~30 with avatars...
and this might be related... when there is a new user browsing the topic, boxes on the right side (in red) is moving down, and sometimes the online user list going down...
this is longer form of the log: https://pastebin.com/U2UqxWw7
Do you have multiple tabs open? Or does it happen with a single tab as well?
@baris said in plugins.browsingUsers.getBrowsingUsers error:
Do you have multiple tabs open? Or does it happen with a single tab as well?
I have 9 tabs open... and 3 of the tabs are on this topic (I mean the topic on the screenshot above). The other 6 are different topics of the forum...
This has been happening recently, I usually have 5-10 tabs open... Because I share other topics URL link while answering...so, I have multiple tabs...
Do you think this is the problem? I can try with a single tab...
@crazycells Yeah it could be since each topic page calls the browsing users plugin. Give it a try with fewer tabs if it stops happening that's probably why.
@baris said in plugins.browsingUsers.getBrowsingUsers error:
@crazycells Yeah it could be since each topic page calls the browsing users plugin. Give it a try with fewer tabs if it stops happening that's probably why.
Thanks a lot