Skip to content

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

@kelnos

Description

@kelnos

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions