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
25 0 2 6

Eikon API could not work with Workspace

Workspace already start and run , but still show error , do I need to change any configure ?

2022-08-23 16:11:44,462 P[15312] [MainThread 19972] Error: no proxy address identified.
Check if Eikon Desktop or Eikon API Proxy is running.
2022-08-23 16:11:44,471 P[15312] [MainThread 19972] Port number was not identified, cannot send any request
2022-08-23 16:11:44,473 P[15312] [MainThread 19972] Port number was not identified.
Check if Eikon Desktop or Eikon API Proxy is running.
eikon-data-apipythonproxyconnection-error
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
Accepted
83.1k 281 53 77

@bird.huang

You can check the node-sxs.<date>.p<pid>.log in the Refinitiv Workspace Logs folder.

My log file is in the C:\Users\U8009686\AppData\Local\Refinitiv\Refinitiv Workspace Logs\Desktop.20220823.101359.p25880 directory.

The content looks like this:

...
2022-08-23T10:17:50.920Z|info|[console](api) [WebSocketProxyServersProviderImpl]Creating new WebSocket server instance
2022-08-23T10:17:50.920Z|info|[console](api) [WebSocketProxyServersProviderImpl]Creating new WebSocket server instance
2022-08-23T10:17:50.921Z|info|[console](api) [WebSocketProxyServersProviderImpl]Creating new WebSocket server instance
2022-08-23T10:17:50.922Z|info|[console](api-svc) Processing socket
2022-08-23T10:17:50.922Z|info|[console](app) User&apos;s POs pos=SIDEBYSIDE,APIPROXY
2022-08-23T10:17:50.947Z|warn|[console](api) [SecurityTokenHandlerMiddlewareOptionalDecorator]An error occured while checking security token but security token is not mandatory, calling next middleware anyway ...
2022-08-23T10:17:50.948Z|info|[console](api) [LogRequestDetailMiddleware][Request #b276899f-77f4-452d-9e3b-1db6a4ad7c36] New incoming GET request
2022-08-23T10:17:50.965Z|info|[console](api) [LogRequestDetailMiddleware][Request #d72232da-3c67-4627-8c4d-240b56200fca] New incoming POST request
2022-08-23T10:17:50.970Z|info|[console](api) Write port file
2022-08-23T10:17:50.970Z|info|[console](app) API Proxy is listening to port: 9001
...

This indicates that it supports SIDEBYSIDE and APIPROXY. The listening port is 9001. Therefore, you can test the connection to this TCP port by using a web browser to access the following URLs.

http://127.0.0.1:9001/ping?all

1661250318655.png

http://127.0.0.1:9001/api/status

1661250341389.png


1661250318655.png (22.0 KiB)
1661250341389.png (7.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
25 0 2 6

err.jpg

confirm workspace already run at same machine


err.jpg (437.9 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
25 0 2 6

@Jirapongse Thanks for your help

I check my workspace log and found below error message

1661304093322.png

After check all your suggestion steps and when I start Workspace and open 1 training python program today , it works !!! But I still not understand what is the root cause !! I had also check today's Log , it is same as yesterday !!

1661305006105.png


1661304093322.png (116.5 KiB)
1661305006105.png (128.5 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.

To verify the problem, we need to check:

1. Eikon Data API log by setting ek.set_log_level(1)

2. The Eikon or workspace log

3. Eikon Data API endpoints:

Eikon Data API may not be able to find the TCP port used by the API proxy.


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.