nspcc-dev / neofs-node

NeoFS is a decentralized distributed object storage integrated with the Neo blockchain
https://fs.neo.org
GNU General Public License v3.0
31 stars 38 forks source link

neofs-storage dies if first morph.endpoints is unavailable #2703

Closed 532910 closed 8 months ago

532910 commented 8 months ago

steps to reproduce:

morph:
  endpoints:
  - ws://168.119.12.69:10001/ws
  - ws://95.216.227.59:10001/ws
  - ws://116.202.224.180:10001/ws
  - ws://95.217.86.236:10001/ws
  - ws://95.217.224.183:10001/ws
  - ws://135.181.3.59:10001/ws
  - ws://162.55.85.162:10001/ws
Dec 22 07:16:07 apollo2 neofs-node[105163]: 2023-12-22T07:16:07.937Z        info        neofs-node/morph.go:58        failed to create neo RPC client        {"endpoints": ["ws://168.119.12.69:10001/ws", "ws://95.216.227.59:10001/ws", "ws://116.202.224.180:10001/ws", "ws://95.217.86.236:10001/ws", "ws://95.217.224.183:10001/ws", "ws://135.181.3.59:10001/ws", "ws://162.55.85.162:10001/ws"], "error": "could not create RPC client: WS client creation: dial tcp 168.119.12.69:10001: connect: connection refused"}
Dec 22 07:16:07 apollo2 neofs-node[105163]: 2023/12/22 07:16:07 could not create RPC client: WS client creation: dial tcp 168.119.12.69:10001: connect: connection refused
% telnet 168.119.12.69 10001
Trying 168.119.12.69...
telnet: Unable to connect to remote host: Connection refused
zsh: exit 1     telnet 168.119.12.69 10001
% telnet 95.216.227.59 10001
Trying 95.216.227.59...
Connected to 95.216.227.59.
Escape character is '^]'.
^]
telnet> 
Connection closed.