Open marcoveeneman opened 2 months ago
Some more info regarding the 502 Bad Gateway. The following is in the nginx access+error log files:
access.log:
{"time":"2024-04-18T13:32:54+00:00", "remote_addr":"172.17.0.1", "remote_user":"", "host":"127.0.0.1:8088", "request":"POST /admin HTTP/1.1", "status":"502", "body_bytes_sent":"552", "referer":"http://127.0.0.1:8088/admin", "user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36", "request_time":"0.397", "handler":"phpfpm", "country":"", "server_name":"dummytag.hypernode.io", "port":"80", "ssl_cipher":"", "ssl_protocol":""}
error.log:
2024/04/18 13:32:54 [error] 11949#11949: *123 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 172.17.0.1, server: dummytag.hypernode.io, request: "POST /admin HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "127.0.0.1:8088", referrer: "http://127.0.0.1:8088/admin"
Update:
I downgraded docker desktop to: 4.26.1 (131620).
Varnish still crashes. However, the Bad Gateway 502 when logging in to the backend is gone. Probably it's not varnish which is causing the 502, but something else. For now i can continue (with an older version of Docker), but it will break again after updating so i guess more people will encounter this sooner or later.
If i can help by providing some logs, i'm happy to help, just let me know.
Hi,
Since a while I noticed my dev containers using hypernode-docker containers don't work anymore on my M2 MacBook Pro. Depending on the "Use Rosetta for x86_64/amd64 emulation on Apple Silicon" setting, either varnish or elasticsearch won't start. This happens for existing containers, as well as new containers with the latest image. Something in docker must have changed somehow because think I updated Docker Desktop a while ago.
enabled
, this is the list of 'screen' commands that keep running:Trying to start elastic search manually gives the following console output:
disabled
, this is the list of 'screen' commands that keep running:Trying to start varnish manually gives the following console output:
In this situation (varnish not running), the frontend appears to work correctly, but after logging in to the admin panel, nginx will return a 502 Bad Gateway.
I'm wondering if anyone is experiencing the same issue, and if there is a (simple) fix available.