Comments (8)
Verified that Autobahn itself works fine by running the echo server on 16.3, so it's something in daphne.
from daphne.
The new version of twisted (16.3.1) fixed the issue for me. Maybe this can be closed?
from daphne.
When I get a working dev laptop I will verify and remove the pin if true :)
from daphne.
FYI - Daphne on Twisted 16.2.0 works for us. But fails on 16.3.1 and 16.3.2 for us.
Ping me if you need more details. We are reverting Twisted back to 16.2.0 for now.
from daphne.
I have also verified that Twisted 16.3.2 does not fix this, so leaving the pin in place.
@AlexejStukov Could you say what versions of autobahn
and daphne
you have installed? Would like to know how it's working for you.
from daphne.
Ran into this issue today while picking up a side-project and wondered why I left it broken. Turns out updating dependencies is not as harmless as I thought :-)
Running channels 0.17.2, daphne 0.14.3 and autobahn 0.16.0
Twisted 16.2.0 runs fine, 16.3.0 and above (up to todays current, which is 16.4.0) do not.
from daphne.
This took some digging.
Twisted 16.3 implemented some changes to the http handling, one of which is shutting down (pausing) the producer when all content is thought to be received.
If my reasoning is correct, we only need to resume the producer after we handled the upgrade in process()
of WebRequest
. Seems to work in 16.2 and up.
from daphne.
OK, fix finally released in daphne 0.15.0
.
from daphne.
Related Issues (20)
- how to set websocket send buffersize in daphne
- issuse when i using daphe in my django app with streaminghttpresponse HOT 7
- Can daphne run WSGI apps? HOT 6
- Does daphne have a file for initialization?
- Requests with Transfer-Encoding: chunked have no content HOT 14
- StreamHttpResponse with sync operations break in Daphne HOT 5
- Memory usage: Daphne loading all the file in memory (POST request) HOT 7
- Text streaming buffered issue
- Implement WebSocket Denial Response extension HOT 8
- [feature request] trailing headers HOT 1
- Add support for Python 3.12
- DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13 HOT 1
- Daphne with self signed ssl HOT 2
- Daphne allows invalid characters within header names HOT 5
- Unix File Socket Argument HOT 12
- TypeError: object HttpResponse can't be used in 'await' expression HOT 3
- add support for --proxy-headers and friends in runserver HOT 4
- fd_endpoint.py is not properly installed HOT 7
- python manage.py runserver not working HOT 5
- Daphne - Twisted custom cipher list using set_cipher method HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from daphne.