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

Refresh token not found, authorize datasource first #29

Closed
garymcleanuk opened this issue Dec 26, 2020 · 1 comment
Closed

Refresh token not found, authorize datasource first #29

garymcleanuk opened this issue Dec 26, 2020 · 1 comment

Comments

@garymcleanuk
Copy link

Strava Plugin 1.2.0

Added client ID and Secret but errors out
t=2020-12-26T11:51:27+0000 lvl=eror msg="open /4-refreshToken: no such file or directory" logger=plugins.backend pluginId=grafana-strava-datasource
t=2020-12-26T11:51:27+0000 lvl=eror msg="Strava API request error" logger=plugins.backend pluginId=grafana-strava-datasource error="Refresh token not found, authorize datasource first"
t=2020-12-26T11:51:27+0000 lvl=eror msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=POST path=/api/datasources/4/resources/strava-api status=500 remote_addr=192.168.8.121 time_ms=29 size=97 referer=http://192.168.8.240:3000/datasources/edit/4/
t=2020-12-26T16:27:49+0000 lvl=eror msg="open /4-refreshToken: no such file or directory" logger=plugins.backend pluginId=grafana-strava-datasource
t=2020-12-26T16:27:49+0000 lvl=eror msg="Strava API request error" logger=plugins.backend pluginId=grafana-strava-datasource error="Refresh token not found, authorize datasource first"
t=2020-12-26T16:27:49+0000 lvl=eror msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=POST path=/api/datasources/4/resources/strava-api status=500 remote_addr=192.168.8.121 time_ms=28 size=97 referer=http://192.168.8.240:3000/datasources/edit/4/

@garymcleanuk
Copy link
Author

Call back domain in API settings on Strava website needs to contain the IP Address of the Grafana server as the domain

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant