GithubHelp home page GithubHelp logo

Comments (8)

andrewgodwin avatar andrewgodwin commented on May 17, 2024

Verified that Autobahn itself works fine by running the echo server on 16.3, so it's something in daphne.

from daphne.

AlexejStukov avatar AlexejStukov commented on May 17, 2024

The new version of twisted (16.3.1) fixed the issue for me. Maybe this can be closed?

from daphne.

andrewgodwin avatar andrewgodwin commented on May 17, 2024

When I get a working dev laptop I will verify and remove the pin if true :)

from daphne.

imaurer avatar imaurer commented on May 17, 2024

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.

andrewgodwin avatar andrewgodwin commented on May 17, 2024

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.

bpeschier avatar bpeschier commented on May 17, 2024

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.

bpeschier avatar bpeschier commented on May 17, 2024

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.

andrewgodwin avatar andrewgodwin commented on May 17, 2024

OK, fix finally released in daphne 0.15.0.

from daphne.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.