-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
502 bad gateway #1944
Comments
I'm having the same issue, but with version 0.9.3; DOMAIN.org works fine, xyz.DOMAIN.org -> HTTP 502 response. EDIT: nevermind! Was my fault: I was proxying to another process that had died. |
It seems to be related to /etc/hosts ipv6 configuration ... I solved by adding yyy.x.com as localhost for both v4 and v6
can someone print here his /etc/hosts file ::1 configuration ? |
Rather than |
Mine is simply Going to close this, it doesn't appear to be a bug in Caddy. |
1. What version of Caddy are you using (
caddy -version
)?0.10.10
2. What are you trying to do?
Having Caddy work again after a docker update and reboot
3. What is your entire Caddyfile?
4. How did you run Caddy (give the full command and describe the execution environment)?
docker with this command line :
5. Please paste any relevant HTTP request(s) here.
Access from remote navigator (a.b.c.d) and local curl command gives
a.b.c.d - - [05/Nov/2017:09:40:16 +0000] "GET / HTTP/2.0" 502 16
a.b.c.d - - [05/Nov/2017:09:40:16 +0000] "GET /favicon.ico HTTP/2.0" 502 16
a.b.c.d - - [05/Nov/2017:09:40:18 +0000] "GET / HTTP/2.0" 502 16
(server ip) - - [05/Nov/2017:10:07:56 +0000] "HEAD / HTTP/1.1" 502 16
(server ip) - - [05/Nov/2017:10:10:44 +0000] "HEAD / HTTP/1.1" 502 16
6. What did you expect to see?
2 web sites running at x.com and yyy.x.com
7. What did you see instead (give full error messages and/or log)?
x.com is working fine
502 bad gateway for yyy.x.com
test with
8. How can someone who is starting from scratch reproduce the bug as minimally as possible?
Docker version 17.09.0-ce, build afdb6d4
I did a fresh new server reinstall from DigitalOcean -> I have the same behaviour
see https://caddy.community/t/gnutls-handshake-failed-the-tls-connection-was-non-properly-terminated/2923
The text was updated successfully, but these errors were encountered: