Upgrade from Eikon -> Workspace. Learn about programming differences.

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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
21 0 0 1

Error:Port Number was not identified


I recently installed the eikon API and wanted to test some queries to download data, but unfortunately face a proxy error.

I have tried out all the suggested solutions to fix this proxy error from similar Q&A threads, but does not seem to work. I am not sure what my python installation is missing in order to fix this, . Will be glad to hear on what exactly is the problem with my setup / installation that is causing this error.



1693300123072.png


#producterror
1693300123072.png (21.0 KiB)
icon clock
10 |1500

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

Hi @sriram.gopalan ,

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?
If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,
AHS

@sriram.gopalan

Hi,

Please be informed that a reply has been verified as correct in answering the question, and marked as such.

Thanks,

AHS

Upvotes
Accepted
21 0 0 1

the error was solved by using python with miniconda installation.

icon clock
10 |1500

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

Upvotes
21 0 0 1

Python 3.11.5

Eikon 1.1.17(have also tried with different versions going back to 1.1.12)

httpx 0.24.1

Versions I am curretly using


icon clock
10 |1500

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

Upvotes
21 0 0 1

EikonDM.20230829.115213179.p11448.txt

In the debug weirdly I do not see the API PROXY Available, when I run in the debug as suggested by the troubleshooting manual


icon clock
10 |1500

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

Upvotes
79.2k 251 52 74

@sriram.gopalan

Can you try this URL (http://localhost:9060/api/status) on the Web Browser?

You should see this.

1693304575878.png


1693304575878.png (8.6 KiB)
icon clock
10 |1500

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

Upvotes
21 0 0 1

Yes I see it and also here SxS file

SxS.20230829.120412000.p6456.txt


I have tried restarting several times already ( still does not help)

1693307080359.png


icon clock
10 |1500

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

Upvotes
79.2k 251 52 74

@sriram.gopalan

Please test with this PowerShell command.

(Invoke-WebRequest -Method POST -Body (@{"AppKey"="<app key>";"AppScope"="trapi";"ApiVersion"="1";"LibraryName"="RDP Python Library";"LibraryVersion"="1.1.7"}|ConvertTo-Json) -Uri http://127.0.0.1:9060/api/handshake -ContentType application/json)

Change the <app key> to your application key.


icon clock
10 |1500

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

Upvotes
21 0 0 1

Thanks for the tip but see an internal server error( which I guess is not good )

1693311169012.png


1693311169012.png (15.6 KiB)
icon clock
10 |1500

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

@sriram.gopalan

The error is similar to the problem on this dicussion.

Please contact the Eikon support team via MyRefinitiv to verify the Eikon settings.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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