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

invalid API request with v2.2.2 #10

Closed
vipin5050 opened this issue Feb 26, 2021 · 4 comments
Closed

invalid API request with v2.2.2 #10

vipin5050 opened this issue Feb 26, 2021 · 4 comments

Comments

@vipin5050
Copy link

vipin5050 commented Feb 26, 2021

I was using old version and that works fine, though with same rundeck token and same URL old version works but not 2.2.2
With 2.2.2 I am getting invalid API request.

2021-02-26 08:47:40,221 - DEBUG - Starting new HTTPS connection (1): abcdef.com:443
2021-02-26 08:47:40,245 - DEBUG - https://abcdef.com:443 "GET /api/24/metrics/metrics HTTP/1.1" 404 None
2021-02-26 08:47:40,247 - CRITICAL - Invalid API Request: /api/24/metrics/metrics

@phsmith
Copy link
Owner

phsmith commented Feb 26, 2021

@vipin5050
What version of Rundeck are you using?

@vipin5050
Copy link
Author

Its 2.11.5-1

phsmith added a commit that referenced this issue Feb 26, 2021
@phsmith
Copy link
Owner

phsmith commented Feb 26, 2021

On version 2.2.1 of the exporter I've made a correction in the validation of the API requests, so before that version, you didn't see the error, but it was there.

The /metrics endpoint was introduced on api version 25, so I've just published a new version, 2.2.3, to fix the problem with old version of Rundeck.

@vipin5050
Copy link
Author

Thanks @phsmith , I am able to run. Let me do few check and will provide feedback

@phsmith phsmith closed this as completed Mar 12, 2021
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

2 participants