-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[1.0.0-beta1] Invalid JSON response causes the client to print the wrong error message #6846
Comments
@kjeacle can you try running that query with This is just a guess of mine. That error might come from the server. |
I tried this:
and got this:
|
Have you tried checking the raw values that are going into the non negative derivative?
I'd like to know if that works and what values are returned. If that fails with the same error, a NaN somehow slipped in. If it doesn't fail, then there's an error with the aggregate function. Remember to modify the time condition to one that makes sense for your data. |
Never mind. I have a reproducer:
You likely have two series that match that condition at the same time with the same value. I don't think we should be letting this happen, so I'll look into how we can prevent it from happening. One way to prevent it though would be to add a |
@jwilder I forgot about this one in the run up to the 1.0 GA release. Is it OK for me to come up with a fix for this and get it into 1.0.1? The derivative function needs to be fixed separately, but this is an issue with the client trying to parse an error message and then using that error when it fails to parse the error message instead of the raw text. It should be easy enough to fix for general usability. |
Fixed via #7280. |
Running Influx 1.0.0-beta1 on Ubuntu server 16.04 using collectd 5.5 with snmp plugin to populate database.
Not sure if this is a NaN value bug but appears to be the same as issue #3994
Querying tx values for a particular interface works:
But querying rx values for the same interface fails:
This causes in-house graphing system to fail as JSON response is invalid.
The text was updated successfully, but these errors were encountered: