kartoza / geosafe

InaSAFE package for Geonode
GNU General Public License v3.0
7 stars 16 forks source link

502 after deleting layer #527

Open gubuntu opened 5 years ago

gubuntu commented 5 years ago

I deleted Saravana's MMI hazard layer as it and the other layers involved in his Indian analysis do not belong on the Mozambique instance. I wanted to delete the exposure and impact layers as well but got a 502 on the layer view

lucernae commented 5 years ago

I think the 502 is unrelated with the layer deletion, since I can see the web page. But this is still an issue and probably related with how we should scale if there are many users try to access the web app (since 502 means nginx can't find more workers and all the current uwsgi workers is busy)

gubuntu commented 5 years ago

this seems to be specific to Firefox. No issue on Chrome

lucernae commented 5 years ago

I don't understand. Firefox does seems to work (I tried it now). So, I think by chance you experienced the exact moment when it doesn't have uwsgi workers, so it may still be an issue in the future. I'm going to try to increase the number of uwsgi workers inside the container.

gubuntu commented 5 years ago

but it's still giving a 502 after a long while, logging in and out, closing and opening the tab, hard refresh. Cookie issue perhaps?