"Connection closed by server: 1006" when using --host 0.0.0.0
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 30/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python
- Domain
- networking
Research direction
Start by reproducing the reported behavior with example/echo_cherrypy_server.py using --host 0.0.0.0, then compare it with running the server on a specific Ethernet or Wi-Fi IP. Check the browser connection result and the server output; done means identifying why the wildcard host closes the WebSocket and confirming a fix or documented limitation.
Written by the indexing model from the issue text.
Description
I did these steps on Raspberry Pi3:
- git clone https://github.com/Lawouach/WebSocket-for-Python.git
- cd WebSocket-for-Python/
- sudo python setup.py install
- python example/echo_cherrypy_server.py --host 0.0.0.0
- Then open a browser on my PC and go to http://192.168.1.x:9000
Then the message box shows:
Connection closed by server: 1006 ""
I use cherrypy 3.5.0 in my RPi3. Please advise the way to solve the problem. Note that there is no problem if I specify the IP address of either Ethernet or Wifi. I have to use 0.0.0.0 as Host because I connect to RPi via Ethernet or Wifi.
Thank you.
- Dominant language
- Python
- Stars
- 1.1k
- Forks
- 286
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 2
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Lawouach/WebSocket-for-Python
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
Lawouach/WebSocket-for-Python#300 ·
-
This project is not well maintained so be very very very patient!May be free again @Lawouach claimed this 655 days ago, and no pull request is open. Openquestion
Lawouach/WebSocket-for-Python#297 · 2 comments · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 20/100
Lawouach/WebSocket-for-Python#296 ·
-
Make the codes python 3 compatibleMay be free again @auvipy claimed this 1061 days ago, and no pull request is open. Open
Lawouach/WebSocket-for-Python#280 · 1 comment · 1 assignee ·
-
Setup new CIMay be free again @auvipy claimed this 1233 days ago, and no pull request is open. Open
Lawouach/WebSocket-for-Python#275 · 1 assignee ·
All issues in Lawouach/WebSocket-for-Python
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 Half a day Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Qiskit/qiskit-ibm-runtime#3431 · 1 comment ·
Maintainers usually reply within 1 day
-
[Lesson] A compatibility-gate rejection is a verdict, not something to overwrite with --accept-riskOpenlesson-submission needs-ac pending-review
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Ikalus1988/MisakaNet#2870 ·
Maintainers usually reply within 1 day
-
feature:LinkChecker
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
digitalfabrik/integreat-cms#4594 ·
Maintainers usually reply within 5 days