Error opening session in API.
Dear, on 05/06 at 19:40 GMT-3 we had the error below to connect to the API and since then we have no access to quotes:
2022-05-09 16:45:49.6170|Warn|Refinitiv.DataPlatform.Core.PlatformSessionCore|12|RDP Authentication failed
System.ArgumentException: An item with the same key has already been added.
at Refinitiv.DataPlatform.Core.PlatformSessionCore.<RetrieveStreamingEndpointsAsync>d__61.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Refinitiv.DataPlatform.Core.PlatformSessionCore.<PerformOpenTasksAsync>d__59.MoveNext()
We are using the refinitiv.dataPlatform 1.0.0 - Alpha3 DLL.
We would like to see some changes from this date and help to solve the problem, as this error occurs in the approval and production environment.
Awaiting return.
Best Answer
-
I got the following error when using the Refinitiv.DataPlatform,1.0.0-alpha3.
5/10/2022 11:25:57 AM:Session is Pending. (State: Pending)
5/10/2022 11:26:01 AM:{
"ExceptionType": "System.ArgumentException",
"Message": "An item with the same key has already been added. Key: ap-northeast-1-aws-2-lrg.optimized-pricing-api.refinitiv.net",
"StreamDiscoveryEndpoint": "https://api.refinitiv.com/streaming/pricing/v1/?dataformat=tr_json2"
}. (Event: SessionAuthenticationFailed)
5/10/2022 11:26:01 AM:Session is Closed. (State: Closed)I checked and found that the streaming pricing endpoint (https://api.refinitiv.com/streaming/pricing/v1/?dataformat=tr_json2) provides the duplicated hostname. This could be a cause of the "An item with the same key has already been added" error.
I submitted a service request to the RDP Pricing team on your behalf to verify this issue. The case number is 11209930. The support team will contact you regarding this issue.
Refinitiv Data Platform Libraries (RDP libraries) have been redesigned and renamed to Refinitiv Data Libraries (RD libraries). Alpha versions of former RDP libraries will be maintained for a while, but for new development, it is recommended to use the latest RD libraries which incorporate new features and offer greater usability.
The RD Library examples are available on GitHub. For more information, please refer to the Refinitiv Data Library for .NET website.
2
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 中文论坛