Executing market_price_edpgw_authentication.py python code after creating AWS EC2 instance using Refinitiv AMI. Getting the below error.
('Sending authentication request with password to', 'https://api.refinitiv.com:443/auth/oauth2/beta1/token', '...')
EDP-GW Authentication succeeded. RECEIVED:
{
"access_token":"<access token>",
"expires_in":"300",
"refresh_token":"438e85ed-3a10-42d5-b07c-e49a1a3d0525",
"scope":"trapi.data.average-volume-analytics.ava_read trapi.data.historical-pricing.events.read trapi.data.historical-pricing.summaries.read trapi.data.quantitative-analytics.read trapi.messenger trapi.sdbold trapi.search.lookup.read trapi.search.metadata.read trapi.search.read trapi.user-framework.mobile.crud trapi.user-framework.recently-used.crud trapi.user-framework.workspace.crud",
"token_type":"Bearer"
}
Connecting to WebSocket wss://ec2-13-234-31-251.ap-south-1.compute.amazonaws.com:22/WebSocket ...
[SSL: UNKNOWN_PROTOCOL] unknown protocol (_ssl.c:727)
WebSocket Closed