New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timeout while running long commands #169

eplaut opened this Issue May 14, 2015 · 2 comments


None yet
3 participants

eplaut commented May 14, 2015


Running long commands (>30 secs) raise socket.timeout exception

test case:

$ &
INFO:SLAVE/18812:server started on []:18812

$ python -c 'import rpyc; c = rpyc.classic.connect("localhost"); c.modules.time.sleep(40)'
INFO:SLAVE/18812:welcome []:43377
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/eli/qa/.venv/local/lib/python2.7/site-packages/rpyc/core/", line 196, in __call__
    return syncreq(_self, consts.HANDLE_CALL, args, kwargs)
  File "/home/eli/qa/.venv/local/lib/python2.7/site-packages/rpyc/core/", line 71, in syncreq
    return conn.sync_request(handler, oid, *args)
  File "/home/eli/qa/.venv/local/lib/python2.7/site-packages/rpyc/core/", line 464, in sync_request
    raise socket.timeout
INFO:SLAVE/18812:goodbye []:43402

rpyc/core/ Connection.SYNC_REQUEST_TIMEOUT = 30



This comment has been minimized.


tomerfiliba commented May 14, 2015

i see this was introduced by 7abaf58 ... for once you can change c.SYNC_REQUEST_TIMEOUT to your liking, but it's certainly a bug introduced by this commit.


This comment has been minimized.


coldfix commented Dec 27, 2017

Was fixed by a00be89.

@coldfix coldfix closed this Dec 27, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment