You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It works fine if the "*" is replaced with "localhost".
Environment:
Mac OS X 10.6.8
Python 2.7.3 (MacPorts)
zerorpc 0.3.0
pyzmq_static 2.2
Traceback:
connecting to "tcp://*:1234"
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/zerorpc", line 274, in
exit(main())
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/zerorpc", line 265, in main
return run_client(args)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/zerorpc", line 207, in run_client
setup_links(args, client)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/zerorpc", line 94, in setup_links
socket.connect(endpoint)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/zerorpc/socket.py", line 40, in connect
return self._events.connect(endpoint, resolve)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/zerorpc/events.py", line 212, in connect
r.append(self.socket.connect(endpoint))
File "socket.pyx", line 475, in zmq.core.socket.Socket.connect (zmq/core/socket.c:4508)
zmq.core.error.ZMQError: Invalid argument
The text was updated successfully, but these errors were encountered:
Thanks for the report. Some operating system allow '0', others '*' as an alias to 'any interface of the localhost'. Let's safely set that to localhost.
Issue 0rpc#41 was about an `zmq.core.error.ZMQError: Invalid argument` error when trying to connect to `tcp://*:4242`, however I ran into the same bug in Ubuntu 13.04 connecting to `tcp://:4242`.
In my environment this command from the first example in the README fails:
zerorpc --client --connect tcp://*:1234 strftime %Y/%m/%d
It works fine if the "*" is replaced with "localhost".
Environment:
Mac OS X 10.6.8
Python 2.7.3 (MacPorts)
zerorpc 0.3.0
pyzmq_static 2.2
Traceback:
connecting to "tcp://*:1234"
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/zerorpc", line 274, in
exit(main())
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/zerorpc", line 265, in main
return run_client(args)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/zerorpc", line 207, in run_client
setup_links(args, client)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/zerorpc", line 94, in setup_links
socket.connect(endpoint)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/zerorpc/socket.py", line 40, in connect
return self._events.connect(endpoint, resolve)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/zerorpc/events.py", line 212, in connect
r.append(self.socket.connect(endpoint))
File "socket.pyx", line 475, in zmq.core.socket.Socket.connect (zmq/core/socket.c:4508)
zmq.core.error.ZMQError: Invalid argument
The text was updated successfully, but these errors were encountered: