Closed vierzwerge closed 2 years ago
I have the same issue, when I add the strava datasource in grafana it shows success and I got it to work briefly but stopped again.
When I check the logs I see error 401 Unautherized and the dashboards don't load.
so fixed it, to get it to work, whatch the logs in grafana then hit the save and test button a few times till it registers
Same problem here with version 1.5 (1.3 was ok): "Cannot connect to Strava API: Token exchange failed: 401 Unauthorized"
Yes, this is a bug, unfortunately. I'm working on fix.
I've just updated the plugin, restarted my instance and readded the data source and still experiencing the same 401 issue :-(
I've updated the plugin and was able to connect: 'Data source is working. Authenticated as XXX XXX'. But if I re-import the Dashboard I get: 'Error status: 401 Unauthorized' Thank you.
yes, exactly the same issue I have
I updated the plugin and now everything works for me :)
Yes, now I tried Auth type "OAuth" and it works also for me! Thank you! Looks really good! :-) Well done!
I only added the datasource with OAuth (not with "Refresh Token"). And this works for me
Many thanks !
Will try that, thanks!
El 9 sept 2022, a las 20:01, vierzwerge @.***> escribió:
I only added the datasource with OAuth (not with "Refresh Token"). And this works for me
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.
I'm still seeing the issue with grafana cloud and plugin version 1.5.1
status:500
statusText:""
data:Object
error:"Internal Server Error"
message:"Error status: 401 Unauthorized"
config:Object
url:"api/datasources/24/resources/strava-api"
method:"POST"
headers:Object
data:Object
retry:0
hideFromInspector:true
message:"Error status: 401 Unauthorized"
Any new updates
After updating the version from 1.3 to 1.5 I'm not able to connect to Strava API anymore.
I always get the error message: "Cannot connect to Strava API: Token exchange failed: 401 Unauthorized" by clicking "Save & Test" in the "Data Source / Strava" section. And a short message appears: "Token exchange failed"
I also updated the parameter GF_STRAVA_DS_DATA_PATH as mentioned in the plugin description (and made the folder readable for grafana). But without any success.
In the logfile by restarting the grafana server these messages appear (don't know if this is the problem ... ) : "Could not read environment variable" variable=GF_STRAVA_DS_DATA_PAT" "Using default data path" path=/usr/share/grafana/.cache/strava-datasource"
With version 1.3 everything was ok.
Thank you for your support