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

Most upvoted comments

I can confirm that 'http://steemd.pevo.science' works as opposed to 'https://api.steemit.com'.

seems api.steemit.com doesn’t work well on get_ops_in_block call, it keeps returning empty result. anyone encountered this issue?