robiningelbrecht / strava-activities-template

This repository contains template code to generate your own Strava statistics pages
MIT License
24 stars 0 forks source link

5 days later, still hasnt completed 'Update strava activities' workflow #311

Closed dylix closed 10 months ago

dylix commented 10 months ago

I have ~2200 activities, so I would expect it to take a day or two or three, however it seems to be redownloading the same ones over and over.

robiningelbrecht commented 10 months ago

Hi @dylix ,

I just checked your repository and I can see that there's an issue while importing segments:

image

Apparently not all segments ids are unique, and they should be. I'll need to look into this and fix this. Thanks for the bug report!

https://github.com/dylix/strava-activities-template/actions/runs/7546070279/job/20543030801

Note to self: read db is probably empty, first run, so that's the reason why a segment is imported multiple times, EntityNotFound is thrown

robiningelbrecht commented 10 months ago

@dylix issue should be fixed. In the next couple of days all your activities should be imported. You can keep an eye on the actions, they should not fail anymore: https://github.com/dylix/strava-activities-template/actions

dylix commented 9 months ago

@robiningelbrecht Are they failing now in a way that is intended? Has failed the last two days..

https://github.com/dylix/strava-activities-template/actions/runs/7574524166 https://github.com/dylix/strava-activities-template/actions/runs/7560308336

`=> Imported activity "Morning Ride" => Imported activity "Afternoon Ride" => Imported activity "Morning Ride" => Imported activity "Afternoon Ride" => Imported activity "Morning Ride" => Imported activity "Afternoon Ride"

In RequestException.php line 113:

Server error: GET [https://www.strava.com/api/v3/activities/2100058002](https://www.strava.com/api/v3/activities/2100058002%60) res
ulted in a 502 Bad Gateway response:
<!DOCTYPE html>

Strava is temporarily unavailable
robiningelbrecht commented 9 months ago

@dylix no, the error resulted in a 502 Bad Gateway response: is Strava that made a booboo :). Their server crashed, which causes your import to crash as well.

If your action is "red", it has failed, it should always be green :)

I'll open a new improvement ticket (and tag you) to make sure, if this happens, the process does not crash but just stops and continues the next day.

Sorry for the inconvenience!

robiningelbrecht commented 9 months ago

@dylix I noticed your actions still fail. I debugged this and noticed I forgot something. This PR should fix this: https://github.com/robiningelbrecht/strava-activities-template/pull/327

Let's hope that tonight your activities get imported :)