"Connection closed by server: 1006" when using --host 0.0.0.0
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 30/100
- Type d'issue
- Bug
- Clarté
- À clarifier
- Activité
- À l'abandon
- Stack technique
- python
- Domaine
- networking
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
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.
- Langage dominant
- Python
- Étoiles
- 1.1k
- Forks
- 285
- Merge moyen
- 1 j 19 h
- PR mergées (30 j)
- 2
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de Lawouach/WebSocket-for-Python
-
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
Lawouach/WebSocket-for-Python#308 ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 45/100
Lawouach/WebSocket-for-Python#300 ·
-
This project is not well maintained so be very very very patient!Peut-être à nouveau libre @Lawouach l’a pris il y a 681 jours, et aucune pull request n’est ouverte. Ouvertequestion
Lawouach/WebSocket-for-Python#297 · 2 commentaires · 1 personne assignée ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 20/100
Lawouach/WebSocket-for-Python#296 ·
-
Make the codes python 3 compatiblePeut-être à nouveau libre @auvipy l’a pris il y a 1087 jours, et aucune pull request n’est ouverte. Ouverte
Lawouach/WebSocket-for-Python#280 · 1 commentaire · 1 personne assignée ·
Toutes les issues de Lawouach/WebSocket-for-Python
Issues similaires
-
_chunk_scan_fwd launches its Triton kernel without a device guard: NaN when a model is split across GPUsPeut-être pris @toddwbucy l’a pris aujourd’hui. Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 85/100
state-spaces/mamba#1072 ·
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 85/100
loopj/aiovantage#414 ·
Les mainteneurs répondent en général sous 1 jour
-
power_mismatch_deline docstring: the rear-to-total RMAD conversion has an extra bifaciality factorOuverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 85/100
pvlib/pvlib-python#2929 ·
Les mainteneurs répondent en général sous 1 jour
-
data good first issue launch-day unverified
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
BradGroux/wow-forever-mission-control#8 ·
Les mainteneurs répondent en général sous 1 jour
-
check bilibili falsely reports read/subtitle as broken: live_test fixture BV1GJ411x7h7 is gone (404)Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Panniantong/Agent-Reach#889 ·
Les mainteneurs répondent en général sous 2 jours