Connectivity Problem using LSEG.Data from C# to LSEG Workspace Desktop

We have a C# application that is using the LSEG.Data and LSED.DataContent (version 2.0.0.0, image version v4.0.30319) libraries. We have two problems at the moment: 1. Cannot connect to the LSEG Workspace Desktop, and 2. Error starting the LSEG Workspace Desktop if it is not running.
- LSEG.Data.Core.ISession session = DesktopSession.Definition().GetSession();
By examining the RDPLog_<n>.log file/s we can see that sometimes there is connection:
Host: localhost:9000/api/rdp/streaming/pricing/v1/WebSocket (Path: [])
and sometimes there is not:
Host: localhost:/api/rdp/streaming/pricing/v1/WebSocket (Path: [])
Can anyone explain why the port 9000 is sometimes missing when the URL is constructed?
2. When our application determines that the LSEG Workspace Desktop (LWD) application is not running, it attempts to start the LWD using System.Diagnostics.Process.Start(…). Using this method, the following "unexpected error" pops up:
Can anyone advise how to prevent this pop-up?
Thanks
Tony
—-oooOOOooo—-
Answers
-
Thank you for reaching out to us.
Ensure that the LSEG Workspace desktop application is running properly before using the LSEG Data Library.
It may not be recommended to start the LSEG Workspace programmatically, as the application is designed primarily for desktop users rather than automated processes. Instead, consider connecting directly to the LSEG Data Platform.
However, I can start the LSEG Workspace by using the following code.
var path = Environment.GetEnvironmentVariable("LOCALAPPDATA");
var proc = Process.Start(path+"\\Refinitiv\\Refinitiv Workspace\\RefinitivWorkspace.exe");0 -
Thank you for that answer. but:
- Although the LSEG Workspace Desktop launches into the login/startup screen, even with your solution, we still get the "unexpected error" popup with the message "..broken pipe..". Do you not think that this type of error should be handled internally by the LSEG Workspace Desktop application itself?
- Even if the application is designed primarily for desktop users, it still has to operate as a servant to other applications, otherwise why was the Desktop API created?
- Most of our use for the Desktop is for backup and testing purposes.
- Furthermore, the Desktop does an automatic logout once a week (Sunday?) and if we have an application connected, we need to do auto-restart (e.g. kill process, start process), which makes it impossible to have an un-attended backup system.
0 -
Yes, please contact the Workspace support team via the LSEG Support to investigate this issue.
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 48 Data Fusion
- 34 Data Model Discovery
- 689 Datastream
- 1.4K DSS
- 627 Eikon COM
- 5.2K Eikon Data APIs
- 11 Electronic Trading
- 1 Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 255 ETA
- 559 WebSocket API
- 39 FX Venues
- 15 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 24 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 278 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 23 RDMS
- 2K Refinitiv Data Platform
- 706 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 106 UPA
- 194 TREP Infrastructure
- 229 TRKD
- 918 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 96 Workspace SDK
- 11 Element Framework
- 5 Grid
- 19 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛