Open 1am opened 10 years ago
I've also tried server from https://github.com/dotcloud/zerorpc-node#servers with zerorpc cli utility. This time I get no responses with an exception that sometimes iter returns the first value.
Request:
zerorpc tcp://127.0.0.1:4242 iter 11 20 1
Response - sometimes nothing, sometimes this:
'11'
add42 call:
zerorpc tcp://127.0.0.1:4242 add42 12
connecting to "tcp://127.0.0.1:4242"
Traceback (most recent call last):
File "/usr/local/bin/zerorpc", line 8, in <module>
load_entry_point('zerorpc==0.4.4', 'console_scripts', 'zerorpc')()
File "/Library/Python/2.7/site-packages/zerorpc/cli.py", line 265, in main
return run_client(args)
File "/Library/Python/2.7/site-packages/zerorpc/cli.py", line 228, in run_client
results = client(args.command, *call_args)
File "/Library/Python/2.7/site-packages/zerorpc/core.py", line 245, in __call__
return self._process_response(request_event, bufchan, timeout)
File "/Library/Python/2.7/site-packages/zerorpc/core.py", line 226, in _process_response
raise ex
zerorpc.exceptions.TimeoutExpired: timeout after 30s, when calling remote method add42
I am also experiencing the same issue, running node.js as the server seems to timeout the request even though the message comes through.
Hi,
I've been testing streaming responses example from http://zerorpc.dotcloud.com/ website and there seems to be a small problem when i set node.js as server and python as client. Oposite configuration works correctly. I've tried using different ports, etc. but nothing seems to solve the issue. Node server is started first and later I launch the client script. Does somebody know what could solve the problem?
Python client response:
Node.js server response (after I run python client):