In my client's production environment all of sudden, we stop getting any response from Discovery Service and due to this we don't have any WebSocket server URL and port to which we can connect and get the rate.
This was working fine till last weekend and we are able to retrieve the rate without any issues.
In client production, we are using the service from last 3-4 months without any issues.
Note: In my local test environment, I can see the same issue and not able to retrieve any rate
Is this something got broker from Refinitiv side?
Is anyone else who is using WebSokcet API facing the same issue?
Appreciate your comments here.
@pradeep.badoni it is because service discovery can't handle chunked rest responses. to fix this issue, replace
if (webResponse.ContentLength > 0)
with if (webResponse.GetResponseHeader("Transfer-Encoding").Equals("chunked") || webResponse.ContentLength > 0)
for more details refer this fix RTSDK-5356 in git
Could you please try the Service Discovery request with the following curl command? Please replace the <access_token> with your Access Token from the RDP Auth Token service (Note: please notice a space between text 'Bearer' and the access token).
curl --location --request GET 'https://api.refinitiv.com/streaming/pricing/v1/' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer <access token>'
If you still encounter errors from the curl command, I suggest you contact the RDP support team via https://my.refinitiv.com/ website to help you verify the issue.
Please select the "Pricing - Refinitiv Data Platform" product on the my.refinitiv.com website, and give them the following information:
Hope this helps.