-
Notifications
You must be signed in to change notification settings - Fork 34
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
[BUG] Unable to retrieve current organization #224
Comments
The only thing I would change, is the org ID. Unless you have a valid org with that ID, if you using the grafana admin you can view the Orgs using:
"Main Org." is the default from an untouched configuration. I'll try to make this behavior a bit more intuitive, adding org support has been a more recent change and usability patterns are still being worked out. |
I'll close this out, if you still have issues or any questions feel free to re-open it. |
There is still a problem. I have the same config as @pinpox
With curl
|
What version of grafana are you using? I'm assuming you're seeing the org id to a non zero value? |
The problem is not the Org ID. |
Well, gdg version
Build Date: 2023-11-03T17:31:01Z
Git Commit: 6b7b922c441bc0f6f928c042b69daee547db9d32
Version: v0.5.1
Go Version: go1.21.3
OS / Arch: darwin arm64 (I just reinstalled the latest version using brew ) config: context_name: testing
contexts:
testing:
output_path: test/data
enterprise_support: true
url: http://localhost:3000
# user_name: admin
# password: admin
token: glsa_lzHTC8EwbRwhSuKTbIGNzVPgQ5wkRXBQ_5fefcbd0
filter_override:
ignore_dashboard_filters: false # When set to true all Watched filtered folders will be ignored and ALL folders will be acted on
watched:
- General
- Other
global:
debug: true
ignore_ssl_errors: false Uploading dashboards, listing dashboards, all of that worked fine.
So, once again, what version of grafana are you using, gdg version, operating system etc... |
Config:
grafana_version: 10.2.2 Grafana is in my setup behind a reverse proxy. The web url ist sometld.de/grafana in your example you use sometld.de Curl on Grafana works:
Error:
|
This was an issue with the URI path, I'll see about adding some test to avoid this in the future, but #235 should fix your concern. |
Fixed in master. |
Describe the bug
A clear and concise description of what the bug is. If applicable and possible the JSON of dashboard or datasource that is causing issues with credentials removed would be helpful.
To Reproduce
Steps to reproduce the behavior:
gdg backup connections download
, it fails with the error:https://prometheus.mydomain.tld/grafana
is the url where I can view grafana in the browser.Expected behavior
Dashboards are downloaded
Desktop (please complete the following information):
Build Date:
Git Commit:
Version: 0.5.1
Go Version: go1.21.3
OS / Arch: linux amd64
Additional context
I verified the token is working, the following
curl
works fine:It returns json with an organisation
The text was updated successfully, but these errors were encountered: