Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR - could not download 6 tiles: #210

Closed
PipeItToDevNull opened this issue Jul 12, 2022 · 7 comments · Fixed by #211
Closed

ERROR - could not download 6 tiles: #210

PipeItToDevNull opened this issue Jul 12, 2022 · 7 comments · Fixed by #211
Labels
api bug v0.6.x Issues planned in versions 0.6.x

Comments

@PipeItToDevNull
Copy link

PipeItToDevNull commented Jul 12, 2022

I have been using the app for several months without issue, suddenly I could not upload any more gpx files.

I updated to v0.6.9 from 6.1 or 3? I think but the issue persists.

When uploading a GPX I see the following error with several URLs listed. I can load these URLs in a browser and curl them on the host fine 2022/07/12 03:10:13 - fittrackee - ERROR - could not download 6 tiles:

Note: Uploading old, already loaded GPX files appears to produce the same issue

@PipeItToDevNull PipeItToDevNull changed the title 2022/07/12 03:10:13 - fittrackee - ERROR - could not download 6 tiles: ERROR - could not download 6 tiles: Jul 12, 2022
@SamR1
Copy link
Owner

SamR1 commented Jul 12, 2022

Hi,

It seems OSM is blocking tiles download (used to generate the static map images), which prevents the workout creation. I'll fix this.

In the meantime, as a workaround, you can enable the default tile server by setting DEFAULT_STATICMAP to true (the staticmap will be generated with Koomot.de tile server) or set another tile server that works without subdomains (see TILE_SERVER_URL).

@SamR1 SamR1 added bug api v0.6.x Issues planned in versions 0.6.x labels Jul 12, 2022
@PipeItToDevNull
Copy link
Author

Awesome, but apparently I am a monkey. In my .env I have

DEFAULT_STATICMAP=true

But it tries to download it from 'https://tile.openstreetmap.org/##/###/###.png') still

I may just need to blow up my current data set and load it back in

@SamR1
Copy link
Owner

SamR1 commented Jul 13, 2022

sorry my bad, the value for DEFAULT_STATICMAP should be equal to True.
(I'll fix this to be case insensitive)

@SamR1 SamR1 linked a pull request Jul 13, 2022 that will close this issue
@SamR1 SamR1 closed this as completed in 0eaae0e Jul 13, 2022
@SamR1
Copy link
Owner

SamR1 commented Jul 13, 2022

I just released a new version with a fix (v0.6.10). It should work with OSM (and DEFAULT_STATICMAP to False)

@PipeItToDevNull
Copy link
Author

Brilliant, this indeed fixed the issue without any .env changes.

Thanks!

If you ever add a donate button I will be sure to.

@escuco
Copy link

escuco commented Jul 14, 2022

Hello!

If you ever add a donate button I will be sure to.

The same for me, please let us know.

Cheers
Jan

@SamR1
Copy link
Owner

SamR1 commented Jul 14, 2022

@PipeItToDevNull:
Glad it's now working :)
(and don't forget to set DEFAULT_STATICMAP to False, if you want the static map generation uses OSM tiles instead of Komoot.de ones, true is now a valid value).

@PipeItToDevNull @escuco:
No donate button for now, but thanks for your feedback :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api bug v0.6.x Issues planned in versions 0.6.x
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants