Closed Lechindianer closed 8 years ago
Sorry, no clue. Linux-4.6.4 seems quite new. Xenial is 4.4. Mmh.
Apparently there's a problem with newer kernels exactly as you've foreseen. The following config works fine:
Crossbar.io : 0.14.0
Autobahn : 0.15.0 (with JSON, MessagePack, CBOR, UBJSON)
Twisted : 16.3.0-EPollReactor
LMDB : 0.89/lmdb-0.9.18
Python : 2.7.12/CPython
OS : Linux-4.4.15-1-lts-x86_64-with-glibc2.2.5
Machine : x86_64
I'll test it shortly as I'm using Arch Linux, but I had to downgrade twisted to 16.2.0 as incoming connections made the http upgrade for the websocket but crossbar never answers the realm join request.
Crossbar.io : 0.14.0
Autobahn : 0.15.0 (with JSON, MessagePack, CBOR, UBJSON)
Twisted : 16.3.0-EPollReactor
LMDB : 0.89/lmdb-0.9.18
Python : 3.5.2/CPython
OS : Linux-4.6.4-1-ARCH-x86_64-with-arch
Machine : x86_64
crossbar starts up and runs fine with my dynamic authenticator and my asyncio based provider.py starts up and runs fine. all interaction between the web client and the provider is normal. AFACT, kernel 4.6.4 on Arch Linux is a-ok.
Hmm... If I use python3 for crossbar like @FirefighterBlu3 did crossbar starts up fine on kernel 4.6.4
EDIT: Maybe the title "crossbar doesn't work with newer Linux kernels" would be more appropriate?
So, it works on 4.6.4 using Python 3, but not Python 2? If this is the case, then it might even be a Python 2 issue (or a Twisted one).
@Lechindianer could you please post the output of crossbar start --loglevel=debug
when running on Python 2 (where it fails)?
Hmm, something on my laptop must've changed since. If I start crossbar==0.14.0 in a virtualenv I cannot reproduce the behavior anymore
Ok, so closing as invalid
Installed crossbar in a new virtualenv via pip and tried to run the python/html5 template
However the only output I see is. Opening the JavaScript console doesn't show any output. I did run the "crossbar start" command via strace - see strace's output. When I run the same commands on Ubuntu 16.04 the behaviour is as expected - crossbar writes log messages on stdout and there's some output on the JavaScript console as well.
Installed dependency version via pip: