Closed aligot-cblue closed 5 years ago
Hi @aligot-cblue I am also hitting this issue (not consistently) and am currently digging deeper to find the cause of it. Thank you for the logs and all the info appended!
We have not seen 401 preventing the user from joining in some time now. Please comment/reopen if you encounter it again
I am also getting the same 401 error sometimes. Please suggest how to fix this,
I'm also seeing this
I am also getting the same issue, one day back.
If the user is removed from a conference by the Moderator, the removal is now permanent for the duration of the conference.
However, if the user is not removed by a moderator, you shouldn't get this error (unless you copy the join URL and try opening it an another browser).
Can you upgrade to BigBlueButton 2.2.10 and let us know if this still occurs.
If the user is removed from a conference by the Moderator, the removal is now permanent for the duration of the conference.
However, if the user is not removed by a moderator, you shouldn't get this error (unless you copy the join URL and try opening it an another browser).
Can you upgrade to BigBlueButton 2.2.10 and let us know if this still occurs.
Why would it give error in case of copy paste? I am using my application backend to make calls to my BBB server(since that's where my shared secret is kept) and then returning the obtained join url in a json response to the client application built in Angular. The application is then supposed to call the join url in an iframe. It's returning 401 Unauthorised everytime. What might be the issue?
I am using my application backend to make calls to my BBB server(since that's where my shared secret is kept) and then returning the obtained join url in a json response to the client application built in Angular. The application is then supposed to call the join url in an iframe. It's returning 401 Unauthorised everytime. What might be the issue?
Any idea why this happening.
If the user is removed from a conference by the Moderator, the removal is now permanent for the duration of the conference. However, if the user is not removed by a moderator, you shouldn't get this error (unless you copy the join URL and try opening it an another browser). Can you upgrade to BigBlueButton 2.2.10 and let us know if this still occurs.
Why would it give error in case of copy paste? I am using my application backend to make calls to my BBB server(since that's where my shared secret is kept) and then returning the obtained join url in a json response to the client application built in Angular. The application is then supposed to call the join url in an iframe. It's returning 401 Unauthorised everytime. What might be the issue?
@ffdixon I have same issue when I call api join as moderator and receive request uri with sessionToken.Go to this request uri and receive 401 authorize,my version bbb is 2.2.15
It worked until users increased to more than 150..after that it started having trouble to login and started giving the above unauthorized to all users, i am using moodle, when we click on join session the loader appears and we get unauthorized error but the count of users keeps on increasing in the bbb server...my version of bbb is 2.2.16..please help
Indeed, we have multiple feedback 401 error seems to be linked with higher load of the server
@ffdixon is it a new bug in bbb latest version?
It's a known issue in BigBlueButton 2.2. It's one of the reasons we recommend keeping sessions below 100 users. As the number of users grows about 100, there are inefficiencies in the joining process that will cause logins to slow down, users are unable to join, and they try again, which causes further slow downs and so on.
We've been working in improving this for BigBlueButton 2.3. Until then, we recommend, as always, keeping sessions in BigBlueButton 2.2 under 100 users (or less).
Thanks @ffdixon !
Do we have a release date of BBB 2.3?
BigBlueButton does not set hard release dates. They prefer quality over quantity so it'd be pointless to give false claims. Fred has said elsewhere on the issue tracker that a beta will likely come out in the summer.
Hi @ffdixon I have this problem in my environment.
I have a BBB server installed in AWS USA and I access that from Brazil. I have a latency in 140ms more or less.
I get 401 error when the BBB server have any number of rooms and users connected.
I'm using BBB 2.2.20.
@rriscado What is the configuration of your server (instance type), and how many users were in the meeting when this happened.
As you can see earlier in the tread, this problem can occur when you have over 100 users in a meeting, or likely if you are running the server on an instance less than the recommended c5.2xlarge.
@ffdixon Do this error occurs also when we have meetings with less than 100 users but two or more are starting simultaneously, so the number of users trying to login in total may be higher than 100?
Can you tell us anything about the state of the node process? Does show high CPU usage in top
?
I was not able to monitor the bbb installation while the problem occurs, I was analyzing after the fact from the logs and the monitoring data. I think now I can say that the problem is not that the several meetings started in the same time but rather that something caused users to lost connection and when they were trying to reconnect, the Authentication timeout error occured because too much users tried to reconnect at the same time. We tried to mitigate by upgrading the software to 2.2.26 and slightly rising the number of vcpu as the monitoring showed we had some moments with 90%+ cpu usage. We are now checking if it helped. I will try to check the stats of the node process if the problem will return.
@matiasilva I was able to look through top -c during some higher usage and it showed between 100 and 140 %CPU. We have 24 cores on that server. On the other server will lesser usage it was 50-70 %CPU. It was always third highest after freeswitch and kurento. We had numerous 401 Authentication timeout in the logs during that time.
How many users were in this problematic meeting?
It is not one meeting. We limited meetings to max 100 people but in total we often have more than 400 people on all meetings at one instance. However when the problem starts we have many double/triple/multiple logins for the same user which skyrockets the total number of people in the database to couple of thousands, thus we are not sure how many users exactly we had. Unfortunately the allowDuplicateExtUserid=false property does not work. Total CPU is now less than 70% even when problem occurs.
Not sure how you're getting those double/triple/multiple logins, probably in part to you running so many people on one server, which creates more users and worsens the load on the single-threaded node process. Have you considered reducing the amount of people on one server concurrently and keeping the number of people in one meeting to below 100?
Total CPU is now less than 70% even when problem occurs.
What did you do to get this?
Yeah, it looks now that we will need to do something to have less users per server. We definitely tried to not put too much users on one server but it is possible that we overestimated the number which one server can handle. We were suprised because the environment worked without much problems in April-May with more or less same number of colleges we are serving now, but with the new college year we have problems nearly every day. Maybe they had more students attending now and it was enough to make problems. Regarding CPU we added some virtual cores to the VMs in hope that will help but eventually we learned that it do not work than way. The fact that the node.js is single-threaded probably explains why.
Indeed. BigBlueButton scales better horizontally not vertically, so adding more cores (or better cores) is not useful. It depends a lot on the behavior of your users and how many events get piped into the queue that the single threaded process has to handle. Maybe there was different behavior in March?
Hello, I had a problem with error 401 in BBB. I had connecting only 4 persons. Where is mistake? Thak you for your answer.
Hello, I had a problem with error 401 in BBB. I had connecting only 4 persons. Where is mistake? Thak you for your answer.
Did you manage to sort out the issue? if yes, help me out
We are seeing this issue too, with only ONE attendee, plus the moderator.
If the user is removed from a conference by the Moderator, the removal is now permanent for the duration of the conference. However, if the user is not removed by a moderator, you shouldn't get this error (unless you copy the join URL and try opening it an another browser). Can you upgrade to BigBlueButton 2.2.10 and let us know if this still occurs.
Why would it give error in case of copy paste? I am using my application backend to make calls to my BBB server(since that's where my shared secret is kept) and then returning the obtained join url in a json response to the client application built in Angular. The application is then supposed to call the join url in an iframe. It's returning 401 Unauthorised everytime. What might be the issue?
If the user is removed from a conference by the Moderator, the removal is now permanent for the duration of the conference.
However, if the user is not removed by a moderator, you shouldn't get this error (unless you copy the join URL and try opening it an another browser).
Can you upgrade to BigBlueButton 2.2.10 and let us know if this still occurs.
(unless you copy the join URL and try opening it an another browser) why is this, so is it not possible to use an iframe, I am getting this issue with only one user by the way. please I would really appreciate some kind of direction on this. Thanks ;)
We are seeing this issue too, with only ONE attendee, plus the moderator.
was getting this issue with just one use , i set allowRequestsWithoutSession=true in /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties. It worked for me , hope it helps
I am having still having similar issue even after changing the bigbluebutton.properties allowRequestsWithoutSession=true
Describe the bug When you try to create breakout rooms with people, they got "Unauthorized Session not found. 401".
To Reproduce Go to a meeting (Greenlight) Click on 'Create breakout rooms' Join the breakout rooms See error Expected behavior People should be able to join the breakout rooms
Actual behavior Unauthorized Session not found. 401
BBB version (optional): BigBlueButton Server 2.2.31 (2298)
Desktop (please complete the following information): OS: Windows 10 Browser : Chrome Version 87.0.4280.88
allowRequestsWithoutSession=true
This worked for me, but I have no idea why this
Hello all,
First thanks a lot for all the great work arround Bigbluebutton.
We encounting a small issue with BBB.
We use HTML5 client and create room using the API.
Most of the time, everything goes fine... but sometimes, we get a strange 401 error on the first time, the first client join the room. If the user enter the room a second time, it always work.
The client get https://files.cblue.be/files/db827cd2901627d35da98c71e074fc6f/screenshot_1_1543922508.png
From Nginx Access log, we can see this:
Based on this, it seems the error is generated on client side...
Digging deeper, I found a strange thing in bbb-apps-akka/bbb-apps-akka.log. When the error is reached, I see line about o.b.core.BigBlueButtonActor but not about o.b.core.running.MeetingActor . When it works fine, I see some line about o.b.core.running.MeetingActor ... This is as far as my knowledge of the core of BBB goes at present time... sorry.
Here is an example: server startup:
unsuccessfull join: (no meetingActor...)
successfull join:
Do you have any idea ?
Best regards,
A.
Other info:
Versions