You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"if a user in peakaboo example 'galicaster' has many valid tokens then more are requested simultaneously the database becomes unresponsive and tokens cannot be requested, rooms remain 'offline' and users cannot visit the page getting timeout errors instead.
a suggestion was to use a UID per room to authenticate against peakaboo thus having a small array of tokens for each user making this step more responsive"
The text was updated successfully, but these errors were encountered:
We had this recently and the only solution we could find was to go into the mongo database and clear all the login tokens out - documenting what we did as it may be useful for others too..
If using docker then use docker ps to list container IDs then docker exec -it {CONTAINER_ID} mongo to connect to the mongodb running in the container - may need to prefix with sudo depending on your setup.
For non-docker instances use meteor mongo while meteor is running
Then..
// Use the peakaboo databaseusepeakaboo;// Find the user that needs loginTokens clearing outdb.users.find();// Clear all loginTokens for the userdb.users.update({"_id" : "{GALICASTER_USER_ID"},{$set: {"services.resume.loginTokens": []}});
Then restart peakaboo. I'm guessing you did something similar @androidwiltron?
@androidwiltron said:
"if a user in peakaboo example 'galicaster' has many valid tokens then more are requested simultaneously the database becomes unresponsive and tokens cannot be requested, rooms remain 'offline' and users cannot visit the page getting timeout errors instead.
a suggestion was to use a UID per room to authenticate against peakaboo thus having a small array of tokens for each user making this step more responsive"
The text was updated successfully, but these errors were encountered: