kartevonmorgen / kartevonmorgen.ts

Mapping-Frontend to find and add sustainable Organisations (Initiatives, Companies) and Events on Kartevonmorgen.org / MapofTomorrow.org
https://kartevonmorgen.org/
GNU General Public License v3.0
11 stars 12 forks source link

Increas timeout for fetching config file #207

Closed wellemut closed 4 months ago

wellemut commented 4 months ago

Describe the bug The Map App is stopping. One reason could be, that the config file cant get loaded, Maybe the config file in the nextcloud is blocked by nextcloud, because the nextcloud is using/syncing the file.

But that is a bad implementation as an App should not crush completly, just because an API or a config file is not availiabl.

Solution

Increas timeout for fetching config file from 10 sec. to 60 sec.

To Reproduce happens sometimes, you never know when...

Expected behavior stable loading of the map-app. If an API or file is unavalible I expect a popup or an error message.

Screenshots grafik

Additional context The Backend got an update In the beginning of April, so the backend shouldnot be the reason for the bug.

Next step to solve the problem is: https://github.com/kartevonmorgen/kartevonmorgen.ts/issues/208