PiSupply / iot-lora-image

RPi SD Card Image for IoT LoRa Range
11 stars 6 forks source link

504 gateway timeouts #14

Closed ukscone closed 4 years ago

ukscone commented 5 years ago

After the first time i look at the dashboard I get a lot of 504 gateway timeout nginx..... errors. refresh will sometimes work but eventually it'll end up on a 504 page and that's it. the dashboard will not come up again

ryanteck commented 5 years ago

I have to say that is rather weird as that's PHP getting into a loop or something. I haven't experienced this at all.

With this and PiSupply/iot-pi-gen#7 it sounds like the image might not have flashed properly. However I also want to create a new image and upload it to the Drive shortly. It sounds like it could be related to the compilation issues we had.

I'll get a new image up either Tomorrow or Monday and see how that works as I think it might resolve both PiSupply/iot-pi-gen#7 and PiSupply/iot-pi-gen#8

ryanteck commented 5 years ago

This should also be fixed in the latest image. But will do some more testing before.

ryanteck commented 5 years ago

I haven't been able to still reproduce this issue. If once I get the new SD card image up you can re-test for me @ukscone that would be great.

ryanteck commented 4 years ago

Still have not been able to replicate this however have implemented some precautionary changes.

@ukscone When the new SD Card is ready I'll ask you to test this out to see if this issue is fixed if that's OK. Target is next Sunday for release.

To-Do:

ryanteck commented 4 years ago

This requires the following modifications: in php.ini max_execution_time=300 in www.conf request_terminate_timeout = 300 in nginx.conf fastcgi_read_timeout 300;

ukscone commented 4 years ago

ok will tryout the new sd image when it's ready

ryanteck commented 4 years ago

@ukscone The new SD Card image is up at https://github.com/PiSupply/iot-lora-image/releases/tag/2019-07-27