New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tests hang against twisted-16.3.0 #62
Comments
|
@meejah hey, can you reproduce this? It doesn't seem to be affecting normal operation, but tests are messed up and I'm wondering if other Autobahn projects are seeing something similar (I don't see any autobahn tickets filed yet, so I'm wondering if our tests are doing something unusual). So far it looks like the rendezvous server is receiving both websocket connections ( |
Is it Don't recall seeing this in Autobahn; will check there (we definitely use StringTransport for some tests). I do recall a lot of discussion on #twisted surrounding transports and HTTP (and HTTP/2) and I know Autobahn is one of the "less normal" cases that "does stuff" to the transport (e.g. so you can serve a WebSocket and a normal Web page from the same listener -- Autobahn gives you a help page if you HTTP GET to a WebSocket endpoint). |
p.s. if you want debug logging from Autobahn, you can put a snippet like this in some
|
FWIW, I just confirmed that all Autobahn tests pass against 16.3.0 -- but, there isn't 100% coverage so could still be an Autobahn issue and not wormhole... |
@warner Are you using |
This has affected Daphne as well. We changed everything to go through the channel ( |
Oh, yes, the wormhole server is using |
I have come up with a reason -- the git commit you bisected added flow control to Request, meaning that the transport was paused (this is how we're handling pipelined requests now). |
Bug fix written, making a PR on Autobahn.... |
Seems like @tomprince also fixed it :) |
For bystanders reading this, you can install specifically Twisted 16.1.1 to work around this for now. That's |
See also crossbario/autobahn-python#641 |
I think there's been a new Autobahn release since this problem, and it's not happening on an updated |
Running 'tox' on wormhole trunk (currently at cdb5c19) hangs at
test_scripts.Cleanup
. Downgrading Twisted from current 16.3.0 to 16.2.0 lets it pass all tests.The text was updated successfully, but these errors were encountered: