steem-python: Default public nodes don't work
After steemd.steemit.com stopped running, steem-python no longer works with default values:
With ‘https://api.steemit.com’ it works just fine:
from steem import Steem
from steem.post import Post
s1 = Steem(nodes=['https://api.steemit.com'])
Post('@steemitdev/update-your-steem-apps-big-changes-coming-for-3rd-party-developers', steemd_instance=s1.steemd)
yields: <Post-@steemitdev/update-your-steem-apps-big-changes-coming-for-3rd-party-developers>
However:
s2 = Steem()
Post('@steemitdev/update-your-steem-apps-big-changes-coming-for-3rd-party-developers', steemd_instance=s2.steemd)
just hangs and yields nothing when trying to make the connection.
I think this migh be one of the possible points of failure: https://github.com/steemit/steem-python/blob/f8c10b59af536985b71e1c625a37320d005cc4ad/steem/steemd.py#L53
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 23 (3 by maintainers)
Commits related to this issue
- Fix https://github.com/steemit/steem-python/issues/114 and fix error that node cannot be set — committed to conda-forge/steem-feedstock by holgern 6 years ago
I can confirm that
'http://steemd.pevo.science'works as opposed to'https://api.steemit.com'.seems
api.steemit.comdoesn’t work well onget_ops_in_blockcall, it keeps returning empty result. anyone encountered this issue?