CounterpartyXCP / counterparty-core

Counterparty Protocol Reference Implementation
http://counterparty.io
MIT License
286 stars 207 forks source link

Failed Health Check #1865

Closed adamkrellenstein closed 4 months ago

adamkrellenstein commented 4 months ago
2024-06-04-T21:28:00+0000 - [    INFO] - Block 846543 - Parsing complete. L: 20664bd, TX: 9dad0b9, M: 6196ac1 (0.09s)
2024-06-04-T21:28:00+0000 - [    INFO] - Stopping fetcher...
2024-06-04-T21:28:09+0000 - [    INFO] - Catch up complete.
2024-06-04-T21:28:09+0000 - [    INFO] - Starting blockchain watcher...
2024-06-04-T21:28:19+0000 - [    INFO] - Connecting to address indexer.
2024-06-04-T21:28:58+0000 - [   ERROR] - Health check failed: 'script_pub_key'
2024-06-04-T21:28:58+0000 - [   ERROR] - Health check failed: 'script_pub_key'
2024-06-04-T21:28:59+0000 - [   ERROR] - Health check failed: 'script_pub_key'
2024-06-04-T21:28:59+0000 - [   ERROR] - Health check failed: 'script_pub_key'
2024-06-04-T21:28:59+0000 - [   ERROR] - Health check failed: 'script_pub_key'
2024-06-04-T21:29:04+0000 - [   ERROR] - Health check failed: 'script_pub_key'
INFO:werkzeug:127.0.0.1 - - [04/Jun/2024 21:31:04] "GET / HTTP/1.1" 405 -
2024-06-04-T21:31:14+0000 - [   ERROR] - Health check failed: 'script_pub_key'
2024-06-04-T21:33:11+0000 - [   ERROR] - Health check failed: 'script_pub_key'
^C
$ curl localhost:4000/v2/healthz
{"result": {"status": "Unhealthy"}}
$

(if nothing else we should include the error in the response to the /healthz call)

this is on develop

adamkrellenstein commented 4 months ago

Fixed here: https://github.com/CounterpartyXCP/counterparty-core/pull/1861/commits/8fb50111af1b2a1fd299190de7628e3d4cef3da2