bigbluebutton / docker

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

502 Bad Gateway #81

Open nenads opened 3 years ago

nenads commented 3 years ago

Using lates development:

what is 7.11 ? in docker-compsoe ?

docker ps -q | xargs -n 1 docker inspect --format '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}} {{ .Name }}' | sed 's/ \// /'

bbb-docker_nginx_1 10.7.7.200 bbb-docker_html5-frontend-1_1 10.7.7.100 bbb-docker_html5-backend-1_1 10.7.7.4 bbb-docker_etherpad_1 10.7.7.16 bbb-docker_recordings_1 10.7.7.10 bbb-docker_webrtc-sfu_1 10.7.7.15 bbb-docker_apps-akka_1 10.7.7.2 bbb-docker_bbb-web_1 bbb-docker_kurento_1 10.7.7.33 bbb-docker_prometheus-exporter_1 172.20.0.3 bbb-docker_greenlight_1 bbb-docker_freeswitch_1 10.7.7.14 bbb-docker_fsesl-akka_1 10.7.7.12 bbb-docker_periodic_1 10.7.7.5 bbb-docker_redis_1 10.7.7.6 bbb-docker_mongodb_1 172.20.0.2 bbb-docker_postgres_1 10.7.7.20 bbb-docker_jodconverter_1 bbb-docker_https_proxy_1

nenads commented 3 years ago

Ok after checking inside nginx config in runing docker it was targeting dev setup not production multiple node setup docker-compose build did a trick.

maybe issue is when you have only one node instance in .env will check more

what is interesting this was fresh system. no previus images or anything like that.

doodlemania2 commented 3 years ago

can you share your nginx config?

nenads commented 3 years ago

What is your issue ? Latest version works.

if you are not behind nat modify this

/mod/https/site-ipv4only.conf

listen [::]:443 ssl http2 default_server; servername ; resolver (yourbublic ip) valid=60s; -- add this line

rebuild and start

doodlemania2 commented 3 years ago

Actually, was looking for a sample nginx config since the doc is still TBD there. Not a nginx master :)

amira133 commented 3 years ago

I am new to ubuntu and docker I have encountered a similar problem and I was given a 502 error when calling the site. After I restart the server, it gives below error. This site can’t be reached