Operation timeout on Datascope API

Hi,
we have developed an API which pulls both FX and Interest rates from Datascope.
we are randomly getting time out errors - see below.
we have increased the timeout settings but this hasn't made any difference.
Please can you advise what else we can try?
Starting service..
======= Scripting Service started =======
Logging in.....OK
Getting Token.....
token: XXX
Sending Request.....
======= Error running script =======
msxml6.dll
[Line: 60] The operation timed out
======= Completed running of script =======
Best Answer
-
Hello @Tina Bateman1,
As timeouts can happen for multiple reasons, I would try to identify which of them apply to your case.
Are you able to test via Postman tool by issuing "naked" requests, outside the custom application code and reviewing the results? This may help to narrow down the causes:
- If you encounter the same timeout issue with Postman submission, then the cause is likely outside of your application, and is likely related to network connectivity or service response.
- If you submit several of the same requests via Postman, especially, at the time when your app is facing timeouts, and do not reproduce the issue, you can look into the design of your app.
Please see REST API Tutorials Introduction with downloadable starter collection, to get started.
---
The first thing I would check (Postman starter collection can be of help, as this test does not require coding and result is very clear) is the response status of the HTTP REST request, rather then via API/DLL response.
- The response status of a valid request can be 200, request completed.
- Or it can be 202, request is valid and accepted for processing. There are two possibilities:
- A larger request can be taking longer to complete, the recommended approach is to periodically check status of the job, till it is resulting in 200, and then retrieve the results
- If the request is intra-day, the content can also be embargoed, in this case, it should be retrieved once the embargo is over, see REST API Tutorial 3: On Demand intraday extraction, embargo for more details on this.
If this is what you confirm, this is the expected behavior, that a custom application should handle appropriately. Would suggest additionally reviewing this previous discussion thread for helpful suggestions on handling of DSS timeouts.
Hope this helps
0
Answers
-
Hello @Tina Bateman1,
Could you please tell us more about the issue, in order to try to help narrow down possible causes?
Has this started happening/appeared recently?
Would suggest to run DSS Postman Starter requests to DSS from the same environment to verify if the issue is reproducible outside of the custom application?
0 -
Hi Zoya,
this is a new process for us which we only went live with in March this year.
Since we started we have had issues but have had no luck in resolving.
0 -
Thank you so much for your advice. I will pass this onto my developer to see if he can troubleshoot this with the approach recommended.
0 -
Hi,
my developer has confirmed that Postman works fine. The only issue we have is when using vbscript to connect to the API.
He is going to install a utility called crashdumps to see if this provides more detail about the crashing / timeout. So not resolved just yet.
0 -
Hello @Tina Bateman1,
Postman requests working as expected is a good news, as appears to indicate no connectivity issues.
If the application is intended for production use, especially if it's pulling a large result set, would like to suggest reviewing DataScope Select Best Practices & Fair Usage Policy to help your team design it for efficiency and robustness.
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 37 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 698 Datastream
- 1.5K DSS
- 633 Eikon COM
- 5.2K Eikon Data APIs
- 14 Electronic Trading
- 1 Generic FIX
- 7 Local Bank Node API
- 6 Trading API
- 2.9K Elektron
- 1.5K EMA
- 257 ETA
- 565 WebSocket API
- 40 FX Venues
- 16 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 25 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 283 Open PermID
- 47 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 24 RDMS
- 2.1K Refinitiv Data Platform
- 800 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
- 122 Open DACS
- 1.1K RFA
- 107 UPA
- 194 TREP Infrastructure
- 232 TRKD
- 918 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 101 Workspace SDK
- 11 Element Framework
- 5 Grid
- 19 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛