You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running into the following connection issue once I run my client code on my server. The code works perfectly on my workstation. I turned off my firewall on the server and everything is whitelisted, so I have the suspicion that it could be related to the operating system.
Any help or pointers into the right direction are greatly appreciated.
Error:
ErrorDetails=Unable to contact server. StatusCode: 500, undefined Reason: TypeError [ERR_INVALID_PROTOCOL]: Protocol "http:" not supported. Expected "https:"
I've been running into the same issue, and I suspect it's because of this change in the Sentry JavaScript SDK (which you appear to be using as well). It seems this SDK doesn't explicitly set a protocol, and therefore Sentry falls back to http which then causes the error.
I've tried removing the Sentry wrapper from my API handler, and also passing along an explicit https endpoint by using sdk.SpeechConfig.fromEndpoint instead of sdk.SpeechConfig.fromSubscription, but neither worked. For now I've had to downgrade to @sentry/nextjs@6.12.0, which certainly isn't ideal but then at least it works.
OS: Sangoma Linux 7 (Core) / CentOS 7
Environment: Node.js v14
SDK: "microsoft-cognitiveservices-speech-sdk": "1.19.0"
I am running into the following connection issue once I run my client code on my server. The code works perfectly on my workstation. I turned off my firewall on the server and everything is whitelisted, so I have the suspicion that it could be related to the operating system.
Any help or pointers into the right direction are greatly appreciated.
Error:
ErrorDetails=Unable to contact server. StatusCode: 500, undefined Reason: TypeError [ERR_INVALID_PROTOCOL]: Protocol "http:" not supported. Expected "https:"
Code:
The text was updated successfully, but these errors were encountered: