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

Need to send audio several times from Speech Client to Speech Server before it replies #12

Open
sebastian-echeverria opened this issue Dec 14, 2018 · 0 comments
Labels

Comments

@sebastian-echeverria
Copy link
Contributor

It seems that the VM is sometimes taking too long when starting up, but it is incorrectly reporting to pycloud that it is ready for connections. This leads to apps like Speech Client to start sending data to Speech Server, even though Speech Server is still not likely listening for requests.

If this is the issue, the problem is that the current way to detect when the server inside the VM is ready for incoming connections does not work on certain qemu network configurations, and that is probably the case with the current configuration that uses port forwarding. There may not be an easy way to fix this. A workaround would be to add a fixed delay to give the VM some time to be actually ready.

Originally posted by @sebastian-echeverria in #9 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant