honoki/wilson-cloud-respwnder

upstream prematurely closed connection

Opened this issue · 4 comments

aroly commented

Hi,

I now see this error when running Wilson:

server_1    | 2022/09/14 14:40:25 [error] 13#13: *186 upstream prematurely closed connection while reading response header from upstream, client: 128.14.209.162, server: *.wilson.be, request: "GET / HTTP/1.1", upstream: "http://172.18.0.3:30001/", host: "x.x.x.x"
server_1    | 128.14.209.162 - - [14/Sep/2022:14:40:25 +0000] "GET / HTTP/1.1" 502 552 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36" "-"

A.

Could you check the status of all docker containers: docker ps -a?

aroly commented

There are all up and running:

CONTAINER ID   IMAGE                                  COMMAND                  CREATED             STATUS         PORTS                                                                                                                                                      NAMES
c17e12aa0a94   internetsystemsconsortium/bind9:9.16   "sh -c 'apt update &…"   6 minutes ago       Up 6 minutes   0.0.0.0:53->53/tcp, 0.0.0.0:53->53/udp, :::53->53/tcp, :::53->53/udp, 953/tcp                                                                              wilson-cloud-respwnder_dns_1
0ab6d5c0bc49   nginx                                  "/docker-entrypoint.…"   About an hour ago   Up 6 minutes   0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp, 0.0.0.0:8080->80/tcp, :::8080->80/tcp, 0.0.0.0:8443->443/tcp, :::8443->443/tcp   wilson-cloud-respwnder_server_1
4b1e96ab3837   mitmproxy/mitmproxy                    "docker-entrypoint.s…"   About an hour ago   Up 6 minutes   8080-8081/tcp                                                                                                                                              wilson-cloud-respwnder_mitmdump_1
715821b1ee45   php:7-fpm                              "docker-php-entrypoi…"   2 days ago          Up 6 minutes   9000/tcp    

Any error logs from the PHP server container? docker logs 715821b1ee45

aroly commented

Just a lot of these lines:

[14-Sep-2022 14:48:23] NOTICE: Finishing ...
[14-Sep-2022 14:48:23] NOTICE: exiting, bye-bye!
[14-Sep-2022 14:48:44] NOTICE: fpm is running, pid 1
[14-Sep-2022 14:48:44] NOTICE: ready to handle connections
[14-Sep-2022 14:55:54] NOTICE: Finishing ...
[14-Sep-2022 14:55:54] NOTICE: exiting, bye-bye!
[14-Sep-2022 14:56:47] NOTICE: fpm is running, pid 1
[14-Sep-2022 14:56:47] NOTICE: ready to handle connections