Hi,
I've found that I occasionally get server connection issues when trying to refresh the authentication token every five minutes.
2022-11-02 11:56:32.157+0100 root : USER: INFO refreshing authentication token.
2022-11-02 11:56:46.622+0100 root : USER: ERROR RDP authentication result failure: 500 Internal Server Error
2022-11-02 11:56:46.625+0100 root : USER: ERROR Text: {"error":"server_error" ,"error_description":"Request "XXXX-XXXX-XXXX-XXXX-XXXX" has failed on backend call timeout" }
2022-11-02 11:56:46.627+0100 root : USER: ERROR IOError Exception: Expecting ',' delimiter: line 1 column 57 (char 56)
2022-11-02 11:56:53.811+0100 root : USER: ERROR RDP authentication result failure: 400 Bad Request
2022-11-02 11:56:53.814+0100 root : USER: ERROR Text: {"error":"access_denied" ,"error_description":"Thread interrupted while sleeping; nested exception is java.lang.InterruptedException: sleep interrupted" }
It seems that some server error occurs. Do you know why? Is it due to the thread, websocket or server API?
I'm using the tutorial which can be downloaded here: https://developers.refinitiv.com/content/dam/devportal/api-families/messenger-api/messenger-bot-api/downloads/messenger_bot_api_example_python.zip
Thanks in advance.
Best,
Cemil