Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

400 Bad Request nginx in joining a session #11442

Closed
cod3r0k opened this issue Feb 20, 2021 · 7 comments
Closed

400 Bad Request nginx in joining a session #11442

cod3r0k opened this issue Feb 20, 2021 · 7 comments
Milestone

Comments

@cod3r0k
Copy link

cod3r0k commented Feb 20, 2021

When I update one of my BBB to alpha-2.3.7 , I check server with bbb-conf --secret api-mate.
After I create a session in api-mate, I try to join as a moderator or attendee. At that time I get an error as below

400 Bad Request
nginx

To Reproduce
Steps to reproduce the behavior:

  1. Update to BBB 2.3.7 alpha
  2. Create a session in api-mate
  3. Join as moderator or attendee
  4. See error

Maybe it is related my previous setting in nginx @basisbit . Isn't it? @antobinary

/var/log/nginx/error.log

2021/02/20 12:00:39 [error] 23113#23113: *340 open() "/var/www/bigbluebutton-default/client/conf/config.xml" failed (2: No such file or directory), client: x.x.x.x, server: xxxxxxxxxxxxxxxxxx, request: "GET /client/conf/config.xml HTTP/1.1", host: "xxxxxxx"

@ffdixon
Copy link
Member

ffdixon commented Feb 20, 2021

Hmm ... we're seeing the same error. Taking a closer look.

@ffdixon
Copy link
Member

ffdixon commented Feb 20, 2021

A clean install works, but the upgrade breaks. Looking closer.

@cod3r0k
Copy link
Author

cod3r0k commented Feb 20, 2021

A clean install works, but the upgrade breaks. Looking closer.

Wow! thanks so bad! I have many video in this sever. I hope it will be solved soon! @ffdixon

@cod3r0k
Copy link
Author

cod3r0k commented Feb 20, 2021

I found the solution as @antobinary said at release notes.
https://github.com/bigbluebutton/bigbluebutton/releases/tag/v2.3-alpha-7

Note that we removed the recently introduced in 2.3-alpha5 instanceId from the HTML5 client's url. You may need to edit the following two lines in /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties if you are updating an existing 2.3.x server.

- defaultHTML5ClientUrl=${bigbluebutton.web.serverURL}/html5client/%%INSTANCEID%%/join
+ defaultHTML5ClientUrl=${bigbluebutton.web.serverURL}/html5client/join
- defaultGuestWaitURL=${bigbluebutton.web.serverURL}/html5client/%%INSTANCEID%%/guestWait
+ defaultGuestWaitURL=${bigbluebutton.web.serverURL}/html5client/guestWait`

and also change all files in /etc/bigbluebutton/nginx and it works well!

@antobinary antobinary added this to the Release 2.3 milestone Feb 20, 2021
@antobinary
Copy link
Member

@odejinmisa
Copy link

Screenshot 2021-02-24 171948

I am encountering in my development error: ValidateAuthTokenRespMsg: Error: Match error: Expected number, got undefined

I have 2.3apha4 installed in production and 2.3aplha7 for development.

Thanks.

@basisbit
Copy link
Collaborator

For support requests, please use the forum / mailing list. This issue tracker here is only for BBB development related issues. Sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants