Skip to content
This repository has been archived by the owner on Mar 23, 2020. It is now read-only.

Broken since the deprecation of 'steemd.steemit.com' on Jan 6th #68

Open
aidev42 opened this issue Jan 8, 2018 · 5 comments
Open

Broken since the deprecation of 'steemd.steemit.com' on Jan 6th #68

aidev42 opened this issue Jan 8, 2018 · 5 comments

Comments

@aidev42
Copy link

aidev42 commented Jan 8, 2018

My app built with steem-piston hasn't been able to properly connect to a node ever since the depreciation of 'steemd.steemit.com' on January 6th, 2018. Can someone advise how to remedy?

from piston.steem import Steem
s = Steem()

Yields:
Lost connection to node during wsconnect(): wss://steemd.steemit.com (2/-1) Retrying in 2 seconds
Lost connection to node during wsconnect(): wss://node.steem.ws (3/-1) Retrying in 4 seconds

I have tried:
s = Steem('api.steemit.com')

and similar variations with no luck either.

@febinkk
Copy link

febinkk commented Jan 8, 2018

You will have to change pistonapi/steemnoderpc.py so as to make it an http client instead of websocket.

Then call

Steem(node = ' https://api.steemit.com')

@aidev42
Copy link
Author

aidev42 commented Jan 9, 2018

That sounds a bit involved - has anyone else made this change yet? No simply fix like routing to another wss node?

@aidev42
Copy link
Author

aidev42 commented Jan 9, 2018

Looks like I'm able to use another node via:
s = Steem('wss://steemd.privex.io')

Though can anyone advise are there any security concerns to sending my wif across nodes not maintained by Steemit?

@febinkk
Copy link

febinkk commented Jan 9, 2018

If you found another working wss node go for it! The wif never leaves your computer. AFAIK it is used only for signing the transaction, within your system, and only the signatures leaves your system.

@JanusChoi
Copy link

There was an announcement here:
https://steemit.com/steemitdev/@steemitdev/update-your-steem-apps-big-changes-coming-for-3rd-party-developers

I tried but didn't know how to solve this.
Below code would work:

from steem import Steem
steem = Steem(nodes=['https://api.steemit.com'])

Would piston-lib make some update according this?

febinkk added a commit to febinkk/piston-lib that referenced this issue Feb 10, 2018
avoid dependency with GrapheneWebSocketRPC
add http support
remove nodes that doesn't work
febinkk added a commit to febinkk/piston-lib that referenced this issue Feb 10, 2018
remove dependency with GrapheneWebSocketRPC
add http support
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants