Unable to connect to a presto database via R in windows

Hi
I am trying to connect to a presto database via R using src_presto() in R

library("RPresto")
my_db <- src_presto(catalog = "hive", user = "XYZ",host = "172.XX.XX.XX", port = "8XXX");
my_db

when i am checking above connection i am getting following error:
Error in if (is_http) { : argument is of length zero

Can you please help me in resolving above error?

Thanks,
Kapardhi

Take a look here: https://github.com/prestodb/RPresto/issues/113

Thanks pete, this was resolved with the help of my tech team!
The host and port combination i was using had self signed SSL certificate, after going through some posts, i even tried to skip SSL verification but still had challenge to connect! Finally, i changed the port which was of http type and then could finally connect to DB.

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.