For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 0

eikonapiR - Recv failure: Connection was reset

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"

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythoneikon-data-api-r
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
38.1k 69 35 53

@sundaresan.natarajan1

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:



1596166037052.png (30.5 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

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

Click below to post an Idea Post Idea