Websocket "ERROR:websocket:close status: 1001"
Hello Team,
We have upgraded contribution service from ATS version 1.6.6 to ATS 1.6.8.E1 and since then we have started noticing websocket error message while invoking the close method - "ERROR:websocket:close status: 1001". Though this not impacting but on closing websocket we get the above error. Just wanted to understand if this is a known issue or if anyone has come across this and whether this is an expected websocket behaviour with ATS version 1.6.8.E1. Additional information, we are running ADH/ADS version 3.6.0.L1.
Appreciate any suggestions on this.
Thanks,
Sunil
Best Answer
-
The resolution in the ticket mentioned that you have upgraded to version 1.6.9.L1 as suggested and this version is working fine and as expected.
0
Answers
-
Hello @Sunil.Annaldasula
Please confirm if I understand the question and your deployment diagram correctly:
- The contribution diagram is WebSocket Client --> ADS 3.6.0.L1 --> ADH 3.6.0.L1 --> ATS 1.6.6
- Everything works fine with ATS version 1.6.6
- When you upgrade the ATS version to 1.6.8.E1 (WebSocket Client --> ADS 3.6.0.L1 --> ADH 3.6.0.L1 --> ATS 1.6.8.E1), the WebSocket returns "ERROR:websocket:close status: 1001" when you are closing the WebSocket connection
Based on my research, WebSocket close status 1001 indicates that an endpoint is "going away", such as a server going down or a browser having navigated away from a page.
It seems to be an expected behavior when closing the application, but I am not sure why it does not occurs with ATS 1.6.6. Are there other changes besides the ATS version?
0 -
Hi Wasin,
Your understanding is correct on the flow contributions being made from websocket to ATS.
I am off the same opinion websocket close status is an expected message but i dont know why the websocket when connected to other / older version of ATS 1.6.6 or even 1.6.3, I dont see that message with status code1001. Perhaps though am assuming is it because of manual interruption of terminating the websocket session is causing that error.
Also no additional changes are made on ATS or ADS configurations.
0 -
Hello @Sunil.Annaldasula
Are they any changes on the WebSocket application environment side such as code change, library/Python runtime version change, etc? Updating the ADH's Upstream component (from ATS 1.6.1 to ATS 1.6.8.X) should not impact the low level of the consumer side.
0 -
Hello @Sunil.Annaldasula
Could you please also give us more detail about the WebSocket contribution application as follows?
- Python version
- OS
- websocket-client library version
- etc
0
Categories
- All Categories
- 6 AHS
- 37 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛