Skip to content
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

RPCTransportError: timed out #43

Open
mingstupid opened this issue Oct 12, 2016 · 0 comments
Open

RPCTransportError: timed out #43

mingstupid opened this issue Oct 12, 2016 · 0 comments

Comments

@mingstupid
Copy link

mingstupid commented Oct 12, 2016

Hi,
I was trying to use the client.py code to parse a long paragraph. It generates the following error message:
File "/home/mings/Toolkits/stanford-corenlp-python/jsonrpc.py", line 934, in __call__
return self.__req(self.__name, args, kwargs)
File "/home/mings/Toolkits/stanford-corenlp-python/jsonrpc.py", line 906, in __req
raise RPCTransportError(err)
jsonrpc.RPCTransportError: timed out

I find this not very consistent. Sometimes, it is able to parse, but sometimes it is not.

[EDIT]
I changed the default timeouts in jsonrpc.py to 20 secs, it seems to work fine now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant