scrapinghub / frontera

A scalable frontier for web crawlers
BSD 3-Clause "New" or "Revised" License
1.29k stars 216 forks source link

Can't start zmq broker #319

Closed tamt closed 6 years ago

tamt commented 6 years ago

Got an error as following when run code in tutorial: start-cluster

C:\Users\tamt\AppData\Local\Programs\Python\Python35\lib\site-packages\frontera\contrib\messagebus\zeromq\broker.py:11: VisibleDeprecationWarning: zmq.eventloop.minitornado is deprecated in pyzmq 14.0 and will be removed. Install tornado itself to use zmq with the tornado IOLoop. from zmq.eventloop.ioloop import IOLoop Traceback (most recent call last): File "C:\Users\tamt\AppData\Local\Programs\Python\Python35\lib\runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "C:\Users\tamt\AppData\Local\Programs\Python\Python35\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Users\tamt\AppData\Local\Programs\Python\Python35\lib\site-packages\frontera\contrib\messagebus\zeromq\broker.py", line 179, in main() File "C:\Users\tamt\AppData\Local\Programs\Python\Python35\lib\site-packages\frontera\contrib\messagebus\zeromq\broker.py", line 173, in main server = Server(address, port) File "C:\Users\tamt\AppData\Local\Programs\Python\Python35\lib\site-packages\frontera\contrib\messagebus\zeromq\broker.py", line 60, in init db_out_s.bind(socket_config.db_out()) File "zmq\backend\cython\socket.pyx", line 547, in zmq.backend.cython.socket.Socket.bind File "zmq\backend\cython\checkrc.pxd", line 25, in zmq.backend.cython.checkrc._check_rc zmq.error.ZMQError: Permission denied

tamt commented 6 years ago

Sorry for this. I figure out the problem, it seems like port 5550 (default ZMQ_BASE_PORT) is used by another program on my machine. Hope this help someone.