Image: screengrab of hive.io
I have kind of slacked off - and yes, I had an excuse, I had other projects to work on - but now I am back to my attempts to build a HIVE witness note. By the way, in general I believe this set up is more complex than it needs to and I would like to do something to improve it. But that, I guess is best done after figuring out how it works at present - which, admittedly I currently don't.
So let's get into the details. I have decided to try something different for a change. Instead of using 's routine I decided to just use HIVE's default image and build whatever one needs to run a witness node on top of it. So I launched the relevant Docker container by running the following:
docker run \
-d -p 2001:2001 -p 8090:8090 --name hived \
hiveio/hive
The partition in which the container ran had about 450 GB to it and eventually filled up. As it turned out, thanks to 's very helpful advice - in fact, he has been very helpful throughout the process, for which I am eternally grateful - I now know that that was not enough space, and not enough by far as you are now expected to have at least 1 TB available.
So I reconfigured my VM, added a 1 TB storage partition to it and decided to start from scratch, following 's guidance. Which I did. And the database/log copying phase went fine but when I tried to initialize my remote wallet I hit this:
ubuntu@hive-node-0:/mnt/hivedb/hive/hive-docker$ ./run.sh remote_wallet
Logging RPC to file: logs/rpc/rpc.log
Starting a new wallet
2265767ms main.cpp:170 main ] wdata.ws_server: wss://hived.privex.io
0 exception: unspecified
The opening handshake timed out
{"message":"The opening handshake timed out"}
websocket.cpp:513 operator()
{"uri":"wss://hived.privex.io"}
websocket.cpp:699 secure_connect
{"uri":"wss://hived.privex.io"}
websocket.cpp:673 connect
[2022-06-11 11:37:58 UTC] A fatal error has occurred and SIAB run.sh must exit.
[2022-06-11 11:37:58 UTC] Line number which triggered this: 2827
[2022-06-11 11:37:58 UTC] Bash command / function which triggered this: env "${_CMD[@]}"
[2022-06-11 11:37:58 UTC] [ERROR] SIAB not exiting cleanly. Detected non-zero error code while exiting: 255
ubuntu@hive-node-0:/mnt/hivedb/hive/hive-docker$
The error message indicates that Web Sockets (WSS) fails to connect. Typically, as far as I know, WSS would run on regular HTTP ports and at least the port level connectivity seems to be OK:
ubuntu@hive-node-0:/mnt/hivedb/hive/hive-docker$ telnet hived.privex.io 80
Trying 2a01:4f8:221:e93::2...
Connected to steemd.privex.io.
Escape character is '^]'.
^]
telnet> q
Connection closed.
ubuntu@hive-node-0:/mnt/hivedb/hive/hive-docker$ telnet hived.privex.io 443
Trying 2a01:4f8:221:e93::2...
Connected to steemd.privex.io.
Escape character is '^]'.
^]
telnet> q
Connection closed.
ubuntu@hive-node-0:/mnt/hivedb/hive/hive-docker$
So at the moment I am a bit stuck and, once again, looking for a solution so I am able to proceed. Any help much appreciated, as always.
References
HIAB (HIVE In a Box) : 20 April update
, 20 April 2022
HIAB (HIVE In a Box) update
, 15 April 2022
How To Set Up A Hive Witness Using HIAB At Version 1.24.4
, 8 November 2020
Social media links
Website
Support