Azure-Samples / Cognitive-Speech-STT-iOS

iOS SDK for the Microsoft Speech-to-Text API, part of Cognitive Services
https://www.microsoft.com/cognitive-services/en-us/speech-api
Other
49 stars 21 forks source link

No Response: Transport Error SpeechClientStatus_TimeOut #23

Closed UjwalManjunath closed 7 years ago

UjwalManjunath commented 7 years ago

Running into the issue where i don't get a response at all from the server. Any help is appreciated. Thanks

`Application Name: com.Microsoft.SpeechRecognitionServerExample/1.0.1 2017-02-13 16:47:30.660329 SpeechRecognitionServerExample[1028:498846] Could not successfully update network info during initialization. 2017-02-13 16:47:30.667626 SpeechRecognitionServerExample[1028:498846] Could not successfully update network info during initialization. STS: https://api.cognitive.microsoft.com/sts/v1.0/issueToken Refreshing token /sts/v1.0/issueToken Initializing Audio Services Initializing Speech Services No application id provided to controller GetIdentityPropertyValue 3 Useragent Value iOS Assistant (iOS; 10.2.1;Tablet;ProcessName/AppName=com.Microsoft.SpeechRecognitionServerExample/1.0.1;DeviceType=Near;SpeechClient=1.0.161216) Url: 'https://websockets.platform.bing.com/ws/speech/recognize/continuous' Locale: 'en-US' Application Id: '' Version: 4.0.150429 UserAuthorizationToken: ServerLoggingLevel: 1 Initiating websocket connection. m_connection=0x0 host=websockets.platform.bing.com port=443 Auth token status: 401 originating error 0x8000ffff originating error 0x80070057 Authorization token hr 80070057 '' Refreshing token /sts/v1.0/issueToken Successfully initialized client connection Create ImpressionId: a43cdbe0a5363e4c079eb7409b00ad7d Create ImpressionId: a62efbac30497d52bf4aa5452a67938d Reset Closing web socket channel

Web socket channel already closed. Destroying WebSocketChannel originating error 0x8000ffff originating error 0x8e200001 WSRequest

Web socket channel already closed. Application Name: com.Microsoft.SpeechRecognitionServerExample/1.0.1 2017-02-13 16:47:32.145913 SpeechRecognitionServerExample[1028:498846] Could not successfully update network info during initialization. 2017-02-13 16:47:32.147535 SpeechRecognitionServerExample[1028:498846] Could not successfully update network info during initialization. STS: https://api.cognitive.microsoft.com/sts/v1.0/issueToken Refreshing token /sts/v1.0/issueToken Initializing Audio Services Initializing Speech Services No application id provided to controller GetIdentityPropertyValue 3 Useragent Value iOS Assistant (iOS; 10.2.1;Tablet;ProcessName/AppName=com.Microsoft.SpeechRecognitionServerExample/1.0.1;DeviceType=Near;SpeechClient=1.0.161216) Url: 'https://websockets.platform.bing.com/ws/speech/recognize/continuous' Locale: 'en-US' Application Id: '' Version: 4.0.150429 UserAuthorizationToken: ServerLoggingLevel: 1 Initiating websocket connection. m_connection=0x0 host=websockets.platform.bing.com port=443 Auth token status: 401 originating error 0x8000ffff originating error 0x80070057 Authorization token hr 80070057 '' Refreshing token /sts/v1.0/issueToken Successfully initialized client connection Create ImpressionId: 597ec4f901cab7a46bef5f9662c34d9a Create ImpressionId: 584f311ef2525d0fae31dc673ce82f4f Reset

Create ImpressionId: b82a16836d5f791a8bd2f05b4aef7c45 ImpressionId: b330235f68b0435025f8f679805e0b6b 2017-02-13 16:47:32.642264 SpeechRecognitionServerExample[1028:498846] Could not successfully update network info during initialization. Adding requestId: '78260036334eacc6f4ba40ae015fa041' for 'text/cu.client.context' Subscribing request [78260036334eacc6f4ba40ae015fa041] Waiting for connection/send completion. Audio stream created Adding requestId: '5d57373fc4f1aed7dd8fae7d9ac25275' for 'audio/x-wav' Subscribing request [5d57373fc4f1aed7dd8fae7d9ac25275] Audio Stream Created Creating transcoder 2

Microphone permissions: 0 Auth token status: 401 originating error 0x8000ffff Waiting for connection/send completion. Sent first chunk of audio stream, requestId='5d57373f-c4f1-aed7-dd8f-ae7d9ac25275' Waiting for connection/send completion. Waiting for connection/send completion. Waiting for connection/send completion. Waiting for connection/send completion. Waiting for connection/send completion. Waiting for connection/send completion. Waiting for connection/send completion. Waiting for connection/send completion. Waiting for connection/send completion. Waiting for connection/send completion. Waiting for connection/send completion. Waiting for connection/send completion. Waiting for connection/send completion. Waiting for connection/send completion. Waiting for connection/send completion. Waiting for connection/send completion. Waiting for connection/send completion. Waiting for connection/send completion. Waiting for connection/send completion. Waiting for connection/send completion. Waiting for connection/send completion. Waiting for connection/send completion.`

UjwalManjunath commented 7 years ago

This issue is with IpV6 networks. i know SDK does not support IpV6