bigbluebutton / docker

Docker files for BigBlueButton
GNU Lesser General Public License v3.0
359 stars 240 forks source link

502 Bad Gateway #259

Open momen7899 opened 1 year ago

momen7899 commented 1 year ago

I`m new to using bbb so I want to use this method to install my bbb server I used your docs to create a docker compose and run it on my server, but I get 502 Bad Gateway. How should I debug this and solve this problem?

I have this attached files:

Screenshot from 2023-04-02 18-24-28 docker ps

alangecker commented 1 year ago

I've just merged v2.6 (#256) from develop to the stable main branch. there were a lot of changes, maybe your issue got resolved within them?

could you try a ./scripts/upgrade or even a fresh install?

momen7899 commented 1 year ago

Nothing changed. :(

This is my error in nginx docker logs: 2023/04/06 14:34:16 [error] 32#32: *219 connect() failed (113: Host is unreachable) while connecting to upstream, client:127.0.0.1, server: _, request: "GET / HTTP/1.1", upstream: "http://10.7.7.21:3000/", host: "my domain"

I don`t want to use greenlight but there is greenlight in docker compose file and this error is because of that

lostguyy commented 7 months ago

Hey Momen,

I am encountering the same error you faced. Were you able to resolve it? If yes, please let me know as well. I have cloned this repository on Ubuntu in a virtual machine, and after running docker-compose up, all of my containers come into a running state. However, I can't access the application in my browser as it returns a 502 Bad Gateway error.

alangecker commented 7 months ago

can you access BBB directly via the API? (use https://mconf.github.io/api-mate/, enter the Domain + Secret and then use any API on the right side like create)

if it works the error is somehow within greenlight

#edit

ah, there is no Greenlight running (as intended by you), so then this is the expected behavior as with BBB itself there is no application served under /, it can only be used via the API, so it requires either a frontend (like greenlight, nextcloud,...) or the API mate

ben-ba commented 3 months ago

To verify your installation u can access the path /bigbluebutton/

response should be SUCCESS

momen7899 commented 3 months ago

Hi, I didn't use docker compose anymore. I just use below command to install bbb. wget -qO- https://raw.githubusercontent.com/bigbluebutton/bbb-install/v2.7.x-release/bbb-install.sh | bash -s -- -w -v focal-270 -s bbb.example.com -e info@example.com

Hey Momen,

I am encountering the same error you faced. Were you able to resolve it? If yes, please let me know as well. I have cloned this repository on Ubuntu in a virtual machine, and after running docker-compose up, all of my containers come into a running state. However, I can't access the application in my browser as it returns a 502 Bad Gateway error.