Skip to content
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

Unable to set an endpoint ID when using SpeechTranslationConfig #114

Closed
jkgh2018 opened this issue Jan 7, 2020 · 1 comment
Closed

Unable to set an endpoint ID when using SpeechTranslationConfig #114

jkgh2018 opened this issue Jan 7, 2020 · 1 comment

Comments

@jkgh2018
Copy link

jkgh2018 commented Jan 7, 2020

The speechTranslationConfig is setting the EndpointID to the Endpoint property.
This results in an incorrect URL being constructed and a status code of 500.

cognitive-services-speech-sdk-js/src/sdk/SpeechTranslationConfig.ts
public set endpointId(value: string) {
this.privSpeechProperties.setProperty(PropertyId.SpeechServiceConnection_Endpoint, value);
}

privErrorDetails: "Unable to contact server. StatusCode: 500, Reason: SyntaxError: Failed to construct 'WebSocket':

@rhurey
Copy link
Member

rhurey commented Feb 6, 2020

PR #139 will have the fix.

@rhurey rhurey closed this as completed Feb 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants