Cognitive-Services-Voice-Assistant icon indicating copy to clipboard operation
Cognitive-Services-Voice-Assistant copied to clipboard

uwp client cannot work again after restarting aar_xxxx service.

Open 34985086 opened this issue 4 years ago • 2 comments

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

step 1: launch the uwp client(csharp-uwp), speak "Contoso". It works well. step 2: restart the aarsvc_xxxx in task manager. step 3: speak "Contoso" again. -> result: The uwp client will crash.

Any log messages given by the failure

'Contoso' signal detected in session event handler 61507468 Initializing audio from session Changing agent state: [Inactive] -> [Detecting] Connector recognizing: Contohso DialogManager: Session start: F1D01079-1724-22D4-8A76-99567CE73393 DialogManager: error received: Error: WebSocket Upgrade failed with an authentication error (401). Please check for correct subscription key (or authorization token) and region name. SessionId: 90858e4f609d8364a809a6d6c1995771 Changing agent state: [Detecting] -> [Inactive] DialogManager: Session stop: 90858e4f609d8364a809a6d6c1995771

cancel

Failsafe timer expired; rejecting Changing agent state: [Inactive] -> [Inactive] 61528593 Initializing audio from session Unable to acquire MVA 1st-pass audio. Rejecting signal. -2147467259: Error HRESULT E_FAIL has been returned from a call to a COM component. Changing agent state: [Inactive] -> [Inactive]

Expected/desired behavior

It should be work well even user restart aar service.

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?) windows 10 19592.1001

Versions

19592.1001

Mention any other details that might be useful

There is an exception in StartConversationAsync method. The exception is System.Exception:“The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)” Please help find out which reason causes this and how to fix it. Thanks!


Thanks! We'll be in touch soon.

34985086 avatar Apr 23 '20 05:04 34985086

Thanks @34985086 for reporting this! I'm following up with the relevant engineers and we will get back to you soon.

dargilco avatar Apr 23 '20 20:04 dargilco

Thanks for the filing this issue! As we discussed over email, adding resiliency against OS service restart is something we want the application to not have to worry about; that's why there isn't the extra code I shared present in the sample.

But there's clearly a good need to document this and I'll use this ticket to track that.

trrwilson avatar Apr 24 '20 16:04 trrwilson