honoki / wilson-cloud-respwnder

WILSON Cloud Respwnder is a Web Interaction Logger Sending Out Notifications with the ability to serve custom content in order to appropriately respond to client-issued requests.
51 stars 8 forks source link

upstream prematurely closed connection #4

Open aroly opened 2 years ago

aroly commented 2 years ago

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.

honoki commented 2 years ago

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

aroly commented 2 years ago

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    
honoki commented 2 years ago

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

aroly commented 2 years ago

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