Can't connect to a websocket (poetry only)
See original GitHub issue- I am on the latest Poetry version.
- I have searched the issues of this repo and believe that this is not a duplicate.
- If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option).
- OS version and name: 5.3.1-arch
- Poetry version: 0.12.17
- Link of a Gist with the contents of your pyproject.toml file: https://gist.github.com/fly1ngDream/e4b74177570870e54da627069585d1a0
Issue
Application is a simple chat using django-channels and celery (just tried to substitude Pipenv with poetry for my old app). While managing my deps using Pipenv, everything is OK and i have no issues at all. But while using poetry with exactly same deps list, server can’t find websocket via its route and get this error.
[06/Oct/2019 22:13:46] "GET /chat1/ HTTP/1.1" 200 8842
Not Found: /ws/chat/chat1/
[06/Oct/2019 22:13:47] "GET /ws/chat/chat1/ HTTP/1.1" 404 2607
Pipenv output:
HTTP GET /chat1/ 200 [0.07, 127.0.0.1:51086]
WebSocket HANDSHAKING /ws/chat/chat1/ [127.0.0.1:51090]
WebSocket CONNECT /ws/chat/chat1/ [127.0.0.1:51090]
Here is this app: https://github.com/fly1ngDream/channels-chat (After commit that start using poetry for deps management, sockets became broken). I had tried to use beta version of poetry, but it didn’t help
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Can't connect to a websocket (poetry only) #1443 - GitHub
Application is a simple chat using django-channels and celery (just tried to substitude Pipenv with poetry for my old app). While managing my ......
Read more >Can't connect to websocket server (spring) - Stack Overflow
I suppose you send client requests from different port, that means your client is on different origin, for that you must add some...
Read more >websocket - npm
Overview. This is a (mostly) pure JavaScript implementation of the WebSocket protocol versions 8 and 13 for Node. There are some example client ......
Read more >Web app can't connect to websocket server
This app is connected to a websocket server on port 9001. Both WS and HTTP servers are located inside the same VM. When...
Read more >Deployment - Uvicorn
A process manager will handle the socket setup, start-up multiple server processes, monitor process aliveness, and listen for signals to provide for processes ......
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 FreeTop 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
Top GitHub Comments
The issue was: i installed the
django-channels
dependency which has nothing in common with thechannels
oneRecreated pipenv virtualenv and got same issue. Obviously, poetry is not the source of this issue