Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Eikon Data APIs /

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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

avatar image
Question by m.ward · Dec 16, 2021 at 11:38 PM · eikon-data-apirefinitiv-dataplatform-eikonerrorc#

InternalServerError: No connection could be made because the target machine actively refused it

Code (in C#) has been running successfully each working day since July 2020. Today I had to recreate my Windows User Profile and now my code won't run. Any ideas?

Full error message is: "InternalServerError: No connection could be made because the target machine actively refused it 127.0.0.1:36036"

Please note:

  • I am running Eikon desktop (not web app) and am logged in
  • I checked the API key which is unchanged from that which is in my code

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

4 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Jirapongse · Dec 17, 2021 at 06:53 AM

@m.ward

You can verify if the API Proxy is running by accessing the following URLs via a web browser.

  • http://127.0.0.1:9060/api/status
  • http://127.0.0.1:9000/ping?all

The output looks like this:

1639628604741.png


1639628581910.png

If you can access those URLs, you can specify the TPC port used by the Eikon Data API .NET by using the following code.

eikon.SetPort(9060);
Comment
m.ward

People who like this

1 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
Answer by m.ward · Dec 17, 2021 at 02:04 PM

Thanks @Jirapongse

When I click on either of those links I get '127.0.0.1 refused to connect. '

Comment

People who like this

0 Show 1 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
smajumdar1 · Dec 17, 2021 at 05:01 PM 0
Share

i have the same problem. I tested both

  • http://127.0.0.1:9060/api/status
  • http://127.0.0.1:9000/ping?all

and they are fine.

But still see

No connection could be made because the target machine actively refused it 127.0.0.1:36036

How to solve the problem?

avatar image
REFINITIV
Answer by raksina.samasiri · Dec 28, 2021 at 09:49 AM

Hi @m.ward and @smajumdar1

Can you please try restarting your machine and Eikon Data API then retry running the code again and please tell us if the issue still persists?

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
Answer by m.ward · Jan 03 at 06:36 PM

@Jirapongse - thanks for your answer, adding the port number fixed the issue.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
13 People are following this question.

Related Questions

refinitiv.dataplatform.errors.RDPError: Error code 1503| Backend request failed

Error code 429 | Client Error: Too Many Requests - Too many requests, please try again later

Making multiple Timeseries requests

I am receiving the following error message after I register my app with reuters through the python API: AttributeError: 'NoneType' object has no attribute 'status_code' ... Has anyone had any experience with this error and how to fix it?

getting a strange Attribute error

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges