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

handshake error #4

Open
raina99 opened this issue Jun 18, 2018 · 0 comments
Open

handshake error #4

raina99 opened this issue Jun 18, 2018 · 0 comments

Comments

@raina99
Copy link

raina99 commented Jun 18, 2018

Processing...

Handshake error: Status code not 101: 403
Task exception was never retrieved
future: <Task finished coro=<SpeechClient.send_audio_msg() done, defined at client.py:145> exception=AttributeError("'NoneType' object has no attribute 'send'",)>
Traceback (most recent call last):
File "client.py", line 171, in send_audio_msg
await self.ws.send(msg)
AttributeError: 'NoneType' object has no attribute 'send'
Task exception was never retrieved
future: <Task finished coro=<SpeechClient.process_response() done, defined at client.py:206> exception=AttributeError("'NoneType' object has no attribute 'recv'",)>
Traceback (most recent call last):
File "client.py", line 209, in process_response
response = await self.ws.recv()
AttributeError: 'NoneType' object has no attribute 'recv'

Sorry, we were unable to recognize the utterance.

Traceback (most recent call last):
File "client.py", line 401, in
main()
File "client.py", line 360, in main
loop.run_until_complete(client.disconnect())
File "/home/jatinpal/anaconda3/lib/python3.6/asyncio/base_events.py", line 467, in run_until_complete
return future.result()
File "client.py", line 96, in disconnect
await self.ws.close()
AttributeError: 'NoneType' object has no attribute 'close'

any input from the creator where it is getting wrong

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