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

NGINX - 502 Bad Gateway #1

Open
hamzology opened this issue Feb 1, 2020 · 5 comments
Open

NGINX - 502 Bad Gateway #1

hamzology opened this issue Feb 1, 2020 · 5 comments
Assignees
Labels

Comments

@hamzology
Copy link

Just tried but getting this error:

502 Bad Gateway
nginx/1.17.8

@gsoros
Copy link
Owner

gsoros commented Feb 1, 2020

Hi, thanks for trying.

Just did a clean install and no errors here. Can you check the logs in the containers?

@gsoros gsoros added the bug label Feb 1, 2020
@gsoros gsoros self-assigned this Feb 1, 2020
@hamzology
Copy link
Author

hamzology commented Feb 1, 2020

Can you share commands how I can check logs in docker container? I am beginner

BTW. I am running it in UBUNTU 18 VPS.

@gsoros
Copy link
Owner

gsoros commented Feb 1, 2020

docker logs gtrader_nginx_1
docker logs gtrader_php_1

@hamzology
Copy link
Author

Thats what I got:
docker logs gtrader_nginx_1_fc776fb95de5:
103.xx.xx.22 - - [02/Feb/2020:16:29:16 +0100] "GET / HTTP/2.0" 502 157 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0" "-" 2020/02/02 16:29:19 [error] 6#6: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 103.xx.xx.xx, server: localhost, request: "GET / HTTP/2.0", upstream: "fastcgi://172.25.0.2:9000", host: "178.238.xxx.xxx:44333" 103.xx.xx.xx - - [02/Feb/2020:16:29:19 +0100] "GET / HTTP/2.0" 502 157 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0" "-"

@gsoros
Copy link
Owner

gsoros commented Feb 2, 2020

Can you also check if there is anything in "docker logs gtrader_php_1_..."?

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

No branches or pull requests

2 participants