-
Notifications
You must be signed in to change notification settings - Fork 287
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
[influx] API Request "Unauthorized" #238
Comments
anirudhRowjee
changed the title
[influx] API Compatibility Broken
[influx] API Request "Unauthorized"
Sep 29, 2023
@anirudhRowjee I had the same problem. After some research and testing i found out that InfluxDB 2.x is currently not supported. TSBS only supports InfluxDB 1.x and since the newer versions had major changes to the whole structure, the load scripts won't work anymore. I dont know if this will be updatet in the future but for now i would recommend testing with an InfluxDB 1.8 instance. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the latest release of TSBS, on attempting to call
tsbs_load_influx
, I am faced with the following error -Upon inspecting the source code, I tracked it down to this line (`cmd/tsbs_load_influx/creator.go:64) -
Upon hitting the API Endpoint used to list all databases -
http://localhost:8086/query?q=show%%20databases
I see the following responsehere are my headers -
While there's an Auth token generated during the InfluxDB Setup phase, it doesn't look like the same is passed to the HTTP Client in TSBS, thus breaking API Compat.
Any further clarity on how to fix this (or even a WONTFIX) will be greatly appreciated. Thank you for your time!
The text was updated successfully, but these errors were encountered: