pqxx:broken connection causing haf to crash
Don't really know if this is hived, haf, or even some other component like hivemind yet
2025-03-15T03:38:14.092103340Z 2025-03-15T03:38:14.091974 p2p_plugin.cpp:585 broadcast_transactio ] Broadcasting tx #c0adae9cdfcc8d129fc3751b8090d6997a30b42c
2025-03-15T03:38:14.098247889Z 2025-03-15T03:38:14.098150 condenser_api.cpp:966 broadcast_transactio ] condenser_api_impl.broadcast_transaction.args.at(0) {"expiration":"2025-03-15T03:48:12","extensions":[],"operations":[["custom_json",{"id":"terracore_battle","json":"{\"target\":\"cheesecakee\",\"tx-hash\":\"l5hxio06isj3wnztfz9bnw\"}","required_auths":["counttatooine557"],"required_posting_auths":[]}]],"ref_block_num":36646,"ref_block_prefix":585042591,"signatures":["2002993583efb6445e8aba91b3fcc8d49c15779b4a798ba87928ddae19e41bfd0f582b29d6d10ea9fdfcedfdbd6fa4228f7073f2c706d4ad4430e55249c07f9afe"]}
2025-03-15T03:38:14.099521361Z 2025-03-15T03:38:14.099443 p2p_plugin.cpp:585 broadcast_transactio ] Broadcasting tx #0baca65fca4ef885f4b8b67e77bea33b6470651f
2025-03-15T03:38:14.156756700Z 2025-03-15T03:38:14.156626 condenser_api.cpp:966 broadcast_transactio ] condenser_api_impl.broadcast_transaction.args.at(0) {"expiration":"2025-03-15T03:38:42","extensions":[],"operations":[["custom_json",{"id":"ssc-mainnet-hive","json":"{\"contractName\":\"tokens\",\"contractAction\":\"stake\",\"contractPayload\":{\"symbol\":\"ROAR\",\"to\":\"nanobot\",\"quantity\":\"0.10000000\"}}","required_auths":["nanobot"],"required_posting_auths":[]}]],"ref_block_num":36647,"ref_block_prefix":855992119,"signatures":["20768cb242091849581c77b012d0d4bc0b2d2d1accb5054025c3d59f977756498d0d28461dce0060c43ceedec30a6660c06c0ef3214288c6de9ab44d5c17f6c272"]}
2025-03-15T03:38:14.157028705Z 2025-03-15T03:38:14.156955 p2p_plugin.cpp:585 broadcast_transactio ] Broadcasting tx #ab88dd10432330bf2c66d355cf542b6c5c549c29
2025-03-15T03:38:14.762625937Z terminate called after throwing an instance of 'pqxx::broken_connection'
2025-03-15T03:38:14.762680207Z what(): connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: FATAL: the database system is in recovery mode
2025-03-15T03:38:14.762695355Z
2025-03-15T03:38:15.969042586Z /bin/bash: line 17: 345 Aborted (core dumped) /home/hived/bin/hived --webserver-ws-endpoint=0.0.0.0:8090 --webserver-http-endpoint=0.0.0.0:8091 --p2p-endpoint=0.0.0.0:2001 --data-dir="/home/hived/datadir" --shared-file-dir="/home/hived/shm_dir" --psql-wal-directory="/home/hived/wal_dir" --plugin=sql_serializer --psql-url="dbname=haf_block_log host=/var/run/postgresql port=5432"
2025-03-15T03:38:15.981624698Z Hived process finished execution: return status: 134.
2025-03-15T03:38:15.982395608Z Performing cleanup....
2025-03-15T03:38:15.984750096Z Hived pid:
2025-03-15T03:38:15.984780542Z Waiting for hived finish...
2025-03-15T03:38:15.984794168Z Hived finish done.
2025-03-15T03:38:15.984976546Z Attempting to stop Postgresql...
2025-03-15T03:38:16.040235899Z * Stopping PostgreSQL 17 database server
2025-03-15T03:39:16.244694680Z ...done.
2025-03-15T03:39:16.245828323Z Waiting for postgres process: 303 finish...
2025-03-15T03:39:16.247661624Z Postgres process: 303 finished.
2025-03-15T03:39:16.247678235Z Cleanup actions done.