The problem is that the server version on heroku runs without problems, but when it deployed on aws I get a âCannot POST /hooksâ error.
Can you tell me what the problem may be?
Logs from server:
172.31.91.215 - - [24/Feb/2023:14:20:34 +0000] "GET / HTTP/1.1" 404 139 "-" "ELB-HealthChecker/2.0" "-"
172.31.33.212 - - [24/Feb/2023:14:20:37 +0000] "GET / HTTP/1.1" 404 139 "-" "ELB-HealthChecker/2.0" "-"
172.31.33.212 - - [24/Feb/2023:14:20:44 +0000] "OPTIONS /server/functions/getPluginSpecs HTTP/1.1" 204 0 "http://localhost:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36" "188.163.43.216"
172.31.33.212 - - [24/Feb/2023:14:20:44 +0000] "OPTIONS /server/functions/getPluginSpecs HTTP/1.1" 204 0 "http://localhost:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36" "188.163.43.216"
172.31.33.212 - - [24/Feb/2023:14:20:44 +0000] "POST /server/functions/getPluginSpecs HTTP/1.1" 200 13 "http://localhost:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36" "188.163.43.216"
172.31.33.212 - - [24/Feb/2023:14:20:44 +0000] "POST /server/functions/getPluginSpecs HTTP/1.1" 200 13 "http://localhost:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36" "188.163.43.216"
172.31.33.212 - - [24/Feb/2023:14:20:45 +0000] "OPTIONS /server/functions/getTokenBalances HTTP/1.1" 204 0 "http://localhost:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36" "188.163.43.216"
172.31.33.212 - - [24/Feb/2023:14:20:47 +0000] "POST /server/functions/getTokenBalances HTTP/1.1" 200 9654 "http://localhost:5000/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36" "188.163.43.216"
172.31.91.215 - - [24/Feb/2023:14:20:49 +0000] "GET / HTTP/1.1" 404 139 "-" "ELB-HealthChecker/2.0" "-"
172.31.33.212 - - [24/Feb/2023:14:20:52 +0000] "GET / HTTP/1.1" 404 139 "-" "ELB-HealthChecker/2.0" "-"
172.31.91.215 - - [24/Feb/2023:14:21:04 +0000] "GET / HTTP/1.1" 404 139 "-" "ELB-HealthChecker/2.0" "-"
172.31.33.212 - - [24/Feb/2023:14:21:07 +0000] "GET / HTTP/1.1" 404 139 "-" "ELB-HealthChecker/2.0" "-"
172.31.33.212 - - [24/Feb/2023:14:21:13 +0000] "POST /hooks HTTP/1.1" 404 145 "-" "PostmanRuntime/7.29.2" "188.163.43.216"
172.31.33.212 - - [24/Feb/2023:14:21:15 +0000] "POST /hooks HTTP/1.1" 404 145 "-" "PostmanRuntime/7.29.2" "188.163.43.216"
172.31.91.215 - - [24/Feb/2023:14:21:19 +0000] "GET / HTTP/1.1" 404 139 "-" "ELB-HealthChecker/2.0" "-"