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

Server fails to respond in docker, but not outside #5

Open
kelnos opened this issue Apr 7, 2020 · 2 comments
Open

Server fails to respond in docker, but not outside #5

kelnos opened this issue Apr 7, 2020 · 2 comments

Comments

@kelnos
Copy link

kelnos commented Apr 7, 2020

With your docker container running, if I then do:

curl -X POST --data-binary @foo.wav http://localhost:8080/stt

... where foo.wav is a wave file with some speech, I get:

curl: (56) Recv failure: Connection reset by peer

... and I see nothing in the output on the deepspeech-server container (beyond the initial startup messages).

If I run the exact same commands in the dockerfile, just in a virtualenv, natively on my machine (Debian bullseye/testing), and then start up the server, then it works fine; the server responds with the expected text from the wave file.

Any ideas? I'm a bit new to docker, so I'm not sure what exactly about the environment is different.

@MainRo
Copy link
Owner

MainRo commented Apr 17, 2020

Did you build the docker image yourself or used the one from docker hub ? The docker hub one is outdated and I must update it. However with a local build it should work.

@kelnos
Copy link
Author

kelnos commented Apr 17, 2020

I built the image myself.

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