-
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
"Unauthorized"error upon attempt to write to InfluxDB #116
Comments
Ah yeah, looks like they changed the way they do auth - it's an API token now instead of user/password. i'll have to figure out how to support both old and new auth methods. Thanks for the good repo steps - will make it easier |
Superb! |
Hello , we 've experienced the same issue. Do we have any update on that? |
same here |
I finally had some time to look at it this weekend. I have a fix just about done, will publish an update to try in a day or two |
@jeffpearce thank you ! |
@yoramshai thanks for your patience! I am actively working on this, but I don't have an ETA. The project was in need of an upgrade to newer deps, and it's taking a little bit of time to sort through it. I'll get it out as soon as possible. |
Much appreciated! |
Any update on this one? |
Jenkins and plugins versions report
Environment
What Operating System are you using (both controller, and any agents involved in the problem)?
Jenkins server of docker image jenkins/jenkins:latest , reports to InfluxDB v2.2
Attempt to use In Jenkins -> Configure System -> Autostatus Config -> Send to InfluxDB
returns {"code":"unauthorized","message":"unauthorized access"} in spite credentials are valid.
https://docs.influxdata.com/influxdb/v2.2/write-data/troubleshoot/ specify possible reason:
401 Unauthorized: May indicate one of the following:
Authorization: Token header is missing or malformed.
API token value is missing from the header.
Reproduction steps
Expected Results
Actual Results
Error in May 15, 2022 12:32:05 PM WARNING org.jenkinsci.plugins.githubautostatus.notifiers.InfluxDbNotifier log
{"code":"unauthorized","message":"Unauthorized"}
Anything else?
Could it happen current version of plugin doesn't support interaction with InfluxDB v2.2
The text was updated successfully, but these errors were encountered: