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

IPv6 issue #13

Closed y15a closed 8 years ago

y15a commented 8 years ago

We're experiencing an issue while trying to use the STT service in IPv6 network. It seems to be failing at WebSocket layer. iOS 10. Any help will be very much appreciated...

Initiating websocket connection. m_connection=0x156cb3d88 host=websockets.platform.bing.com port=443
WSRequest

originating error 0x80070057
Authorization token hr 80070057 ''
Refreshing token /sts/v1.0/issueToken
Waiting for connection/send completion.
Sent first chunk of audio stream, requestId='2f2bf08c-c000-e514-ab62-a02cea0f054d'
Waiting for connection/send completion.
Waiting for connection/send completion.
Waiting for connection/send completion.
Waiting for connection/send completion.
originating error 0x8e200004
WebSocket closed unexpectedly, status: 0
Closing web socket channel
CU Client connection dropped
ConnectionStateChanged
Web socket handshake failed, hr=8E200004
web socket message delivery failed, hr=8E200004
Web socket channel already closed.
Message: 'audio.stream.start' has 4 remaining transmit attempts.
Retrying message, name='audio.stream.start'
Initiating websocket connection. m_connection=0x156cb3d88 host=websockets.platform.bing.com port=443
originating error 0x8e200004
originating error 0x80070057
Authorization token hr 80070057 ''
Refreshing token /sts/v1.0/issueToken
WSRequest
jasonvomsft commented 8 years ago

The iOS SDK currently does not support IPV6.

y15a commented 8 years ago

@jasonvomsft FYI, Apple tests apps on IPv6 network and reject if they don't work, so if you want the SDK to be actually used in production you should consider supporting it. may not have been the case several months ago but we've recently been getting rejects based on this limitation.