docker icon indicating copy to clipboard operation
docker copied to clipboard

502 Bad Gateway

Open momen7899 opened this issue 1 year ago • 6 comments

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

momen7899 avatar Apr 02 '23 14:04 momen7899

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?

alangecker avatar Apr 03 '23 09:04 alangecker

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

momen7899 avatar Apr 05 '23 23:04 momen7899

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.

lostguyy avatar Dec 04 '23 11:12 lostguyy

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

alangecker avatar Dec 06 '23 11:12 alangecker

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

response should be SUCCESS

ben-ba avatar Mar 08 '24 20:03 ben-ba

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 [email protected]

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.

momen7899 avatar Mar 09 '24 07:03 momen7899