localdevices / libre360

GNU Affero General Public License v3.0
17 stars 5 forks source link

Internal error after triggering a lengthy download of data #143

Open smathermather opened 3 years ago

smathermather commented 3 years ago

After triggering a lengthy download of data, I tried stopping the service and get:

Internal Server Error The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

My hunch is this is due to how we've launched flask and tied in with issue #132, but I thought I would open this here in case 132 isn't a fix, and my hunch is wrong

smathermather commented 3 years ago

Confirmed that I am able to toggle the service off after the download is complete, which strengthens my suspicion that this will be fixed by 132.

hcwinsemius commented 3 years ago

We can also disable download during the service. I don't think we should download anyway during a survey.

Op di 17 nov. 2020 17:38 schreef Stephen Mather notifications@github.com:

Confirmed that I am able to toggle the service off after the download is complete, which strengthens my suspicion that this will be fixed by 132.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/OpenDroneMap/odm360/issues/143#issuecomment-729049998, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2NZMICH6LOATHT7TXTF4TSQKRJPANCNFSM4TYZZYFA .

smathermather commented 3 years ago

Yes, this probably should be changed. But I suspect a lot of functions fail during download, likely due to lack of concurrency support.