A couple of months ago -with the jussi onboarding- steemit devs announced that steemd.steemit.com
will be deprecated at some point in favor of jussi (api.steemit.com
)
Well, I have missed this notice and starting having timeouts everywhere, yesterday.
I have also seen some of the bots are down at the same time including @utopian-io voting bot, @minnowsupport bot, @qustodian. Suspecting they're having the same problem. :)
Solution
- Pass custom nodes into Steem initialization
s = Steem(nodes=["https://api.steemit.com", "https://rpc.buildteam.io"]
This will use Jussi for the primary node connection. If Jussi goes down, fallbacks to @buildteam RPC node.
But this may not be enough, depending on how you use steem-python classes. You should explicitly pass steemd_instance to your objects like this.
Example with Account class
from steem.account import Account
acc = Account(
"emrebeyler",
steemd_instance=Steem(
nodes=["https://api.steemit.com"])
)
print(acc)
I have already opened a pull request to update this. I doubt it will be reviewed and shipped soon, though.
I did the same a couple of hours ago: https://github.com/steemit/steem-python/pull/115
but given the list of PRs not merged since end of October, I don't expect big changes to the upstream repo... :/
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
ahh, didn't see that. closed mine. :)
They have some activity from time to time, but they're not reviewing pull requests actively. This is an official repository and it should be updated before old api endpoint goes dark.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
np :)
the situation is indeed not so nice. furion (netherdrake on GH) also seems to run its own fork with fixes that haven't made it upstream...
Seems like a lot of people had some busy hours today getting things back up, let's hope the best for the future!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Can confirm, my apps are down too.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I had similar problem with steem-js too
EDIT - apologies after seeing the comment below I realised this comment was not very helpful. Yes I had the same problem but fixed it easily by looking up the other avaible servers and connecting to one of those instead. In the steem.js library that call is
steem.api.setOptions({ url: 'wss://differenturl.org' });
I found this link that lists other available servers
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Exactly. Steem-js are not working.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
You can specify a different server to connect to. here is a link to other servers running - api servers
For example you can run this code before your steem api calls
steem.api.setOptions({ url: 'wss://rpc.buildteam.io' });
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thamk you for your update.
I was using the cdn :
and this is by default forwarding to wss ://steemd.steemit.com
How do we solve this problem ?
Thank you for your help.
FD.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
yes looks like the latest version has not been pushed to the cdn yet. it was updated in github last week best option is to use the line of code above and specify a new server directly until the cdn version is updated.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanks friend...I managed to change it. steembotcompare is alive again :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I think its worth noting that based on this article, web socket connections to api.steemit.com won't work:
https://steemit.com/steemitdev/@steemitdev/update-your-steem-apps-big-changes-coming-for-3rd-party-developers
If you're using a library to relies on wss protocol, you might have some trouble connecting to api.steemit.com
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
2 years old !BEER
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit