How to fix 'Connection to timed out'

in witness-category •  3 months ago


First of all this is not an issue, this is excepted behaviour. Yesterday (1/6/18) the Steemit Inc decommissioned obsolete RPC node as they communicated few times before.

The new public API node uses http/jsonrpc instead of RPC protocol and most popular libraries like steem-js, steem-python, radiator or dsteem are compatible out of the box.

How to fix it?

If your application reports connection timeout errors, similar to below,

WARNING:urllib3.connectionpool:Retrying (Retry(total=15, connect=None, read=None, redirect=0, status=None)) after connection broken by 'ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x7f0dde1439b0>, 'Connection to timed out. (connect timeout=60)')': /

it means your application endpoint is still set to disabled node. The fix is very easy and all what you need to do is replace the old node by the new one

For tools built on top of steem-python you can use steempy and set new default node,

$ steempy set nodes

or change it directly in the code,

nodes = [

s = Steemd(nodes)

It's always good to define a few API servers and if you're looking for the list of available public API nodes please check my tool, or run curl in your terminal ;-)

If you think I can be a good witness, please vote for me.

Thank you!

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  Trending

when i run steempy it gives me this error

Traceback (most recent call last):
File "/usr/local/bin/steempy", line 7, in
File "/usr/local/lib/python3.6/dist-packages/steem/", line 83, in legacy
File "/usr/local/lib/python3.6/dist-packages/pkg_resources/", line 984, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/local/lib/python3.6/dist-packages/pkg_resources/", line 875, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (toml 0.9.3 (/usr/local/lib/python3.6/dist-packages), Requirement.parse('toml=='), {'steem'})


I already solved it, i changed the version requirement to 0.9.3, and it works, this post was helpfull, thanks

Thanks! That was a big help!


Thanks, great to hear that ;-)

Thanks for posting this.

Wondering why you imported as Steemd instead of Steam?