Hi, I am trying to run a activity on windows 2008 R2 server using EikonapiR. I am not sure why this error comes.
"Error in curl::curl_fetch_memory(url, handle = handle) :
Recv failure: Connection was reset"
I followed other questions and had set up set_prox_port(900L). then i get error as
"Error in curl::curl_fetch_memory(url, handle = handle) :
Recv failure: Connection was aborted"
First, please make sure that Eikon or Eikon Proxy is running properly on the machine. You can refer to Eikon Data API(Python) Troubleshooting to verify the problem.
Then, you can use the following commands to verify the connection.
library(httr) resp = httr::GET("http://127.0.0.1:9000/ping") resp resp = httr::POST("http://127.0.0.1:9000/api/v1/data ") resp
If the connection is fine, the output looks like:
Ok i found the issue was with port already take up. so, i started referencing the port which is picked by eikon and added to pick this into my code to solve the problem