Hi
I'm using the machine id and password with client id I could able to connect now. But, I'm getting static data after that it couldn't able to get Live Stream data. Is that the expected behavior? Please help me with that.
Sending authentication request with password to https://api.refinitiv.com:443/auth/oauth2/beta1/token ...
EDP-GW Authentication succeeded. RECEIVED:
{
"access_token":"ey-- --dsf--OC5g",
"expires_in":"300",
"refresh_token":"29921a76-******-a87280541400",
"scope":"trapi.streaming.pricing.read",
"token_type":"Bearer"
}
Sending EDP-GW service discovery request to https://api.refinitiv.com/streaming/pricing/v1/
EDP-GW Service discovery succeeded. RECEIVED:
{
"services":[
{
"dataFormat":[
"tr_json2"
],
"endpoint":"emea-2.pricing.streaming.edp.thomsonreuters.com",
"location":[
"eu-west-1b"
],
"port":443,
"provider":"aws",
"transport":"websocket"
},
{
"dataFormat":[
"tr_json2"
],
"endpoint":"emea-1.pricing.streaming.edp.thomsonreuters.com",
"location":[
"eu-west-1a"
],
"port":443,
"provider":"aws",
"transport":"websocket"
},
{
"dataFormat":[
"tr_json2"
],
"endpoint":"amer-3.pricing.streaming.edp.thomsonreuters.com",
"location":[
"us-east-1a",
"us-east-1b"
],
"port":443,
"provider":"aws",
"transport":"websocket"
},
{
"dataFormat":[
"tr_json2"
],
"endpoint":"apac-2.pricing.streaming.edp.thomsonreuters.com",
"location":[
"ap-southeast-1b"
],
"port":443,
"provider":"aws",
"transport":"websocket"
},
{
"dataFormat":[
"tr_json2"
],
"endpoint":"emea-3.pricing.streaming.edp.thomsonreuters.com",
"location":[
"eu-west-1a",
"eu-west-1b"
],
"port":443,
"provider":"aws",
"transport":"websocket"
},
{
"dataFormat":[
"tr_json2"
],
"endpoint":"apac-3.pricing.streaming.edp.thomsonreuters.com",
"location":[
"ap-southeast-1a",
"ap-southeast-1b"
],
"port":443,
"provider":"aws",
"transport":"websocket"
},
{
"dataFormat":[
"tr_json2"
],
"endpoint":"amer-2.pricing.streaming.edp.thomsonreuters.com",
"location":[
"us-east-1b"
],
"port":443,
"provider":"aws",
"transport":"websocket"
},
{
"dataFormat":[
"tr_json2"
],
"endpoint":"apac-1.pricing.streaming.edp.thomsonreuters.com",
"location":[
"ap-southeast-1a"
],
"port":443,
"provider":"aws",
"transport":"websocket"
},
{
"dataFormat":[
"tr_json2"
],
"endpoint":"amer-1.pricing.streaming.edp.thomsonreuters.com",
"location":[
"us-east-1a"
],
"port":443,
"provider":"aws",
"transport":"websocket"
}
}
Connecting to WebSocket wss://amer-3.pricing.streaming.edp.thomsonreuters.com:443/WebSocket for session1...
WebSocket successfully connected for session1!
SENT on session1:
{
"ID":2,
"Key":{
"Name":"/TRI.N",
"Service":"ELEKTRON_DD"
}
}
Sending authentication request with refresh token to https://api.refinitiv.com:443/auth/oauth2/beta1/token ...
EDP-GW authentication HTTP code: 400 Bad Request
Retry with username and password
Sending authentication request with password to https://api.refinitiv.com:443/auth/oauth2/beta1/token ...
EDP-GW Authentication succeeded. RECEIVED:
{
"access_token":"eyJ--kJFU---kjw",
"expires_in":"300",
"refresh_token":"8d72d56b-*******-0ca4276b3b12",
"scope":"trapi.streaming.pricing.read",
"token_type":"Bearer"
}
Refreshing the access token for session1
Sending authentication request with refresh token to https://api.refinitiv.com:443/auth/oauth2/beta1/token ...
EDP-GW authentication HTTP code: 400 Bad Request
Retry with username and password
Sending authentication request with password to https://api.refinitiv.com:443/auth/oauth2/beta1/token ...
EDP-GW Authentication succeeded. RECEIVED:
{
"access_token":"eyJ0_T7p1_S7XsA",
"expires_in":"300",
"refresh_token":"39e32f6c-*******-c546cbc68082",
"scope":"trapi.streaming.pricing.read",
"token_type":"Bearer"
}
Refreshing the access token for session1
Sending authentication request with refresh token to https://api.refinitiv.com:443/auth/oauth2/beta1/token ...
EDP-GW authentication HTTP code: 400 Bad Request
Retry with username and password
Sending authentication request with password to https://api.refinitiv.com:443/auth/oauth2/beta1/token ...
EDP-GW Authentication succeeded. RECEIVED:
I'm not getting the streaming elektron data .
please help me with this