-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ConnectionFailure with Speech Synthesis #291
Comments
@Cincan can you provide more information about your setup/environment? Also any information you can share about how this manifests. Is this issue intermittent or does it fail 100%? |
many time it works well, and this issue is intermittent happens. |
This issue occured for me on the 27 Feb 2021 at 23.00 CET. I used the westeurope region. the issue was present for 5-10 minutes. I call the service from AWS lambda (eu-west) using node 10. |
The caching of the OCSP response does not work in a serverless context as neither the in memory cache nor the disk cache will share any cached items between calls. At least not with a cold start. |
Hello there. |
Thanks for your continued input! We have added some connection retry logic to make the connections more robust and mitigate this issue. The changes will be released in 1.17 |
Closing this as the reconnection logic has been added. |
hi,
my Speech SDK version is 1.13.1
I get this error:
SpeechSynthesisResult {
privResultId: '13F4195BBBC34EB0A4A73670E2F41EAA',
privReason: 1,
privAudioData: undefined,
privErrorDetails: 'Unable to contact server. StatusCode: 1006, undefined Reason: Failed to obtain OCSP response: 504',
privProperties: PropertyCollection {
privKeys: [ 'CancellationErrorCode' ],
privValues: [ 'ConnectionFailure' ]
}
}
Originally posted by @Cincan in #157 (comment)
The text was updated successfully, but these errors were encountered: