Unable to find valid ceritication path to requested target (RTO (Real Time Optimizid))

Hello,
I am trying to establish an RTO v2 connection using WebSocket with Java. I downloaded the class named "MarketPriceRdpGwClientCredAuth" from the following GitHub link: [https://github.com/Refinitiv/websocket-api/blob/master/Applications/Examples/RDP/java/MarketPriceRdpGwClientCredAuth.java](https://github.com/Refinitiv/websocket-api/blob/master/Applications/Examples/RDP/java/MarketPriceRdpGwClientCredAuth.java), and I attempted to run it with the parameters below.
However, I am encountering the following error:
To verify whether I can connect successfully, I also tried to connect using the RTO v2 tool from Speed Guide, but I received the same error:
Could there be an issue with my license information, or am I doing something incorrectly?
Thanks.
Answers
-
Hello @SelcukYAPICI
Please check the solution of this Certificate issue on the EMA Proxy Connection old post.
0 -
Hello Wasin,
As you suggested, I captured the traffic using Fiddler. Based on this traffic, I received the output (file is added new 10.txt) from the following address ("https://api.refinitiv.com/auth/oauth2/v2/token"). Does this indicate that my license information is correct? Or is there something else I should check?
0 -
Hello @SelcukYAPICI,
Your account information is correct and the application can successfully get a valid token, as shown in your logs. It may be that the debugging proxy that you are using is blocking the websocket requests. At this time, I would suggest to initiate a direct connection without a proxy.
0 -
Hi @Gurpreet,
As you mentioned, I commented out the code that enabled the requests to pass through the proxy. The logs that appear in the console are as attached below. As far as I can see, there hasn't been any change. What do you recommend?
new 12.txt0 -
Hi @wasin.w,
I made some improvements, but they were not sufficient, as I am still encountering the following error. For some reason, I cannot progress beyond obtaining the token. On the Fiddler side, I can only see the process up to the point where the token is retrieved. Do you have any advice for this situation?
0 -
The log indicates that it couldn't establish a websocket connection to wss://127.0.0.1:443/WebSocket.
2024-10-23 14:00:56.807021700 Connecting to WebSocket wss://127.0.0.1:443/WebSocket for session1...
2024-10-23 14:00:56.823976400 Connect error for session1:com.neovisionaries.ws.client.WebSocketException: Failed to connect to '127.0.0.1:443': Connection refused: connect
2024-10-23 14:01:01.834688700 Connect error for session1:com.neovisionaries.ws.client.WebSocketException: Failed to connect to '127.0.0.1:443': Connection refused: connect
2024-10-23 14:01:06.838580700 Connect error for session1:com.neovisionaries.ws.client.WebSocketException: Failed to connect to '127.0.0.1:443': Connection refused: connect0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 690 Datastream
- 1.4K DSS
- 629 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
- 25 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 279 Open PermID
- 45 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 23 RDMS
- 2K Refinitiv Data Platform
- 716 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
- 95 Workspace SDK
- 11 Element Framework
- 5 Grid
- 19 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛