question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Connection failed (no connection to the remote host). Internal error: 1. Error details: 2461.

See original GitHub issue

Describe the bug

We are getting this error:

Connection failed (no connection to the remote host). Internal error: 1. Error details: 2461. Please check network connection, firewall setting, and the region name used to create speech factory.

when trying to use the SDK from inside a Ubuntu 18.04.3 LTS docker container (FROM ubuntu:latest). We installed the relevant libs (the documented ones and libgstreamer that I found is linked to one of the .so libs using ldd):

apt-get install -y libssl1.0.0 libasound2 libgstreamer1.0-0

The same code works when executed directly on a Ubuntu 18.04.3 LTS virtual machine instead of in the docker image. So there seems to be something missing.

To Reproduce

  1. Try to execute an analysis using a .wav file from within the Ubuntu container
  2. The above error will be returned.

Expected behavior

The translated text returned from the API.

Version of the Cognitive Services Speech SDK

1.6.0

Platform, Operating System, and Programming Language

  • OS: Ubuntu 18.04.3 LTS docker container
  • Hardware - x64
  • Programming language: Java

Additional context

Please tell me if there is more error information returned by the API that I can include.

Maybe someone with access to the source can tell me what exactly the number 2461 refers to, so I can investigate further.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
mahilleb-msftcommented, Aug 28, 2019

Do you still happen to have the list of new packages that the ubuntu-standard installation added? Just a shot in the dark here, but can you also try whether “ca-certificates” is the culprit?

Best, Mark

0reactions
yavin87commented, Aug 31, 2021

Do you still happen to have the list of new packages that the ubuntu-standard installation added? Just a shot in the dark here, but can you also try whether “ca-certificates” is the culprit?

Best, Mark

I had the same issue but on a fresh Debian Bullseye Docker container and your suggestion of installing the ca-certificates package fixed it. Thanks Mark!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Connection failed (no connection to the remote host)
Based on the error it seems like a connection issue, has there been any change in your resource network settings or your network...
Read more >
Connection Failed Error with Speech SDK - Microsoft Q&A
... the following error (with the SDK): 'Connection failed (no connection to the remote host). Internal error: 1. Error details: Code: 2508.
Read more >
Error Message Codes - Progress Documentation
The requested node cannot be found in the monitor tree. Cause: An internal error occurred. Action: Contact Progress DataDirect technical support. 361, Duplicate ......
Read more >
Azure Speech Text To Speech (TTS) fails with ...
The error message you are seeing is indicating that there is something going wrong with opening a network connection to the service.
Read more >
ANR messages list
Error errno opening the database ID file for server startup. ANR0229W Server is unable to add entries to the Activity Log. Console messages...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found