Closed MustafaJafar closed 11 months ago
Hello, please, excuse my lack of knowledge of docker.
This docker image runs perfectly on my linux virtual machine. but, I couldn't run it on my windows machine.
My setup: I've
docker compose up -d
127.0.0.1:8800
then I faced this error
Here are server log.
2023-11-21 22:15:57 cgwire-zou-app | Resetting search index. 2023-11-21 22:15:57 cgwire-zou-app | 0 assets indexed 2023-11-21 22:15:57 cgwire-zou-app | 1 persons indexed 2023-11-21 22:15:57 cgwire-zou-app | 0 shots indexed 2023-11-21 22:15:57 cgwire-zou-app | Search index resetted. 2023-11-21 22:15:57 cgwire-zou-app | [2023-11-21 20:15:57 +0000] [1] [INFO] Starting gunicorn 21.2.0 2023-11-21 22:15:57 cgwire-zou-app | [2023-11-21 20:15:57 +0000] [1] [INFO] Listening at: http://0.0.0.0:5000 (1) 2023-11-21 22:15:57 cgwire-zou-app | [2023-11-21 20:15:57 +0000] [1] [INFO] Using worker: gevent 2023-11-21 22:15:57 cgwire-zou-app | [2023-11-21 20:15:57 +0000] [11] [INFO] Booting worker with pid: 11 2023-11-21 22:15:58 cgwire-zou-app | [2023-11-21 20:15:58 +0000] [12] [INFO] Booting worker with pid: 12 2023-11-21 22:15:58 cgwire-zou-app | [2023-11-21 20:15:58 +0000] [13] [INFO] Booting worker with pid: 13 2023-11-21 22:17:57 cgwire-kitsu | 172.19.0.1 - - [21/Nov/2023:20:17:57 +0000] "GET / HTTP/1.1" 500 579 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36" 2023-11-21 22:17:57 cgwire-kitsu | 2023/11/21 20:17:57 [error] 21#21: *1 rewrite or internal redirection cycle while internally redirecting to "/index.html", client: 172.19.0.1, server: localhost, request: "GET / HTTP/1.1", host: "127.0.0.1:8800" 2023-11-21 22:17:57 cgwire-kitsu | 2023/11/21 20:17:57 [error] 21#21: *2 rewrite or internal redirection cycle while internally redirecting to "/index.html", client: 172.19.0.1, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "127.0.0.1:8800", referrer: "http://127.0.0.1:8800/" 2023-11-21 22:17:57 cgwire-kitsu | 172.19.0.1 - - [21/Nov/2023:20:17:57 +0000] "GET /favicon.ico HTTP/1.1" 500 579 "http://127.0.0.1:8800/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"
Additional info: this is what I see when going to -> http://localhost:8800/api/status
http://localhost:8800/api/status
{"name":"Zou","version":"0.17.50","database-up":true,"key-value-store-up":true,"event-stream-up":true,"job-queue-up":true,"indexer-up":true}
I think the problem somehow relates to wsl networking.
Closing this issue as the docker image works perfectly fine on my Linux virtual machine. I believe the problem is in Windows WSL2 Networking.
Hello, please, excuse my lack of knowledge of docker.
This docker image runs perfectly on my linux virtual machine. but, I couldn't run it on my windows machine.
My setup: I've
docker compose up -d
127.0.0.1:8800
then I faced this error
Here are server log.
Additional info: this is what I see when going to ->
http://localhost:8800/api/status
I think the problem somehow relates to wsl networking.