Open Transmitt0r opened 2 years ago
So when i follow the instructions and launch a container, with 8086 forwarded, I can see and interact with the UI but I cannot use the API with the provided postman collection. No matter what I do, the server always returns 404. Here are some logs:
/docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/ /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh /docker-entrypoint.sh: Configuration complete; ready for start up 2022/10/10 12:59:48 [notice] 1#1: using the "epoll" event method 2022/10/10 12:59:48 [notice] 1#1: nginx/1.21.1 2022/10/10 12:59:48 [notice] 1#1: built by gcc 10.3.1 20210424 (Alpine 10.3.1_git20210424) 2022/10/10 12:59:48 [notice] 1#1: OS: Linux 5.10.102.1-microsoft-standard-WSL2 2022/10/10 12:59:48 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576 2022/10/10 12:59:48 [notice] 1#1: start worker processes 2022/10/10 12:59:48 [notice] 1#1: start worker process 32 2022/10/10 12:59:48 [notice] 1#1: start worker process 33 2022/10/10 12:59:48 [notice] 1#1: start worker process 34 2022/10/10 12:59:48 [notice] 1#1: start worker process 35 127.0.0.1 - - [10/Oct/2022:13:01:58 +0000] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36 Edg/106.0.1370.37" "-" 127.0.0.1 - - [10/Oct/2022:13:02:01 +0000] "GET /flutter_service_worker.js?v=2208501651 HTTP/1.1" 200 8049 "http://localhost:8086/flutter_service_worker.js?v=2208501651" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36 Edg/106.0.1370.37" "-" 2022/10/10 13:05:59 [error] 34#34: *3 open() "/usr/share/nginx/html/exve/vehicles" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /exve/vehicles HTTP/1.1", host: "localhost:8086" 127.0.0.1 - - [10/Oct/2022:13:05:59 +0000] "GET /exve/vehicles HTTP/1.1" 404 153 "-" "PostmanRuntime/7.29.2" "-" 127.0.0.1 - - [10/Oct/2022:13:07:29 +0000] "GET / HTTP/1.1" 200 1723 "-" "PostmanRuntime/7.29.2" "-" 127.0.0.1 - - [10/Oct/2022:13:07:49 +0000] "GET /exve HTTP/1.1" 404 153 "-" "PostmanRuntime/7.29.2" "-" 2022/10/10 13:07:49 [error] 34#34: *5 open() "/usr/share/nginx/html/exve" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /exve HTTP/1.1", host: "localhost:8086" 127.0.0.1 - - [10/Oct/2022:13:08:30 +0000] "GET /simulator/events HTTP/1.1" 404 153 "-" "PostmanRuntime/7.29.2" "-" 2022/10/10 13:08:30 [error] 34#34: *5 open() "/usr/share/nginx/html/simulator/events" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /simulator/events HTTP/1.1", host: "localhost:8086" 2022/10/10 13:09:21 [error] 34#34: *5 open() "/usr/share/nginx/html/simulator/info" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /simulator/info HTTP/1.1", host: "localhost:8086" 127.0.0.1 - - [10/Oct/2022:13:09:21 +0000] "GET /simulator/info HTTP/1.1" 404 153 "-" "PostmanRuntime/7.29.2" "-" 127.0.0.1 - - [10/Oct/2022:13:09:40 +0000] "GET / HTTP/1.1" 200 1723 "-" "curl/7.78.0" "-" 127.0.0.1 - - [10/Oct/2022:13:09:40 +0000] "GET /simulator/info HTTP/1.1" 404 153 "-" "curl/7.78.0" "-" 2022/10/10 13:09:40 [error] 34#34: *6 open() "/usr/share/nginx/html/simulator/info" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /simulator/info HTTP/1.1", host: "localhost:8086" 2022/10/10 13:10:16 [error] 34#34: *5 open() "/usr/share/nginx/html/exve/vehicles/1/brakePedalPositions" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /exve/vehicles/1/brakePedalPositions HTTP/1.1", host: "localhost:8086" 127.0.0.1 - - [10/Oct/2022:13:10:16 +0000] "GET /exve/vehicles/1/brakePedalPositions HTTP/1.1" 404 153 "-" "PostmanRuntime/7.29.2" "-" 127.0.0.1 - - [10/Oct/2022:13:14:12 +0000] "GET /exve/vehicles/1/brakePedalPositions HTTP/1.1" 404 153 "-" "PostmanRuntime/7.29.2" "-" 2022/10/10 13:14:12 [error] 34#34: *7 open() "/usr/share/nginx/html/exve/vehicles/1/brakePedalPositions" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /exve/vehicles/1/brakePedalPositions HTTP/1.1", host: "localhost:8086" 2022/10/10 13:14:56 [error] 34#34: *7 open() "/usr/share/nginx/html/exve/vehicles" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /exve/vehicles HTTP/1.1", host: "localhost:8086" 127.0.0.1 - - [10/Oct/2022:13:14:56 +0000] "GET /exve/vehicles HTTP/1.1" 404 153 "-" "PostmanRuntime/7.29.2" "-"
So when i follow the instructions and launch a container, with 8086 forwarded, I can see and interact with the UI but I cannot use the API with the provided postman collection. No matter what I do, the server always returns 404. Here are some logs: