502 Bad Gateway

Hi,
So i managed to get rid of 500 error (SMTP) somehow but now when i am trying to register a new user after a minute or two it shows me 502 bad gateway.

I have tried to look into run.py --logs and it shows nothing just no useful info but i will paste an image, any idea what is the bad gateway error ?

Hi @Elie,

Would you mind having a look at some of the post that has been discussed earlier on the same issue. It should help solve your issue:

Have a great day!

Hi @Kal_Lam

I will try to enable debugging and see if anything shows.but where do i look for the debugging log of the 502 ?

Hi @Elie,

Have a great day!

is this anyhow related?

bumping for any help.

i found this error in access.log
172.25.0.8 - 7c7a72da73fb5aaf132815efbeca2cf37768b760cbe2d5e9d693e8fc949f422eb72ec9333f875b5be9e498788900672b0fb099f075aa5ee9c325d34c [23/Jun/2020:11:35:49 +0000] “POST /api/v2/survey/all HTTP/1.1” 404 134 “-” “python-requests/2.22.0”
172.25.0.7 - - [23/Jun/2020:11:35:52 +0000] “GET /api/v2/asset_snapshots/sEKqZdvNUkgGrppQxteidJ.xml HTTP/1.1” 404 162 “-” “-”

the ip 172.25.x.x is currently used by my network, is it possible to alter the ip ?

You can pull latest version of kobo-install and not exposed backend ports.

1 Like

i am already on latest version without exposed ports.
i have created a daemon.js in /etc/docker/ and tried to use another subnet but without any success i was looking in kobo-docker for errors in log and i found those errors in kpi.errror.log