Closed dylix closed 10 months ago
Hi @dylix ,
I just checked your repository and I can see that there's an issue while importing segments:
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
@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
@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>
@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!
@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 :)
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.