-
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
Support of HTTPS (with self-signed cert) #36
Comments
Strange. We've got our InfluxDB with https running (and of course a working communication between R and InfluxDB). |
My first guess is that the relevant curl options are not interpreted. #submit test ping
|
also, maybe it helps to set the cainfo path globally:
|
Thanks for your quick reply. I confirm that setting the parameter globally works perfectly fine. Now we could either:
I am willing to code/pull request, but my knowledge in R developing is relatively limited... What worked for me:
It was more convenient than setting the cainfo. |
Nice! Thanks! I think it would be straightforward to extend
With this approach you could either go the "global" or the "local" way. |
All right then, do you need some help for that? |
Yes! I'm going to commit the changes after some internal checks and would be happy if you could test the modified version then. |
Would you like to give the dev version a try? |
@ColinLeverger Did you have the chance to test the dev version? |
Hello @dleutnant, sorry to answer so late- I replied to an email I received about this thread, and my answer did not appear there for some reason... |
No worries. I suggest to download the dev version via # install.packages("remotes")
remotes::install_github("dleutnant/influxdbr@dev") Afterwards, please use |
It works for me with:
All good, thanks! :-) |
OK, thanks! |
* prepare next dev * clean up test db * `influx_write` supports multiple measurements within one data.frame * updated readme * take path from influxdb_srv list * additional curl options can be provided to influx_connection * additional curl options can be provided to influx_connection (#36) * Typo (#37) * update news.md * added IQL wrapper for `delete` * typo * fixes (#21, #38, #39) * updated news * prepare next cran release
I use a self-signed https cert on a server of mine, and it is not accepted by influxdbr.
I tried to configure curl with the following link: https://stackoverflow.com/questions/22048703/rcurl-and-self-signed-certificate-issues
How to reproduce
Code
Error
The text was updated successfully, but these errors were encountered: