docker-deepspeech-server
                                
                                
                                
                                    docker-deepspeech-server copied to clipboard
                            
                            
                            
                        Server fails to respond in docker, but not outside
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.
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.
I built the image myself.