peerplays-network / python-peerplays

This is a communications library which allows interface with the Peerplays blockchain directly and without the need for a cli_wallet. It provides a wallet interface and can construct any kind of transactions and properly sign them for broadcast.
MIT License
22 stars 13 forks source link

Recently fail to conect to any API node #12

Closed mostar closed 6 years ago

mostar commented 6 years ago

I'm using code that base on this python-peerplays library for a few month successfully. Recently it fail to to connect to the api node, try several from: https://peerplays.atlassian.net/wiki/spaces/PD/pages/15564866/Witness+Node+Connection+Details

Getting this message:

Lost connection to node during wsconnect(): wss://peerplays-dev.blocktrades.info/ws (2/-1) Retrying in 2 seconds

I change in storage.py to the new default node: "node": "ws://ec2-35-183-21-190.ca-central-1.compute.amazonaws.com:8090", and now I'm getting

Lost connection to node during wsconnect(): ws://ec2-35-183-21-190.ca-central-1.compute.amazonaws.com:8090 (2/-1) Retrying in 2 seconds

Why it use the default node and not the one in my code ? Is the default node offline ?

xeroc commented 6 years ago

There is actually no real default node .. the software so far is meant for witness operators who should have an api node at hand .. it can be changed using

peerplays set node ws://.....