{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/ProjectOxford-ClientSDK/issues/22","repository_url":"https://api.github.com/repos/Microsoft/ProjectOxford-ClientSDK","labels_url":"https://api.github.com/repos/Microsoft/ProjectOxford-ClientSDK/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/ProjectOxford-ClientSDK/issues/22/comments","events_url":"https://api.github.com/repos/Microsoft/ProjectOxford-ClientSDK/issues/22/events","html_url":"https://github.com/Microsoft/ProjectOxford-ClientSDK/issues/22","id":134124055,"number":22,"title":"Speech sdks cannot connect to websocket server","user":{"login":"boxfish","id":171867,"avatar_url":"https://avatars.githubusercontent.com/u/171867?v=3","gravatar_id":"","url":"https://api.github.com/users/boxfish","html_url":"https://github.com/boxfish","followers_url":"https://api.github.com/users/boxfish/followers","following_url":"https://api.github.com/users/boxfish/following{/other_user}","gists_url":"https://api.github.com/users/boxfish/gists{/gist_id}","starred_url":"https://api.github.com/users/boxfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boxfish/subscriptions","organizations_url":"https://api.github.com/users/boxfish/orgs","repos_url":"https://api.github.com/users/boxfish/repos","events_url":"https://api.github.com/users/boxfish/events{/privacy}","received_events_url":"https://api.github.com/users/boxfish/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-16T23:15:48Z","updated_at":"2016-02-16T23:15:48Z","closed_at":null,"body":"Both the iOS and Android app hang up at \"OnHeadersAvailable@104 Auth token status: 200\" after calling `createMicrophoneClient` method. The same code worked fine one week ago on both platforms.\r\n\r\n**The log from iOS console:**\r\n\r\nInitialize@522 ServiceUri: https://websockets.platform.bing.com/ws/speech/recognizeInitialize@589 Application Name: com.Microsoft.SpeechRecognitionServerExampleOnPreConnect@182 originating error 0x80070057 from OnPreConnect 182BeginRequest@147 originating error 0x80070057 from BeginRequest 147CloseInternal@111 CloseInternal@111 BeginRequest@149 Refreshing token /token/issueTokenAppFileToString@136 originating error 0x80004005 from AppFileToString 136InitializeRenderer@103 originating error 0x80004005 from InitializeRenderer 103Initialize@749 Initializing Audio ServicesLoadController@1567 Initializing Speech ServicesCUClient@104 Constructing CU client 0x0x7fcb79e23700RefreshState@133 Unable to get the max traffic limit from registry.RefreshState@143 Unable to get the current traffic counter from registry.ReadProperty@1041 originating error 0x8000ffff from ReadProperty 1041GetIdentityPropertyValue@235 GetIdentityPropertyValue 3GetUserAgent@255 Useragent Value iOS Assistant (iOS; 9.2;Phone;ProcessName/AppName=com.Microsoft.SpeechRecognitionServerExample;DeviceType=Near)CreateIHttpSession@98 Created WinHttp session for use by WebSocketChannel hr = (0x0)Init@126 Initializing web socket channel to endpoint https://websockets.platform.bing.com/ws/speech/recognizeInitiateHandshake@630 Initiating websocket connection. m_connection=0x0 host=websockets.platform.bing.com port=443OnHeadersAvailable@104 Auth token status: 200\r\n\r\nThe console log from Android:\r\n\r\n02-16 18:12:47.502 12524-12524/? D/dalvikvm: Late-enabling CheckJNI\r\n02-16 18:12:47.619 12524-12524/com.ge.grc.tmsinpection D/dalvikvm: Trying to load lib /data/data/com.ge.grc.tmsinpection/lib/libandroid_platform.so 0x41055dc0\r\n02-16 18:12:47.650 12524-12524/com.ge.grc.tmsinpection D/dalvikvm: Added shared lib /data/data/com.ge.grc.tmsinpection/lib/libandroid_platform.so 0x41055dc0\r\n02-16 18:12:47.650 12524-12524/com.ge.grc.tmsinpection D/dalvikvm: No JNI_OnLoad found in /data/data/com.ge.grc.tmsinpection/lib/libandroid_platform.so 0x41055dc0, skipping init\r\n02-16 18:12:47.650 12524-12524/com.ge.grc.tmsinpection I/NLPLAT: Initialize@163 Using local IHost\r\n02-16 18:12:47.658 12524-12524/com.ge.grc.tmsinpection I/NLPLAT: InitializeFileSystem@20 originating error 0x80070057 from InitializeFileSystem 20\r\n02-16 18:12:47.666 12524-12524/com.ge.grc.tmsinpection I/NLPLAT: Initialize@522 ServiceUri: https://websockets.platform.bing.com/ws/speech/recognize\r\n02-16 18:12:47.806 12524-12524/com.ge.grc.tmsinpection I/NLPLAT: OnPreConnect@182 originating error 0x80070057 from OnPreConnect 182\r\n02-16 18:12:47.806 12524-12524/com.ge.grc.tmsinpection I/NLPLAT: BeginRequest@147 originating error 0x80070057 from BeginRequest 147\r\n02-16 18:12:47.814 12524-12524/com.ge.grc.tmsinpection I/NLPLAT: CloseInternal@111 \r\n02-16 18:12:47.814 12524-12565/com.ge.grc.tmsinpection I/NLPLAT: Receive@491 originating error 0x8000ffff from Receive 491\r\n02-16 18:12:47.814 12524-12565/com.ge.grc.tmsinpection I/NLPLAT: Worker@709 originating error 0x8000ffff from Worker 709\r\n02-16 18:12:47.814 12524-12565/com.ge.grc.tmsinpection I/NLPLAT: CloseInternal@111 \r\n02-16 18:12:47.908 12524-12524/com.ge.grc.tmsinpection I/NLPLAT: BeginRequest@149 Refreshing token S\r\n02-16 18:12:47.908 12524-12524/com.ge.grc.tmsinpection I/NLPLAT: OpenApplicationFile@52 originating error 0x80070057 from OpenApplicationFile 52\r\n02-16 18:12:47.908 12524-12524/com.ge.grc.tmsinpection I/NLPLAT: AppFileToString@136 originating error 0x80070057 from AppFileToString 136\r\n02-16 18:12:47.908 12524-12524/com.ge.grc.tmsinpection I/NLPLAT: InitializeRenderer@103 originating error 0x80070057 from InitializeRenderer 103\r\n02-16 18:12:47.908 12524-12524/com.ge.grc.tmsinpection I/NLPLAT: Initialize@749 Initializing Audio Services\r\n02-16 18:12:47.908 12524-12524/com.ge.grc.tmsinpection E/ASFDummyExtractor: isASFParserAvailable \r\n02-16 18:12:47.908 12524-12524/com.ge.grc.tmsinpection W/ASFDummyExtractor: ASF parser is not available\r\n02-16 18:12:47.916 12524-12524/com.ge.grc.tmsinpection W/libOpenSLES: class OutputMix interface 0 requested but unavailable MPH=43\r\n02-16 18:12:47.924 12524-12524/com.ge.grc.tmsinpection I/NLPLAT: Load@205 Opening VAD 'raw/vcd/common/grammar/Date.0409.vad.xml'\r\n02-16 18:12:47.924 12524-12524/com.ge.grc.tmsinpection I/NLPLAT: OpenApplicationFile@52 originating error 0x80070057 from OpenApplicationFile 52\r\n02-16 18:12:47.924 12524-12524/com.ge.grc.tmsinpection I/NLPLAT: AppFileToString@136 originating error 0x80070057 from AppFileToString 136\r\n02-16 18:12:47.924 12524-12524/com.ge.grc.tmsinpection I/NLPLAT: Load@207 originating error 0x80070057 from Load 207\r\n02-16 18:12:47.924 12524-12524/com.ge.grc.tmsinpection I/NLPLAT: SetLocale@104 originating error 0x80070057 from SetLocale 104\r\n02-16 18:12:47.924 12524-12524/com.ge.grc.tmsinpection I/NLPLAT: LoadController@1570 Initializing Speech Services\r\n02-16 18:12:47.924 12524-12524/com.ge.grc.tmsinpection I/NLPLAT: CUClient@104 Constructing CU client 0x0x198c558\r\n02-16 18:12:47.924 12524-12524/com.ge.grc.tmsinpection I/NLPLAT: RefreshState@133 Unable to get the max traffic limit from registry.\r\n02-16 18:12:47.924 12524-12524/com.ge.grc.tmsinpection I/NLPLAT: RefreshState@143 Unable to get the current traffic counter from registry.\r\n02-16 18:12:47.924 12524-12524/com.ge.grc.tmsinpection I/NLPLAT: ReadProperty@1041 originating error 0x8000ffff from ReadProperty 1041\r\n02-16 18:12:47.924 12524-12524/com.ge.grc.tmsinpection I/NLPLAT: GetIdentityPropertyValue@235 GetIdentityPropertyValue 3\r\n02-16 18:12:47.924 12524-12524/com.ge.grc.tmsinpection I/NLPLAT: GetUserAgent@255 Useragent Value Android Assistant (Android; Unknown;Unknown;ProcessName/AppName=Unknown;DeviceType=Near)\r\n02-16 18:12:47.924 12524-12524/com.ge.grc.tmsinpection I/NLPLAT: CreateIHttpSession@98 Created WinHttp session for use by WebSocketChannel hr = (0x0)\r\n02-16 18:12:47.924 12524-12524/com.ge.grc.tmsinpection I/NLPLAT: Init@126 Initializing web socket channel to endpoint https://websockets.platform.bing.com/ws/speech/recognize\r\n02-16 18:12:47.924 12524-12524/com.ge.grc.tmsinpection I/NLPLAT: InitiateHandshake@630 Initiating websocket connection. m_connection=0x0 host=websockets.platform.bing.com port=443\r\n02-16 18:12:47.971 12524-12571/com.ge.grc.tmsinpection I/NLPLAT: OnHeadersAvailable@104 Auth token status: 200\r\n"}}