Open aleksas opened 6 years ago
Resolved by downgrading Tornado to 4.5 version from latest (5.0).
Apparently Tornado 5.0 API is incosnsistent with previous versions.
Faulty code (in Tornado 5.0 case): https://github.com/binux/pyspider/blob/edd46135621dd333283850c2bfdb24444c3eec06/pyspider/scheduler/scheduler.py#L780
I got the same problem
See solution in comment.
Expected behavior
Webui connects to scheduler
Actual behavior
Updated virtual machine with pyspider running on debian Jessie and got into trouble. Webui doesn't connect and raises error:
Also following error is shown if
pyspider -c config.json scheduler
is explicitly executed.... normal output follows, listing projects and stats
How to reproduce
/opt/.pyspider/config.json
/etc/init.d/pyspider