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

SocketException: An existing connection was forcibly closed by the remote host Exception #1

Open
HokaHelal opened this issue May 31, 2018 · 0 comments

Comments

@HokaHelal
Copy link

I used sample code below to generate a large number of English waves via TTS, but every time it generates some files then gives this exception

System.IO.IOException: 'Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.'
Inner Exception
SocketException: An existing connection was forcibly closed by the remote host

In these line

               read = result.getStream().Read(audioData, totalRead, audioData.Length - totalRead);
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

1 participant