browser_chat Error: [Errno 99] Cannot assign requested address
See original GitHub issueBug description Followed the setup instructions here https://github.com/facebookresearch/ParlAI/tree/master/parlai/chat_service/services/browser_chat, but when I run the client script I get this error:
Connecting to port: 10001
[Errno 99] Cannot assign requested address
Connection closed
Reproduction steps
python3 parlai/chat_service/services/browser_chat/client.py --port 10001
Expected behavior Be able to chat with the model on a browser page.
Additional context
I tried to run the client.py
inside a docker image which published and exposed ports 8080, 80 and 10001 while the run.py
was running in a docker image which exposed port 10001.
LITTLE BUG
First time I run it, I got ModuleNotFoundError: No module named 'tornado
’. Solved it installing tornado with python3 -m pip install tornado
.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
socket.error:[errno 99] cannot assign requested address and ...
Stripping things down to basics this is what you would want to test with: import socket server = socket.socket() server.bind(("10.0.0.1", ...
Read more >error: [Errno 99] Cannot assign requested address · Issue #208
I just run into this issue on an older and updated Kali Linux. Just like @Sliim mentioned, the quickest fix is to launch...
Read more >Plone OSError: [Errno 99] Cannot assign requested address
I have exim relay running on localhost but plone is unable to send a test email. I have tested using python3 smtplib and...
Read more >CURL error after upgrading v2.7 — bind failed with errno 99
CURL error :: bind failed with errno 99: Cannot assign requested address. Mailchimp says: API Request ... I double verified the IP address...
Read more >Unable to start Plesk migration: urlopen error [Errno 99 ...
Symptoms. Unable to start Plesk migration due to the following error: urlopen error [Errno 99] Cannot assign requested address · Cause.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Sure, these are the things I remember I had some trouble with, but I’m new also to docker so they may be trivial:
wget
andtornado
as I mentioned in other issues (my start image was 10.0-cudnn7-devel-ubuntu18.04), that were not installed during setup--network==host
must be specified as an arg of therun
command in both the server and client containerIf anything else comes to my mind I will edit this post.
I’m sorry, this was really an issue regarding Docker. I had to use
--network==host
to expose my ports. I’m closing this issue.