Strava import failed since Aug 18

Issue #570 resolved
Sander Roosendaal repo owner created an issue

Task is to check Strava log and figure out where the issue lies.

Comments (4)

  1. Sander Roosendaal reporter

    Now and then, fetching the workout fails with the following log:

    grep 3940191158  -A 2 strava_webhooks.log 
    Aug-20-2020_1208 b'{"aspect_type":"create","event_time":1597925309,"object_id":3940191158,"object_type":"activity","owner_id":1754726,"subscription_id":160979,"updates":{}}'
    Aug-20-2020_1208 handle_get_garmin_file response code 401
    Response json {'message': 'Authorization Error', 'errors': [{'resource': 'Application', 'field': '', 'code': 'invalid'}]}
    

    No idea what is causing this yet.

  2. Sander Roosendaal reporter

    Aug-21-2020_1622 b'{"aspect_type":"create","event_time":1598026975,"object_id":3945805417,"object_type":"activity","owner_id":1754726,"subscription_id":160979,"updates":{}}'
    Aug-21-2020_1622 Getting token for user 1 token expiry 2020-08-20 18:08:30+00:00 {"client_id": "11567", "client_secret": "***************************************", "redirect_uri": "http://rowsandall.com/stravacall_back", "autorization_uri": "https://www.strava.com/oauth/authorize", "content_type": "application/json", "tokenname": "stravatoken", "refreshtokenname": "stravarefreshtoken", "expirydatename": "stravatokenexpirydate", "bearer_auth": true, "base_url": "https://www.strava.com/oauth/token", "grant_type": "refresh_token", "headers": {"Accept": "application/json", "Api-Key": "11567", "Content-Type": "application/json", "user-agent": "sanderroosendaal"}, "scope": "activity:write,activity:read_all"}
    
    Aug-21-2020_1622 https://www.strava.com/api/v3/activities/3945805417 {"Authorization": "Bearer fb6b3527b5e729b0acc9a6c7930e2669ca487ff7", "user-agent": "sanderroosendaal", "Content-Type": "application/json", "resolution": "medium"} Bearer fb6b3527b5e729b0acc9a6c7930e2669ca487ff7 handle_get_strava_file response code 401
    Response json {'message': 'Authorization Error', 'errors': [{'resource': 'Application', 'field': '', 'code': 'invalid'}]}
    
    --
    Aug-21-2020_1659 b'{"aspect_type":"update","event_time":1598029172,"object_id":3945805417,"object_type":"activity","owner_id":1754726,"subscription_id":160979,"updates":{"title":"Detour to mall"}}'
    Aug-21-2020_1700 Getting token for user 629 token expiry 2020-08-21 02:34:58+00:00 {"client_id": "11567", "client_secret": "9e55d439879e1da6724e75e4a3220b35a493fe24", "redirect_uri": "http://rowsandall.com/stravacall_back", "autorization_uri": "https://www.strava.com/oauth/authorize", "content_type": "application/json", "tokenname": "stravatoken", "refreshtokenname": "stravarefreshtoken", "expirydatename": "stravatokenexpirydate", "bearer_auth": true, "base_url": "https://www.strava.com/oauth/token", "grant_type": "refresh_token", "headers": {"Accept": "application/json", "Api-Key": "11567", "Content-Type": "application/json", "user-agent": "sanderroosendaal"}, "scope": "activity:write,activity:read_all"}
    

  3. Log in to comment