p0o / steem-bot

Easy automation on top of Steem blockchain
MIT License
53 stars 40 forks source link

Error: getaddrinfo ENOTFOUND steemd.steemit.com #4

Closed ghost closed 6 years ago

ghost commented 6 years ago

Getting this error when I try to run:

Unhandled rejection Error: getaddrinfo ENOTFOUND steemd.steemit.com steemd.steemit.com:443
    at errnoException (dns.js:50:10)
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:92:26)

I believe it's related to this issue with steem-js.

TwinkieWInkie commented 6 years ago

Hmm.

Curious whether the listen event will be possible over http. Otherwise we'd have to configure steemjs to run over a third party websocket.

I'll have a look at it tomorrow.

qsCyberProject commented 6 years ago

I have the same issue. Does anyone have a workaround?

worstcritic commented 6 years ago

steemd.steemit.com is no longer an active node.

I use api.steemit.com

Here is a list of active api nodes: https://geo.steem.pl/

qsCyberProject commented 6 years ago

How do I change the node that's being used?

p0o commented 6 years ago

I will publish a fix for this by tomorrow

p0o commented 6 years ago

Please install the new package <0.8.0> and let me know if the problem is fixed or not. You also can use the new two examples in the /example directory as well for error handling and changing the RPC node.