Re: Error going from desktop.workspace to platform.deployed

I am using the config file suggested by the market data team, and they are able to get results using the code that I posted.


I was able to add the logs, this is what I am getting as an error (redacting the url with xxx)

[2023-06-22T16:53:55.980009+01:00] - [DEBUG] - [sessions.platform.deployed.0] - [7636] | ThreadOMMSTREAMING_PRICING_0.0
[OMMSTREAMING_PRICING_0.0] is connecting
[2023-06-22T16:53:55.982009+01:00] - [DEBUG] - [sessions.platform.deployed.0] - [7636] | ThreadOMMSTREAMING_PRICING_0.0
[OMMSTREAMING_PRICING_0.0] connect
    num_attempt : 3
    url : ws:// xxx.xx.xxx.x:15000/WebSocket
    headers : ['User-Agent: Python']
    cookies : None
    transport : websocket
    subprotocols: ['tr_json2']
[2023-06-22T16:53:55.983012+01:00] - [DEBUG] - [sessions.platform.deployed.0] - [7636] | ThreadOMMSTREAMING_PRICING_0.0
[OMMSTREAMING_PRICING_0.0] on_ws_error: Exception: [Errno 11001] getaddrinfo failed
[2023-06-22T16:53:55.983012+01:00] - [DEBUG] - [sessions.platform.deployed.0] - [7636] | ThreadOMMSTREAMING_PRICING_0.0
[OMMSTREAMING_PRICING_0.0] on_ws_close: close_status_code=None, close_msg=None, state=StreamCxnState.Connecting


[2023-06-22T16:53:55.984011+01:00] - [DEBUG] - [sessions.platform.deployed.0] - [7636] | ThreadOMMSTREAMING_PRICING_0.0
[OMMSTREAMING_PRICING_0.0] tried all infos, waiting time 60 secs until the next attempt.

From: Error going from desktop.workspace to platform.deployed