Request for help #135
-
Hello, sorry I'm quite new in C++, this is surelly an stupid question. The following pattern is not possible for me: And I soon as I start doing things like:
I get the following errors:
A little help would be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Seems I was compiling C++ 14....I have resolved all the compile errors except for
|
Beta Was this translation helpful? Give feedback.
-
So, I workaround the problem by adding a tag to the write statement:
resolved some linking errors and finally got the app running. Now I'm getting an BadRequest exception in HTTP::treatCurlResponse with response CURLE_OK and responseCode 401. I think this is because authentification problems. I added a user InfluxStreamer with all privileges and set it in the connection string:
and I'm able to connect and see the data using the web client at http://localhost:8086, putting the credentials when asked to log in in
but I'm still not able to connect through my application.
I'm using version 2.4.0 on windows, as you may see in the previous command. Many thanks in advance |
Beta Was this translation helpful? Give feedback.
-
I was missing a auth v1 grant in the database. Now it is functionning correctly, excepting for one thing. The value show in grafana or influxdb UI is incorrect, it seems influxdb uses a reference to the value provided to Point.addField, but the variable was a temporal one.
it seems the value passed to the point at line: is garbage when
Any help is really appreciated....I will continue investigating on my own anyway. |
Beta Was this translation helpful? Give feedback.
I was missing a auth v1 grant in the database. Now it is functionning correctly, excepting for one thing. The value show in grafana or influxdb UI is incorrect, it seems influxdb uses a reference to the value provided to Point.addField, but the variable was a temporal one.
This is my code: