question

sanm-7576 avatar image
0 Votes"
sanm-7576 asked sanm-7576 answered

Error while running Azure container instance with Speech Service Connection was closed by the remote host. Error code: 1011. Error details: Internal server error

Hi, I am running Azure container Instance with below image.

mcr.microsoft.com/azure-cognitive-services/speechservices/speech-to-text:latest

hosted image is perfectly accessible but when i try to connect it with our speech SDK sample demo getting below error.

113136-image.png


Note: I have created Azure congnitive Speech service with F0 price tier and referred the same endpoint and apikey to above azure container instance.

I am attaching my sample speech sdk code as well.

Thanks.113221-demo.txt


azure-cognitive-servicesazure-speech
image.png (18.0 KiB)
demo.txt (1.9 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@sanm-7576 Based on my prior experience this error is related to the host on which the container is running or the concurrent requests exceeding the value as offered by the pricing tier. In this case F0. You could try to upgrade to S0 from the portal and re-run the scenario once by restarting the container and check.

You could also add another option while running the container -e DECODER_MAX_COUNT=10 as mentioned in the FAQ but I think the first option should be easy to check to rule out an issue with the limits on resource.


0 Votes 0 ·

1 Answer

sanm-7576 avatar image
0 Votes"
sanm-7576 answered

Thanks for your response. I was able to fix this issue by increasing Core CPU and Memory of Container instance

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.