Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Hi,
I am writing a simple R code in Notebook as follows and getting an error, can you please guide what could be happening?
library(dataiku)
# Example: load a DSS dataset as a R dataframe
mydataset <- dkuReadDataset("fortune500", samplingMethod="head", nbRows=100000)
Error in curl::curl_fetch_memory(url, handle = handle): Unable to communicate securely with peer: requested domain name does not match the server's certificate. Traceback: 1. dkuReadDataset("fortune500", samplingMethod = "head", nbRows = 1e+05) 2. POST(getSchemaUrl, body = list(fullDatasetName = name), encode = "form", . dku__get_auth_headers(), dku_intercom__get_httr_config()) 3. request_perform(req, hu$handle$handle) 4. request_fetch(req$output, req$url, handle) 5. request_fetch.write_memory(req$output, req$url, handle) 6. curl::curl_fetch_memory(url, handle = handle)
Operating system used: Centos
Resolved using the following
dkuSetRemoteDSS("http(s)://DSS_HOST:DSS_PORT/", "Your API Key secret", TRUE)
https://doc.dataiku.com/dss/latest/R-api/outside-usage.html#advanced-options
Resolved using the following
dkuSetRemoteDSS("http(s)://DSS_HOST:DSS_PORT/", "Your API Key secret", TRUE)
https://doc.dataiku.com/dss/latest/R-api/outside-usage.html#advanced-options
Thank you for sharing your solution with the rest of the community @vkv!