-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Hello
I have influx server with two ports 8086 for reads and 9096 for writes.
When I push request on 9096 with reading query.
Server returns response: 404 with body: "Not Found".
Your library returns flowing exception on parsing response:
System.AggregateException
HResult=0x80131500
Message=One or more errors occurred. (An error occurred while parsing the error response after an unsuccessful request.)
Source=System.Private.CoreLib
StackTrace:
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task`1.get_Result()
at InfluxDBDataLoader.Program.ReadSimpleQueryGenerator(ConnectionData conData) in D:\_Repositories\local\InfluxDBDataLoader\InfluxDBDataLoader\Program.cs:line 91
at InfluxDBDataLoader.Program.Main(String[] args) in D:\_Repositories\local\InfluxDBDataLoader\InfluxDBDataLoader\Program.cs:line 32
This exception was originally thrown at this call stack:
[External Code]
Inner Exception 1:
InfluxException: An error occurred while parsing the error response after an unsuccessful request.
Inner Exception 2:
JsonSerializationException: Error converting value "Not Found" to type 'Vibrant.InfluxDB.Client.Dto.ErrorResult'. Path '', line 1, position 11.
Inner Exception 3:
ArgumentException: Could not cast or convert from System.String to Vibrant.InfluxDB.Client.Dto.ErrorResult.
Could fix that library correct parse exception.
Metadata
Metadata
Assignees
Labels
No labels