api-platform / api-platform

🕸️ Create REST and GraphQL APIs, scaffold Jamstack webapps, stream changes in real-time.
https://api-platform.com
MIT License
8.7k stars 963 forks source link

docker-compose up hangs on "Generating optimized autoload files" #2142

Closed krstns closed 2 years ago

krstns commented 2 years ago

API Platform version(s) affected: 2.6.8

Description
Freshly unpacked, clean API Platform release. The PHP container stops on Generating optimized autoload files. When i browse to the https://localhost the PWA is available but trying to get to Admin will throw 502.

How to reproduce
Download and unpack the tar file with release. Make sure there aren't any old images etc. in the docker repo. Run docker-compose up Wait for all the containers to launch. Browse to https://localhost and accept the self signed cert Go to the Admin section

Possible Solution
None

Additional Context
Running this on mac os 12.1, x86. Docker Desktop 4.5.0 (74594)

Clean docker:

08:27:38 krystian:pwa_poc>docker image ls
REPOSITORY   TAG         IMAGE ID       CREATED        SIZE
postgres     13-alpine   50bd58c125d6   7 days ago     209MB
mysql        5.6         10de32843f91   3 months ago   303MB

Logs from running it (I've removed all caddy log entries and cut the usual downloads/installs, postgres logs):

08:30:21 krystian:pwa_poc>docker-compose up
[+] Building 222.0s (55/72)
 [CUT to limit verbose logs...]
[+] Running 5/5
 ⠿ Network pwa_poc_default       Created                                                                                                                                                                                                                                     0.1s
 ⠿ Container pwa_poc-pwa-1       Created                                                                                                                                                                                                                                    11.2s
 ⠿ Container pwa_poc-database-1  Created                                                                                                                                                                                                                                     0.4s
 ⠿ Container pwa_poc-php-1       Created                                                                                                                                                                                                                                     1.3s
 ⠿ Container pwa_poc-caddy-1     Created                                                                                                                                                                                                                                     0.1s
Attaching to pwa_poc-caddy-1, pwa_poc-database-1, pwa_poc-php-1, pwa_poc-pwa-1
pwa_poc-pwa-1       | yarn run v1.22.17
pwa_poc-pwa-1       | $ next dev
pwa_poc-pwa-1       | ready - started server on 0.0.0.0:3000, url: http://localhost:3000
pwa_poc-php-1       | Installing dependencies from lock file (including require-dev)
pwa_poc-php-1       | Verifying lock file contents can be installed on current platform.
pwa_poc-php-1       | Package operations: 113 installs, 0 updates, 0 removals
pwa_poc-php-1       |   - Downloading composer/package-versions-deprecated (1.11.99.4)
[...]
pwa_poc-php-1       |   - Downloading phpdocumentor/type-resolver (1.6.0)
pwa_poc-pwa-1       | warn  - SWC minify beta enabled. https://nextjs.org/docs/messages/swc-minify-enabled
pwa_poc-php-1       |   - Downloading phpdocumentor/reflection-docblock (5.3.0)
[...]
pwa_poc-php-1       |   - Downloading symfony/web-profiler-bundle (v6.0.2)
pwa_poc-php-1       |   - Installing composer/package-versions-deprecated (1.11.99.4): Extracting archive
pwa_poc-php-1       |   - Installing symfony/flex (v1.17.6): Extracting archive
pwa_poc-pwa-1       | event - compiled client and server successfully in 14.3s (177 modules)
pwa_poc-php-1       |   - Installing symfony/runtime (v6.0.0): Extracting archive
pwa_poc-pwa-1       | wait  - compiling /_error (client and server)...
pwa_poc-php-1       |   - Installing willdurand/negotiation (3.0.0): Extracting archive
[...]
pwa_poc-php-1       |   - Installing symfony/web-profiler-bundle (v6.0.2): Extracting archive
pwa_poc-pwa-1       | event - compiled client and server successfully in 8.2s (178 modules)
pwa_poc-pwa-1       | wait  - compiling /admin (client and server)...
pwa_poc-pwa-1       | wait  - compiling /_error (client and server)...
pwa_poc-pwa-1       | event - compiled client and server successfully in 40.6s (1806 modules)
pwa_poc-php-1       | Generating optimized autoload files

Logs from when I open up the https://localhost in the browser and browse to Admin:

pwa_poc-pwa-1       | wait  - compiling / (client and server)...
pwa_poc-pwa-1       | event - compiled client and server successfully in 3s (209 modules)
pwa_poc-caddy-1     | {"level":"error","ts":1645515751.5243003,"logger":"http.log.access","msg":"handled request","request":{"remote_addr":"172.23.0.1:57386","proto":"HTTP/2.0","method":"GET","host":"localhost","uri":"/.well-known/mercure","headers":{"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,fr;q=0.6"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4892.0 Safari/537.36"],"Caddy-Push":["1"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"localhost"}},"common_log":"172.23.0.1 - - [22/Feb/2022:07:42:31 +0000] \"GET /.well-known/mercure HTTP/2.0\" 400 27","user_id":"","duration":0.0015288,"size":27,"status":400,"resp_headers":{"Alt-Svc":["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"],"X-Frame-Options":["DENY"],"X-Content-Type-Options":["nosniff"],"X-Xss-Protection":["1; mode=block"],"Content-Security-Policy":["default-src 'self' mercure.rocks cdn.jsdelivr.net"],"Content-Type":["text/plain; charset=utf-8"],"Server":["Caddy"]}}
pwa_poc-caddy-1     | {"level":"error","ts":1645515751.5305545,"logger":"http.log.error","msg":"dialing backend: dial unix /var/run/php/php-fpm.sock: connect: connection refused","request":{"remote_addr":"172.23.0.1:57386","proto":"HTTP/2.0","method":"GET","host":"localhost","uri":"/docs.jsonld","headers":{"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4892.0 Safari/537.36"],"Caddy-Push":["1"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,fr;q=0.6"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"localhost"}},"duration":0.0090596,"status":502,"err_id":"axf9smsww","err_trace":"reverseproxy.statusError (reverseproxy.go:886)"}
pwa_poc-caddy-1     | {"level":"error","ts":1645515751.5309813,"logger":"http.log.access","msg":"handled request","request":{"remote_addr":"172.23.0.1:57386","proto":"HTTP/2.0","method":"GET","host":"localhost","uri":"/docs.jsonld","headers":{"Accept-Language":["en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,fr;q=0.6"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4892.0 Safari/537.36"],"Caddy-Push":["1"],"Accept-Encoding":["gzip, deflate, br"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"localhost"}},"common_log":"172.23.0.1 - - [22/Feb/2022:07:42:31 +0000] \"GET /docs.jsonld HTTP/2.0\" 502 0","user_id":"","duration":0.0090596,"size":0,"status":502,"resp_headers":{"Server":["Caddy"],"Alt-Svc":["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"]}}
pwa_poc-caddy-1     | {"level":"error","ts":1645515751.5431128,"logger":"http.handlers.reverse_proxy","msg":"aborting with incomplete response","error":"http2: stream closed"}
pwa_poc-caddy-1     | {"level":"error","ts":1645515751.5436351,"logger":"http.handlers.reverse_proxy","msg":"aborting with incomplete response","error":"http2: stream closed"}
pwa_poc-caddy-1     | {"level":"error","ts":1645515751.5438318,"logger":"http.handlers.reverse_proxy","msg":"aborting with incomplete response","error":"http2: stream closed"}
pwa_poc-caddy-1     | {"level":"error","ts":1645515751.8913357,"logger":"http.log.access","msg":"handled request","request":{"remote_addr":"172.23.0.1:57386","proto":"HTTP/2.0","method":"GET","host":"localhost","uri":"/.well-known/mercure","headers":{"Accept-Language":["en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,fr;q=0.6"],"Accept":["*/*"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4892.0 Safari/537.36"],"Caddy-Push":["1"],"Accept-Encoding":["gzip, deflate, br"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"localhost"}},"common_log":"172.23.0.1 - - [22/Feb/2022:07:42:31 +0000] \"GET /.well-known/mercure HTTP/2.0\" 400 27","user_id":"","duration":0.0010397,"size":27,"status":400,"resp_headers":{"Content-Type":["text/plain; charset=utf-8"],"Server":["Caddy"],"Alt-Svc":["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"],"Content-Security-Policy":["default-src 'self' mercure.rocks cdn.jsdelivr.net"],"X-Frame-Options":["DENY"],"X-Content-Type-Options":["nosniff"],"X-Xss-Protection":["1; mode=block"]}}
pwa_poc-caddy-1     | {"level":"error","ts":1645515751.900636,"logger":"http.log.access","msg":"handled request","request":{"remote_addr":"172.23.0.1:57386","proto":"HTTP/2.0","method":"GET","host":"localhost","uri":"/.well-known/mercure","headers":{"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4892.0 Safari/537.36"],"Caddy-Push":["1"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,fr;q=0.6"],"Accept":["*/*"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"localhost"}},"common_log":"172.23.0.1 - - [22/Feb/2022:07:42:31 +0000] \"GET /.well-known/mercure HTTP/2.0\" 400 27","user_id":"","duration":0.000268,"size":27,"status":400,"resp_headers":{"Content-Security-Policy":["default-src 'self' mercure.rocks cdn.jsdelivr.net"],"Content-Type":["text/plain; charset=utf-8"],"Server":["Caddy"],"Alt-Svc":["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"],"X-Frame-Options":["DENY"],"X-Content-Type-Options":["nosniff"],"X-Xss-Protection":["1; mode=block"]}}
pwa_poc-caddy-1     | {"level":"error","ts":1645515751.907741,"logger":"http.log.access","msg":"handled request","request":{"remote_addr":"172.23.0.1:57386","proto":"HTTP/2.0","method":"GET","host":"localhost","uri":"/.well-known/mercure","headers":{"Caddy-Push":["1"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,fr;q=0.6"],"Accept":["*/*"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4892.0 Safari/537.36"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"localhost"}},"common_log":"172.23.0.1 - - [22/Feb/2022:07:42:31 +0000] \"GET /.well-known/mercure HTTP/2.0\" 400 27","user_id":"","duration":0.0003754,"size":27,"status":400,"resp_headers":{"X-Frame-Options":["DENY"],"X-Content-Type-Options":["nosniff"],"X-Xss-Protection":["1; mode=block"],"Content-Type":["text/plain; charset=utf-8"],"Server":["Caddy"],"Alt-Svc":["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"],"Content-Security-Policy":["default-src 'self' mercure.rocks cdn.jsdelivr.net"]}}
pwa_poc-caddy-1     | {"level":"error","ts":1645515751.9112496,"logger":"http.log.access","msg":"handled request","request":{"remote_addr":"172.23.0.1:57386","proto":"HTTP/2.0","method":"GET","host":"localhost","uri":"/.well-known/mercure","headers":{"Caddy-Push":["1"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,fr;q=0.6"],"Accept":["*/*"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4892.0 Safari/537.36"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"localhost"}},"common_log":"172.23.0.1 - - [22/Feb/2022:07:42:31 +0000] \"GET /.well-known/mercure HTTP/2.0\" 400 27","user_id":"","duration":0.0011383,"size":27,"status":400,"resp_headers":{"Alt-Svc":["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"],"X-Frame-Options":["DENY"],"X-Content-Type-Options":["nosniff"],"X-Xss-Protection":["1; mode=block"],"Content-Security-Policy":["default-src 'self' mercure.rocks cdn.jsdelivr.net"],"Content-Type":["text/plain; charset=utf-8"],"Server":["Caddy"]}}
pwa_poc-caddy-1     | {"level":"error","ts":1645515751.9467914,"logger":"http.log.access","msg":"handled request","request":{"remote_addr":"172.23.0.1:57386","proto":"HTTP/2.0","method":"GET","host":"localhost","uri":"/.well-known/mercure","headers":{"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,fr;q=0.6"],"Accept":["*/*"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4892.0 Safari/537.36"],"Caddy-Push":["1"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"localhost"}},"common_log":"172.23.0.1 - - [22/Feb/2022:07:42:31 +0000] \"GET /.well-known/mercure HTTP/2.0\" 400 27","user_id":"","duration":0.0009756,"size":27,"status":400,"resp_headers":{"Alt-Svc":["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"],"X-Frame-Options":["DENY"],"X-Content-Type-Options":["nosniff"],"X-Xss-Protection":["1; mode=block"],"Content-Security-Policy":["default-src 'self' mercure.rocks cdn.jsdelivr.net"],"Content-Type":["text/plain; charset=utf-8"],"Server":["Caddy"]}}
pwa_poc-caddy-1     | {"level":"error","ts":1645515751.9610262,"logger":"http.log.access","msg":"handled request","request":{"remote_addr":"172.23.0.1:57386","proto":"HTTP/2.0","method":"GET","host":"localhost","uri":"/docs.jsonld","headers":{"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4892.0 Safari/537.36"],"Caddy-Push":["1"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,fr;q=0.6"],"Accept":["*/*"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"localhost"}},"common_log":"172.23.0.1 - - [22/Feb/2022:07:42:31 +0000] \"GET /docs.jsonld HTTP/2.0\" 499 0","user_id":"","duration":0.0540554,"size":0,"status":499,"resp_headers":{"Server":["Caddy"],"Alt-Svc":["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"]}}
pwa_poc-caddy-1     | {"level":"error","ts":1645515751.9622908,"logger":"http.log.access","msg":"handled request","request":{"remote_addr":"172.23.0.1:57386","proto":"HTTP/2.0","method":"GET","host":"localhost","uri":"/docs.jsonld","headers":{"Caddy-Push":["1"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,fr;q=0.6"],"Accept":["*/*"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4892.0 Safari/537.36"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"localhost"}},"common_log":"172.23.0.1 - - [22/Feb/2022:07:42:31 +0000] \"GET /docs.jsonld HTTP/2.0\" 499 0","user_id":"","duration":0.0624819,"size":0,"status":499,"resp_headers":{"Alt-Svc":["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"],"Server":["Caddy"]}}
pwa_poc-caddy-1     | {"level":"error","ts":1645515751.9641926,"logger":"http.log.access","msg":"handled request","request":{"remote_addr":"172.23.0.1:57386","proto":"HTTP/2.0","method":"GET","host":"localhost","uri":"/docs.jsonld","headers":{"Accept-Language":["en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,fr;q=0.6"],"Accept":["*/*"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4892.0 Safari/537.36"],"Caddy-Push":["1"],"Accept-Encoding":["gzip, deflate, br"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"localhost"}},"common_log":"172.23.0.1 - - [22/Feb/2022:07:42:31 +0000] \"GET /docs.jsonld HTTP/2.0\" 499 0","user_id":"","duration":0.0716752,"size":0,"status":499,"resp_headers":{"Server":["Caddy"],"Alt-Svc":["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"]}}
pwa_poc-caddy-1     | {"level":"error","ts":1645515751.972933,"logger":"http.log.access","msg":"handled request","request":{"remote_addr":"172.23.0.1:57386","proto":"HTTP/2.0","method":"GET","host":"localhost","uri":"/docs.jsonld","headers":{"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4892.0 Safari/537.36"],"Caddy-Push":["1"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,fr;q=0.6"],"Accept":["*/*"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"localhost"}},"common_log":"172.23.0.1 - - [22/Feb/2022:07:42:31 +0000] \"GET /docs.jsonld HTTP/2.0\" 499 0","user_id":"","duration":0.0637497,"size":0,"status":499,"resp_headers":{"Server":["Caddy"],"Alt-Svc":["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"]}}
pwa_poc-caddy-1     | {"level":"error","ts":1645515751.975285,"logger":"http.log.access","msg":"handled request","request":{"remote_addr":"172.23.0.1:57386","proto":"HTTP/2.0","method":"GET","host":"localhost","uri":"/docs.jsonld","headers":{"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4892.0 Safari/537.36"],"Caddy-Push":["1"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,fr;q=0.6"],"Accept":["*/*"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"localhost"}},"common_log":"172.23.0.1 - - [22/Feb/2022:07:42:31 +0000] \"GET /docs.jsonld HTTP/2.0\" 499 0","user_id":"","duration":0.0311149,"size":0,"status":499,"resp_headers":{"Server":["Caddy"],"Alt-Svc":["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"]}}
pwa_poc-caddy-1     | {"level":"error","ts":1645515751.9843318,"logger":"http.log.error","msg":"dialing backend: dial unix /var/run/php/php-fpm.sock: connect: connection refused","request":{"remote_addr":"172.23.0.1:57386","proto":"HTTP/2.0","method":"GET","host":"localhost","uri":"/docs.jsonld","headers":{"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4892.0 Safari/537.36"],"Caddy-Push":["1"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,fr;q=0.6"],"Accept":["*/*"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"localhost"}},"duration":0.0064732,"status":502,"err_id":"vxc8y3jge","err_trace":"reverseproxy.statusError (reverseproxy.go:886)"}
pwa_poc-caddy-1     | {"level":"error","ts":1645515751.98443,"logger":"http.log.access","msg":"handled request","request":{"remote_addr":"172.23.0.1:57386","proto":"HTTP/2.0","method":"GET","host":"localhost","uri":"/docs.jsonld","headers":{"Accept-Language":["en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,fr;q=0.6"],"Accept":["*/*"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4892.0 Safari/537.36"],"Caddy-Push":["1"],"Accept-Encoding":["gzip, deflate, br"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"localhost"}},"common_log":"172.23.0.1 - - [22/Feb/2022:07:42:31 +0000] \"GET /docs.jsonld HTTP/2.0\" 502 0","user_id":"","duration":0.0064732,"size":0,"status":502,"resp_headers":{"Server":["Caddy"],"Alt-Svc":["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"]}}
pwa_poc-caddy-1     | {"level":"error","ts":1645515751.989383,"logger":"http.log.access","msg":"handled request","request":{"remote_addr":"172.23.0.1:57386","proto":"HTTP/2.0","method":"GET","host":"localhost","uri":"/.well-known/mercure","headers":{"Caddy-Push":["1"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,fr;q=0.6"],"Accept":["*/*"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4892.0 Safari/537.36"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"localhost"}},"common_log":"172.23.0.1 - - [22/Feb/2022:07:42:31 +0000] \"GET /.well-known/mercure HTTP/2.0\" 400 27","user_id":"","duration":0.0033276,"size":27,"status":400,"resp_headers":{"X-Content-Type-Options":["nosniff"],"X-Xss-Protection":["1; mode=block"],"Content-Security-Policy":["default-src 'self' mercure.rocks cdn.jsdelivr.net"],"Content-Type":["text/plain; charset=utf-8"],"Server":["Caddy"],"Alt-Svc":["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"],"X-Frame-Options":["DENY"]}}
pwa_poc-caddy-1     | {"level":"error","ts":1645515751.998653,"logger":"http.log.access","msg":"handled request","request":{"remote_addr":"172.23.0.1:57386","proto":"HTTP/2.0","method":"GET","host":"localhost","uri":"/.well-known/mercure","headers":{"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,fr;q=0.6"],"Accept":["*/*"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4892.0 Safari/537.36"],"Caddy-Push":["1"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"localhost"}},"common_log":"172.23.0.1 - - [22/Feb/2022:07:42:31 +0000] \"GET /.well-known/mercure HTTP/2.0\" 400 27","user_id":"","duration":0.000763,"size":27,"status":400,"resp_headers":{"Server":["Caddy"],"Alt-Svc":["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"],"Content-Security-Policy":["default-src 'self' mercure.rocks cdn.jsdelivr.net"],"X-Frame-Options":["DENY"],"X-Content-Type-Options":["nosniff"],"X-Xss-Protection":["1; mode=block"],"Content-Type":["text/plain; charset=utf-8"]}}
pwa_poc-caddy-1     | {"level":"error","ts":1645515752.006256,"logger":"http.log.access","msg":"handled request","request":{"remote_addr":"172.23.0.1:57386","proto":"HTTP/2.0","method":"GET","host":"localhost","uri":"/docs.jsonld","headers":{"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,fr;q=0.6"],"Accept":["*/*"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4892.0 Safari/537.36"],"Caddy-Push":["1"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"localhost"}},"common_log":"172.23.0.1 - - [22/Feb/2022:07:42:32 +0000] \"GET /docs.jsonld HTTP/2.0\" 499 0","user_id":"","duration":0.0248192,"size":0,"status":499,"resp_headers":{"Alt-Svc":["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"],"Server":["Caddy"]}}
pwa_poc-caddy-1     | {"level":"error","ts":1645515752.078536,"logger":"http.log.access","msg":"handled request","request":{"remote_addr":"172.23.0.1:57386","proto":"HTTP/2.0","method":"GET","host":"localhost","uri":"/docs.jsonld","headers":{"Accept-Language":["en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,fr;q=0.6"],"Accept":["*/*"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4892.0 Safari/537.36"],"Caddy-Push":["1"],"Accept-Encoding":["gzip, deflate, br"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"localhost"}},"common_log":"172.23.0.1 - - [22/Feb/2022:07:42:32 +0000] \"GET /docs.jsonld HTTP/2.0\" 499 0","user_id":"","duration":0.0098798,"size":0,"status":499,"resp_headers":{"Server":["Caddy"],"Alt-Svc":["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"]}}
pwa_poc-caddy-1     | {"level":"error","ts":1645515752.078812,"logger":"http.log.access","msg":"handled request","request":{"remote_addr":"172.23.0.1:57386","proto":"HTTP/2.0","method":"GET","host":"localhost","uri":"/.well-known/mercure","headers":{"Accept-Language":["en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,fr;q=0.6"],"Accept":["*/*"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4892.0 Safari/537.36"],"Caddy-Push":["1"],"Accept-Encoding":["gzip, deflate, br"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"localhost"}},"common_log":"172.23.0.1 - - [22/Feb/2022:07:42:32 +0000] \"GET /.well-known/mercure HTTP/2.0\" 400 27","user_id":"","duration":0.0063989,"size":27,"status":400,"resp_headers":{"X-Content-Type-Options":["nosniff"],"X-Xss-Protection":["1; mode=block"],"Content-Type":["text/plain; charset=utf-8"],"Server":["Caddy"],"Alt-Svc":["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"],"Content-Security-Policy":["default-src 'self' mercure.rocks cdn.jsdelivr.net"],"X-Frame-Options":["DENY"]}}
pwa_poc-caddy-1     | {"level":"error","ts":1645515753.3844652,"logger":"http.log.access","msg":"handled request","request":{"remote_addr":"172.23.0.1:57386","proto":"HTTP/2.0","method":"GET","host":"localhost","uri":"/.well-known/mercure","headers":{"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,fr;q=0.6"],"Accept":["*/*"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4892.0 Safari/537.36"],"Caddy-Push":["1"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"localhost"}},"common_log":"172.23.0.1 - - [22/Feb/2022:07:42:33 +0000] \"GET /.well-known/mercure HTTP/2.0\" 400 27","user_id":"","duration":0.0002824,"size":27,"status":400,"resp_headers":{"X-Frame-Options":["DENY"],"X-Content-Type-Options":["nosniff"],"X-Xss-Protection":["1; mode=block"],"Content-Security-Policy":["default-src 'self' mercure.rocks cdn.jsdelivr.net"],"Content-Type":["text/plain; charset=utf-8"],"Server":["Caddy"],"Alt-Svc":["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"]}}
pwa_poc-caddy-1     | {"level":"error","ts":1645515753.4167128,"logger":"http.log.access","msg":"handled request","request":{"remote_addr":"172.23.0.1:57386","proto":"HTTP/2.0","method":"GET","host":"localhost","uri":"/docs.jsonld","headers":{"Caddy-Push":["1"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,fr;q=0.6"],"Accept":["*/*"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4892.0 Safari/537.36"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"localhost"}},"common_log":"172.23.0.1 - - [22/Feb/2022:07:42:33 +0000] \"GET /docs.jsonld HTTP/2.0\" 499 0","user_id":"","duration":0.0333328,"size":0,"status":499,"resp_headers":{"Server":["Caddy"],"Alt-Svc":["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"]}}
pwa_poc-caddy-1     | {"level":"error","ts":1645515753.966676,"logger":"http.log.access","msg":"handled request","request":{"remote_addr":"172.23.0.1:57386","proto":"HTTP/2.0","method":"GET","host":"localhost","uri":"/.well-known/mercure","headers":{"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,fr;q=0.6"],"Accept":["image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4892.0 Safari/537.36"],"Caddy-Push":["1"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"localhost"}},"common_log":"172.23.0.1 - - [22/Feb/2022:07:42:33 +0000] \"GET /.well-known/mercure HTTP/2.0\" 400 27","user_id":"","duration":0.000383,"size":27,"status":400,"resp_headers":{"Content-Security-Policy":["default-src 'self' mercure.rocks cdn.jsdelivr.net"],"Content-Type":["text/plain; charset=utf-8"],"Server":["Caddy"],"Alt-Svc":["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"],"X-Frame-Options":["DENY"],"X-Content-Type-Options":["nosniff"],"X-Xss-Protection":["1; mode=block"]}}
pwa_poc-caddy-1     | {"level":"error","ts":1645515753.9720862,"logger":"http.log.access","msg":"handled request","request":{"remote_addr":"172.23.0.1:57386","proto":"HTTP/2.0","method":"GET","host":"localhost","uri":"/docs.jsonld","headers":{"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4892.0 Safari/537.36"],"Caddy-Push":["1"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,fr;q=0.6"],"Accept":["image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"localhost"}},"common_log":"172.23.0.1 - - [22/Feb/2022:07:42:33 +0000] \"GET /docs.jsonld HTTP/2.0\" 499 0","user_id":"","duration":0.0061954,"size":0,"status":499,"resp_headers":{"Server":["Caddy"],"Alt-Svc":["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"]}}
pwa_poc-caddy-1     | {"level":"error","ts":1645515763.4751859,"logger":"http.log.access","msg":"handled request","request":{"remote_addr":"172.23.0.1:57386","proto":"HTTP/2.0","method":"GET","host":"localhost","uri":"/.well-known/mercure","headers":{"Accept-Language":["en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,fr;q=0.6"],"Accept":["*/*"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4892.0 Safari/537.36"],"Caddy-Push":["1"],"Accept-Encoding":["gzip, deflate, br"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"localhost"}},"common_log":"172.23.0.1 - - [22/Feb/2022:07:42:43 +0000] \"GET /.well-known/mercure HTTP/2.0\" 400 27","user_id":"","duration":0.000498,"size":27,"status":400,"resp_headers":{"Server":["Caddy"],"Alt-Svc":["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"],"X-Frame-Options":["DENY"],"X-Content-Type-Options":["nosniff"],"X-Xss-Protection":["1; mode=block"],"Content-Security-Policy":["default-src 'self' mercure.rocks cdn.jsdelivr.net"],"Content-Type":["text/plain; charset=utf-8"]}}
pwa_poc-caddy-1     | {"level":"error","ts":1645515763.4896624,"logger":"http.log.access","msg":"handled request","request":{"remote_addr":"172.23.0.1:57386","proto":"HTTP/2.0","method":"GET","host":"localhost","uri":"/docs.jsonld","headers":{"Caddy-Push":["1"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,fr;q=0.6"],"Accept":["*/*"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4892.0 Safari/537.36"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"localhost"}},"common_log":"172.23.0.1 - - [22/Feb/2022:07:42:43 +0000] \"GET /docs.jsonld HTTP/2.0\" 499 0","user_id":"","duration":0.015551,"size":0,"status":499,"resp_headers":{"Server":["Caddy"],"Alt-Svc":["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"]}}
pwa_poc-pwa-1       | wait  - compiling /admin...
pwa_poc-caddy-1     | {"level":"error","ts":1645515765.3212354,"logger":"http.log.access","msg":"handled request","request":{"remote_addr":"172.23.0.1:57386","proto":"HTTP/2.0","method":"GET","host":"localhost","uri":"/.well-known/mercure","headers":{"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4892.0 Safari/537.36"],"Caddy-Push":["1"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,fr;q=0.6"],"Accept":["*/*"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"localhost"}},"common_log":"172.23.0.1 - - [22/Feb/2022:07:42:45 +0000] \"GET /.well-known/mercure HTTP/2.0\" 400 27","user_id":"","duration":0.0007124,"size":27,"status":400,"resp_headers":{"Server":["Caddy"],"Alt-Svc":["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"],"X-Frame-Options":["DENY"],"X-Content-Type-Options":["nosniff"],"X-Xss-Protection":["1; mode=block"],"Content-Security-Policy":["default-src 'self' mercure.rocks cdn.jsdelivr.net"],"Content-Type":["text/plain; charset=utf-8"]}}
pwa_poc-caddy-1     | {"level":"error","ts":1645515765.3349047,"logger":"http.log.access","msg":"handled request","request":{"remote_addr":"172.23.0.1:57386","proto":"HTTP/2.0","method":"GET","host":"localhost","uri":"/docs.jsonld","headers":{"Accept-Language":["en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,fr;q=0.6"],"Accept":["*/*"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4892.0 Safari/537.36"],"Caddy-Push":["1"],"Accept-Encoding":["gzip, deflate, br"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"localhost"}},"common_log":"172.23.0.1 - - [22/Feb/2022:07:42:45 +0000] \"GET /docs.jsonld HTTP/2.0\" 499 0","user_id":"","duration":0.0167999,"size":0,"status":499,"resp_headers":{"Alt-Svc":["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"],"Server":["Caddy"]}}
pwa_poc-pwa-1       | event - compiled client and server successfully in 2.1s (1834 modules)
pwa_poc-caddy-1     | {"level":"error","ts":1645515765.6509328,"logger":"http.log.access","msg":"handled request","request":{"remote_addr":"172.23.0.1:57386","proto":"HTTP/2.0","method":"GET","host":"localhost","uri":"/.well-known/mercure","headers":{"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4892.0 Safari/537.36"],"Caddy-Push":["1"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,fr;q=0.6"],"Accept":["*/*"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"localhost"}},"common_log":"172.23.0.1 - - [22/Feb/2022:07:42:45 +0000] \"GET /.well-known/mercure HTTP/2.0\" 400 27","user_id":"","duration":0.0003973,"size":27,"status":400,"resp_headers":{"X-Xss-Protection":["1; mode=block"],"Content-Security-Policy":["default-src 'self' mercure.rocks cdn.jsdelivr.net"],"Content-Type":["text/plain; charset=utf-8"],"Server":["Caddy"],"Alt-Svc":["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"],"X-Frame-Options":["DENY"],"X-Content-Type-Options":["nosniff"]}}
pwa_poc-caddy-1     | {"level":"error","ts":1645515765.6530578,"logger":"http.log.access","msg":"handled request","request":{"remote_addr":"172.23.0.1:57386","proto":"HTTP/2.0","method":"GET","host":"localhost","uri":"/docs.jsonld","headers":{"Accept-Language":["en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,fr;q=0.6"],"Accept":["*/*"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4892.0 Safari/537.36"],"Caddy-Push":["1"],"Accept-Encoding":["gzip, deflate, br"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"localhost"}},"common_log":"172.23.0.1 - - [22/Feb/2022:07:42:45 +0000] \"GET /docs.jsonld HTTP/2.0\" 499 0","user_id":"","duration":0.0037776,"size":0,"status":499,"resp_headers":{"Server":["Caddy"],"Alt-Svc":["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"]}}
pwa_poc-caddy-1     | {"level":"error","ts":1645515765.6792018,"logger":"http.log.access","msg":"handled request","request":{"remote_addr":"172.23.0.1:57386","proto":"HTTP/2.0","method":"GET","host":"localhost","uri":"/.well-known/mercure","headers":{"Accept-Language":["en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,fr;q=0.6"],"Accept":["*/*"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4892.0 Safari/537.36"],"Caddy-Push":["1"],"Accept-Encoding":["gzip, deflate, br"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"localhost"}},"common_log":"172.23.0.1 - - [22/Feb/2022:07:42:45 +0000] \"GET /.well-known/mercure HTTP/2.0\" 400 27","user_id":"","duration":0.0003765,"size":27,"status":400,"resp_headers":{"Alt-Svc":["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"],"X-Frame-Options":["DENY"],"X-Content-Type-Options":["nosniff"],"X-Xss-Protection":["1; mode=block"],"Content-Security-Policy":["default-src 'self' mercure.rocks cdn.jsdelivr.net"],"Content-Type":["text/plain; charset=utf-8"],"Server":["Caddy"]}}
pwa_poc-caddy-1     | {"level":"error","ts":1645515765.6861777,"logger":"http.log.access","msg":"handled request","request":{"remote_addr":"172.23.0.1:57386","proto":"HTTP/2.0","method":"GET","host":"localhost","uri":"/docs.jsonld","headers":{"Accept":["*/*"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4892.0 Safari/537.36"],"Caddy-Push":["1"],"Accept-Encoding":["gzip, deflate, br"],"Accept-Language":["en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,fr;q=0.6"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"localhost"}},"common_log":"172.23.0.1 - - [22/Feb/2022:07:42:45 +0000] \"GET /docs.jsonld HTTP/2.0\" 499 0","user_id":"","duration":0.0110982,"size":0,"status":499,"resp_headers":{"Server":["Caddy"],"Alt-Svc":["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"]}}
pwa_poc-caddy-1     | {"level":"error","ts":1645515767.9692233,"logger":"http.log.error","msg":"dialing backend: dial unix /var/run/php/php-fpm.sock: connect: connection refused","request":{"remote_addr":"172.23.0.1:57386","proto":"HTTP/2.0","method":"GET","host":"localhost","uri":"/","headers":{"Sec-Fetch-Dest":["empty"],"Sec-Ch-Ua":["\"(Not(A:Brand\";v=\"8\", \"Chromium\";v=\"100\", \"Google Chrome\";v=\"100\""],"Dnt":["1"],"Sec-Ch-Ua-Mobile":["?0"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4892.0 Safari/537.36"],"Accept":["*/*"],"Sec-Fetch-Site":["same-origin"],"Sec-Fetch-Mode":["cors"],"Accept-Encoding":["gzip, deflate, br"],"Sec-Ch-Ua-Platform":["\"macOS\""],"Referer":["https://localhost/admin"],"Accept-Language":["en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,fr;q=0.6"],"Cookie":["Phpstorm-ba181344=58ec466c-9d95-48e9-8f40-ea630e02e3f4; phpMyAdmin=1a5329ffcaa259c31403b6957f1a924f; oldOrderId=0472e9b8-8c1c-400b-9f25-9d90fd7aad9a"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"localhost"}},"duration":0.0082123,"status":502,"err_id":"x2gv4uf5c","err_trace":"reverseproxy.statusError (reverseproxy.go:886)"}
pwa_poc-caddy-1     | {"level":"error","ts":1645515767.9698124,"logger":"http.log.access","msg":"handled request","request":{"remote_addr":"172.23.0.1:57386","proto":"HTTP/2.0","method":"GET","host":"localhost","uri":"/","headers":{"Sec-Ch-Ua-Platform":["\"macOS\""],"Referer":["https://localhost/admin"],"Accept-Language":["en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,fr;q=0.6"],"Cookie":["Phpstorm-ba181344=58ec466c-9d95-48e9-8f40-ea630e02e3f4; phpMyAdmin=1a5329ffcaa259c31403b6957f1a924f; oldOrderId=0472e9b8-8c1c-400b-9f25-9d90fd7aad9a"],"Sec-Fetch-Site":["same-origin"],"Sec-Fetch-Mode":["cors"],"Sec-Fetch-Dest":["empty"],"Sec-Ch-Ua":["\"(Not(A:Brand\";v=\"8\", \"Chromium\";v=\"100\", \"Google Chrome\";v=\"100\""],"Dnt":["1"],"Sec-Ch-Ua-Mobile":["?0"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4892.0 Safari/537.36"],"Accept":["*/*"],"Accept-Encoding":["gzip, deflate, br"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"localhost"}},"common_log":"172.23.0.1 - - [22/Feb/2022:07:42:47 +0000] \"GET / HTTP/2.0\" 502 0","user_id":"","duration":0.0082123,"size":0,"status":502,"resp_headers":{"Server":["Caddy"],"Alt-Svc":["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"]}}
pwa_poc-caddy-1     | {"level":"error","ts":1645515768.154153,"logger":"http.log.error","msg":"dialing backend: dial unix /var/run/php/php-fpm.sock: connect: connection refused","request":{"remote_addr":"172.23.0.1:57386","proto":"HTTP/2.0","method":"GET","host":"localhost","uri":"/__nextjs_original-stack-frame?isServerSide=false&file=webpack-internal%3A%2F%2F%2F.%2Fnode_modules%2F%40api-platform%2Fadmin%2Flib%2Fhydra%2FdataProvider.js&methodName=eval&arguments=&lineNumber=631&column=13","headers":{"Accept":["*/*"],"Sec-Fetch-Mode":["cors"],"Accept-Encoding":["gzip, deflate, br"],"Sec-Ch-Ua":["\"(Not(A:Brand\";v=\"8\", \"Chromium\";v=\"100\", \"Google Chrome\";v=\"100\""],"Dnt":["1"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4892.0 Safari/537.36"],"Sec-Fetch-Dest":["empty"],"Referer":["https://localhost/admin"],"Accept-Language":["en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,fr;q=0.6"],"Cookie":["Phpstorm-ba181344=58ec466c-9d95-48e9-8f40-ea630e02e3f4; phpMyAdmin=1a5329ffcaa259c31403b6957f1a924f; oldOrderId=0472e9b8-8c1c-400b-9f25-9d90fd7aad9a"],"Sec-Ch-Ua-Mobile":["?0"],"Sec-Ch-Ua-Platform":["\"macOS\""],"Sec-Fetch-Site":["same-origin"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"localhost"}},"duration":0.0045508,"status":502,"err_id":"bwkee5654","err_trace":"reverseproxy.statusError (reverseproxy.go:886)"}
pwa_poc-caddy-1     | {"level":"error","ts":1645515768.1542382,"logger":"http.log.access","msg":"handled request","request":{"remote_addr":"172.23.0.1:57386","proto":"HTTP/2.0","method":"GET","host":"localhost","uri":"/__nextjs_original-stack-frame?isServerSide=false&file=webpack-internal%3A%2F%2F%2F.%2Fnode_modules%2F%40api-platform%2Fadmin%2Flib%2Fhydra%2FdataProvider.js&methodName=eval&arguments=&lineNumber=631&column=13","headers":{"Sec-Fetch-Mode":["cors"],"Accept-Encoding":["gzip, deflate, br"],"Sec-Ch-Ua":["\"(Not(A:Brand\";v=\"8\", \"Chromium\";v=\"100\", \"Google Chrome\";v=\"100\""],"Dnt":["1"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4892.0 Safari/537.36"],"Accept":["*/*"],"Referer":["https://localhost/admin"],"Accept-Language":["en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7,fr;q=0.6"],"Cookie":["Phpstorm-ba181344=58ec466c-9d95-48e9-8f40-ea630e02e3f4; phpMyAdmin=1a5329ffcaa259c31403b6957f1a924f; oldOrderId=0472e9b8-8c1c-400b-9f25-9d90fd7aad9a"],"Sec-Ch-Ua-Mobile":["?0"],"Sec-Ch-Ua-Platform":["\"macOS\""],"Sec-Fetch-Site":["same-origin"],"Sec-Fetch-Dest":["empty"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"localhost"}},"common_log":"172.23.0.1 - - [22/Feb/2022:07:42:48 +0000] \"GET /__nextjs_original-stack-frame?isServerSide=false&file=webpack-internal%3A%2F%2F%2F.%2Fnode_modules%2F%40api-platform%2Fadmin%2Flib%2Fhydra%2FdataProvider.js&methodName=eval&arguments=&lineNumber=631&column=13 HTTP/2.0\" 502 0","user_id":"","duration":0.0045508,"size":0,"status":502,"resp_headers":{"Server":["Caddy"],"Alt-Svc":["h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"]}}

The state of the containers:

~>docker ps
CONTAINER ID   IMAGE                COMMAND                  CREATED          STATUS                      PORTS                                                                      NAMES
7d4e3bf5600b   pwa_poc_caddy        "caddy run --config …"   42 minutes ago   Up 42 minutes               0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp, 0.0.0.0:443->443/udp, 2019/tcp   pwa_poc-caddy-1
b694dad62cc3   pwa_poc_php          "docker-entrypoint p…"   42 minutes ago   Up 42 minutes (unhealthy)   9000/tcp                                                                   pwa_poc-php-1
59a3bbb7adb4   pwa_poc_pwa          "docker-entrypoint.s…"   42 minutes ago   Up 42 minutes               3000/tcp                                                                   pwa_poc-pwa-1
543630e692bd   postgres:13-alpine   "docker-entrypoint.s…"   42 minutes ago   Up 42 minutes               0.0.0.0:5432->5432/tcp                                                     pwa_poc-database-1

Running any command using bin/console will also hang. Running any composer command will execute and hang on the same log.

I've already tried to 'give it a bit more time' but after 6hrs nothing has changed.

krstns commented 2 years ago

Also checked what's happening on the container, top command yields:

  PID  PPID USER     STAT   VSZ %VSZ CPU %CPU COMMAND
   13     1 root     D     138m   4%   3   0% php /usr/bin/composer install --prefer-dist --no-progress --no-interaction