I have been using Refinitv Enterprise infrastructure to consume data using the raw websocket interface
The Login message I use in websocket interface is
{'ID': 2,
'Domain': 'Login',
'Key': {
'Name': MY_APP_ID USER,
'Elements': {
'ApplicationId': MY_APP_ID USER,
'Position': MY_IP}
}
}
As I am migrating to Refinitv Data Python library published in the Refinitiv API Portal, when I do the refinitive.data.open_session() I get what seems to be aun authentication error
These alternative options are already supported in the current version of the library.
[Error 401] - {'error': 'invalid_client', 'error_description': 'Invalid Application Credential.'}
Session is not opened. Can't send any request. The config file I use is the following one, where HOSTNAME:IP is exactily the same it is working in the websocket interface.
Both when choosing default set to platform.rdp or deployed, I get the problem.
Should I connect to other machine? the authentication method is different?
{
"logs": {
"level": "debug",
"transports": {
"console": {
"enabled": false
},
"file": {
"enabled": false,
"name": "refinitiv-data-lib.log"
}
}
},
"sessions": {
"default": "platform.rdp",
"platform": {
"rdp": {
"url" : "HOSTNAME:IP",
"app-key": "MY_APP_ID USER",
"username": "MY_APP_ID USER",
"password": "MY_APP_ID USER"
},
"deployed": {
"app-key": "YOUR APP KEY GOES HERE!",
"realtime-distribution-system": {
"url" : "HOSTNAME:IP",
"dacs" : {
"username" : "MY_APP_ID USER",
"application-id" : "MY_APP_ID USER",
"position" : ""
}
}
}
}
}
}