Closed jhoelzl closed 3 years ago
Hello, i am trying to connect to the Trial realtime API with an authentification token in Python3 on Windows 10: Example library usage: https://speechmatics.github.io/speechmatics-python/index.html
import speechmatics # Define connection parameters conn = speechmatics.models.ConnectionSettings( url="ws://trial.asr.api.speechmatics.com/v2", ssl_context=None, auth_token = 'xxx', )
However, i get this error:
<class 'websockets.exceptions.InvalidStatusCode'>", 'exception': 'server rejected WebSocket connection: HTTP 200
Is there anything wrong the the endpoint url, or SSL connection settings?
Regards, Josef
It was an API token issue.
Hello, i am trying to connect to the Trial realtime API with an authentification token in Python3 on Windows 10: Example library usage: https://speechmatics.github.io/speechmatics-python/index.html
However, i get this error:
Is there anything wrong the the endpoint url, or SSL connection settings?
Regards, Josef