I can't access translator. When I type the Chinese character into the window, then the window replies "The translation service is unavailable at this time. Please try again later." Please help me!1 vote
I’m assuming that this is no longer troubled you? Please let me know if it is.
in some case we are getting 1008 error code on websocket.
in the documentation (http://docs.microsofttranslator.com/speech-translate.html), there are some error codes, like 1001, 1011, but not 1008.
it seems for us that Azure closes the websocket connection, with this error code, in certain cases. the question is why this happens?
thanks3 votesResolved · AdminChris Wendt (Product Director, or Executive, Microsoft Cognitive Services) responded
Translator closes the websocket connection after a period of inactivity. You will want to silently recreate the websocket connection when you receive this error.
That is generally a good thing, because you won’t be charged for the time the connection is not open.
The docs could be better in documenting the techniques for keeping the connection alive and the associated messaging. I’ll see to making that happen.
- Don't see your idea?