-
Notifications
You must be signed in to change notification settings - Fork 25
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
Error configuring datasource #15
Comments
@richardbeumer could you post some screenshots of the problem? if auth code field is empty, try to copy |
Do you have a |
Url should look like |
I do get a |
Hm, that strange. What do you get in the grafana-server logs after pressing save and test (make sure debug logging is enabled)? |
` |
Try to configure export GF_STRAVA_DS_DATA_PATH=/var/lib/grafana/strava |
After updating grafana to the latest version my issue is gone now. I cannot reproduce the issue anymore. Thnx for the support. |
@alexanderzobnin, I've got exactly the same issue as the topic author. I configured env variable properly (Win10, path C:\Program Files\GrafanaLabs\grafana\strava). Any other suggestions? |
same here. I am using Grafana via Docker Container. In that container I created directory /var/lib/grafana/strava and configured ENV Variable GF_STRAVA_DS_DATA_PATH to point to that directory. Still getting the message "Refresh token not found, authorize datasource first" Any hints? |
@tmikolajczyk Could you provide grafana-server logs (after pressing Connect with strava button and then save and test)? |
@alexanderzobnin, sure! t=2020-12-01T15:23:13+0100 lvl=eror msg="Strava API request error" logger=plugins.backend pluginId=grafana-strava-datasource error="Auth error, status: 401 Unauthorized" |
i am getting same too with Grafana 1.2.0 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 |
same here on a fresh install... Guess the API has changed? |
Browser launches this from Save and Test in Grafana https://www.strava.com/oauth/authorize?client_id=XXXXX&response_type=code&redirect_uri=http://192.168.8.240:3000/datasources/edit/4/&approval_prompt=force&scope=read_all,profile:read_all,activity:read_all Strava API Errors |
I fixed mine after reading the Strava API Reference.. Make sure your Call Back domain configured on the Strave API Website contains the IP Address of the grafana server used on net.. |
Is this still broken? I'm having a lot of troubles - see my comment at the bottom of the thread for issue #70 |
Hello there,
After filling out my Strava ClientID and connect with Strava I get redirected. When I allow my Strava APP I get redirected back to Grafana but all fields are empty. When hitting Save & Test I get the error:
Cannot connect to Strava API
My Logs show:
What is going wrong here?
The text was updated successfully, but these errors were encountered: