I have created a script block to perform a simple configuration pull from all nodes listed in the Beem nodelist class.
The following code was leveraged:
from beem import Steem
from beem.account import Account
from beem.comment import Comment
from beem.nodelist import NodeList
status = []
for n in nodes:
Connectivity = {}
Configuration = {}
Account_Class = {}
Comment_Class = {}
try:
stm = Steem(node=n,num_retries=1,num_retries_call=1)
Connectivity = {'Connectivity': True, 'Error': 'n/a'}
except Exception as e:
Connectivity = {'Connectivity': False, 'Error': e}
status.append({'Node':n,'Connectivity': 'No','Configuration':'n/a','Account':'n/a','Comment':'n/a'})
continue
try:
stm.get_config()
print("Obtained config from node "+n)
Configuration = {'Get_Config':'Success', 'Error': 'n/a'}
except Exception as e:
Configuration = {'Get_Config':'Failure', 'Error': e}
Configuration = False
try:
a = Account('anthonyadavisii',steem_instance=stm)
print("Obtained account information")
Account_Class = {'Account_Class':'Success', 'Error': 'n/a'}
except Exception as e:
print("Failed to obtain account information")
Account_Class = {'Account_Class':'Success', 'Error': e}
try:
c = Comment('@anthonyadavisii/sfr-bot-troubleshooting-session-1-node-issues-beem-python',steem_instance=stm)
print("Obtained comment information for "+c.author+"'s post")
Comment_Class = {'Comment_Class':'Success', 'Error': 'n/a'}
except Exception as e:
print("Failed to obtain comment and/or metadata")
Comment_Class = {'Comment_Class':'Failure', 'Error': e}
status.append({'Node':n,'Connectivity': Connectivity,'Configuration':Configuration,'Account':Account_Class,'Comment':Comment_Class})
My findings are as follows:
Node | Connectivity | Configuration | Account | Comment |
---|---|---|---|---|
https://steemd.minnowsupportproject.org | TRUE | TRUE | TRUE | TRUE |
https://rpc.usesteem.com | FALSE | FALSE | FALSE | FALSE |
https://anyx.io | TRUE | TRUE | TRUE | TRUE |
https://api.steemit.com | TRUE | TRUE | TRUE | TRUE |
https://steemd.privex.io | TRUE | TRUE | TRUE | TRUE |
http://anyx.io | TRUE | TRUE | TRUE | TRUE |
https://appbasetest.timcliff.com | FALSE | FALSE | FALSE | FALSE |
https://api.steem.house | TRUE | TRUE | TRUE | TRUE |
Recieved a Bad Gateway error attempting to connect to @timcliff's node and the following was observed on @themarkymark's node. Not sure what to make of the latter case but the former is likely just offline.
Error: HTTPSConnectionPool(host='rpc.usesteem.com', port=443): Max retries exceeded with url: / (Caused by SSLError(CertificateError("hostname 'rpc.usesteem.com' doesn't match either of 'steemit.com', '*.steemit.com'",),))
Lost connection or internal error on node: https://rpc.usesteem.com (1/1)
Just for shits and gigs, I've attempted a non-secure socket connection and it works without issue. Due to the possibility of a man-in-the-middle attack, I would advise to use caution. Although, the cryptography should stay client side. Other information may be visible. I think the prospect of a hacker viewing said communication is low but that's just my opinion so take it with a grain.
I'm going to give it some time (couple days or so), check again for consistency and then submit a PR if appropriate. I'm sure Marky is already aware of this issue but hopefully this helps in terms of situational awareness for others. Thanks!
Watch our SFR video commercial below.
Will you show support to our mission by delegating to @steemflagrewards.
Your support goes to reward mod approved downvotes against content that meets our criteria for abuse.
The latest definitions may be found on our #defitions-of-abuse channel on Discord. Make sure the content you flag is within our criteria!
SteemConnect | Delegation | Links |
---|---|---|
50 | 100 | 250 |
500 | 1000 | 2500 |
Other ways to help
Support us easily using SteemAuto!
Flaggers | Moderator Approvals | Development |
---|---|---|
SFR fanbase link | SFR-Mod-Fund fanbase link | My fanbase link |
Rewards on this post will help compensate time and labor. We appreciate all support that helps us to continue operations to help keep Steem clean!
Test mention @steemflagrewards
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Fingers crossed.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hi, @anthonyadavisii!
You just got a 14.35% upvote from SteemPlus!
To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn.
If you're not using SteemPlus yet, please check our last posts in here to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hi @anthonyadavisii!
Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your UA account score is currently 5.411 which ranks you at #676 across all Steem accounts.
Your rank has not changed in the last three days.
In our last Algorithmic Curation Round, consisting of 85 contributions, your post is ranked at #13.
Evaluation of your UA score:
Feel free to join our @steem-ua Discord server
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit