Skip to content

bad response to getutxout #41

@vincenzopalazzo

Description

@vincenzopalazzo

In pruning mode on mainet I receive the following crash

2021-05-03T10:47:21.859Z DEBUG   plugin-btcli4j-gen.sh: Request to http://explorerzydxu5ecjrkwceayqybizmpjjznk5izmitf2modhcusuqlid.onion/api/tx/75367e3df94d2a55b731e4f8f548952105254964a0f047803dc6e57e9aec5318 with the following result [size=8737 text={\"txid\":\"75367e3df94d2a55b731e4f8f548952105254964a0f047803dc6e57?]
2021-05-03T10:47:21.860Z DEBUG   plugin-btcli4j-gen.sh: Option bitcoin-rpcurl=http://127.0.0.1:8332
2021-05-03T10:47:21.861Z DEBUG   plugin-btcli4j-gen.sh: Option btcli4j-proxy=127.0.0.1:9050
2021-05-03T10:47:21.862Z DEBUG   plugin-btcli4j-gen.sh: Option btcli4j-pruned=true
2021-05-03T10:47:21.863Z DEBUG   plugin-btcli4j-gen.sh: Option bitcoin-rpcpassword=vincent
2021-05-03T10:47:21.864Z DEBUG   plugin-btcli4j-gen.sh: Option bitcoin-rpcuser=vincent
2021-05-03T10:47:21.865Z DEBUG   plugin-btcli4j-gen.sh: Option btcli4j-endpoint=
2021-05-03T10:47:21.867Z DEBUG   plugin-btcli4j-gen.sh: GetUtxOutBtc: Share message to esplora
2021-05-03T10:47:21.867Z DEBUG   plugin-btcli4j-gen.sh: GetUtxOutCommand: TxId: b1bcb902ad843583273814bc016bdd38a420141dbaf83bb0d1311ac36f8c99ff
2021-05-03T10:47:21.868Z DEBUG   plugin-btcli4j-gen.sh: GetUtxOutCommand: Vout: 1
2021-05-03T10:47:22.062Z DEBUG   plugin-btcli4j-gen.sh: GetChainInfoBtc: Status bitcoin core in the check thread: false
2021-05-03T10:47:22.254Z DEBUG   plugin-btcli4j-gen.sh: Request to http://explorerzydxu5ecjrkwceayqybizmpjjznk5izmitf2modhcusuqlid.onion/api/tx/b1bcb902ad843583273814bc016bdd38a420141dbaf83bb0d1311ac36f8c99ff/outspend/1 with the following result [text={\"spent\":false}]
2021-05-03T10:47:22.255Z DEBUG   plugin-btcli4j-gen.sh: GetUtxOutCommand: UTXO Status: {
2021-05-03T10:47:22.256Z DEBUG   plugin-btcli4j-gen.sh:   \"spend\": false
2021-05-03T10:47:22.257Z DEBUG   plugin-btcli4j-gen.sh: }
2021-05-03T10:47:22.588Z DEBUG   plugin-btcli4j-gen.sh: Request to http://explorerzydxu5ecjrkwceayqybizmpjjznk5izmitf2modhcusuqlid.onion/api/tx/b1bcb902ad843583273814bc016bdd38a420141dbaf83bb0d1311ac36f8c99ff with the following result [size=1546 text={\"txid\":\"b1bcb902ad843583273814bc016bdd38a420141dbaf83bb0d1311ac?]
2021-05-03T10:47:22.589Z DEBUG   plugin-btcli4j-gen.sh: Option bitcoin-rpcurl=http://127.0.0.1:8332
2021-05-03T10:47:22.590Z DEBUG   plugin-btcli4j-gen.sh: Option btcli4j-proxy=127.0.0.1:9050
2021-05-03T10:47:22.590Z DEBUG   plugin-btcli4j-gen.sh: Option btcli4j-pruned=true
2021-05-03T10:47:22.591Z DEBUG   plugin-btcli4j-gen.sh: Option bitcoin-rpcpassword=vincent
2021-05-03T10:47:22.592Z DEBUG   plugin-btcli4j-gen.sh: Option bitcoin-rpcuser=vincent
2021-05-03T10:47:22.593Z DEBUG   plugin-btcli4j-gen.sh: Option btcli4j-endpoint=
2021-05-03T10:47:22.764Z DEBUG   plugin-btcli4j-gen.sh: GetUtxOutBtc: TxId -> 34014441c3fc230657b7d5c5fbd2df4568a1207ee254e40e88f31ae0a686cdf3
2021-05-03T10:47:22.772Z DEBUG   plugin-btcli4j-gen.sh: GetUtxOutBtc: Vout -> 2
2021-05-03T10:47:38.217Z **BROKEN** plugin-btcli4j-gen.sh: Message empty
2021-05-03T10:47:38.429Z DEBUG   plugin-btcli4j-gen.sh: Option bitcoin-rpcurl=http://127.0.0.1:8332
2021-05-03T10:47:38.431Z DEBUG   plugin-btcli4j-gen.sh: Option btcli4j-proxy=127.0.0.1:9050
2021-05-03T10:47:38.432Z DEBUG   plugin-btcli4j-gen.sh: Option btcli4j-pruned=true
2021-05-03T10:47:38.433Z DEBUG   plugin-btcli4j-gen.sh: Option bitcoin-rpcpassword=vincent
2021-05-03T10:47:38.434Z DEBUG   plugin-btcli4j-gen.sh: Option bitcoin-rpcuser=vincent
2021-05-03T10:47:38.434Z DEBUG   plugin-btcli4j-gen.sh: Option btcli4j-endpoint=
2021-05-03T10:47:38.561Z **BROKEN** lightningd: /home/vincent/github/btcli4j/btcli4j-gen.sh error: bad response to getutxout (bad 'result' field: Parsing '{result:{script:': object does not have member script), response was {"id":64965,"jsonrpc":"2.0","result":{}}
2021-05-03T10:47:39.246Z **BROKEN** lightningd: FATAL SIGNAL 6 (version v0.10.0-52-g9470ea3)
2021-05-03T10:47:39.246Z **BROKEN** lightningd: backtrace: common/daemon.c:44 (send_backtrace) 0x5561782b626b
2021-05-03T10:47:39.246Z **BROKEN** lightningd: backtrace: common/daemon.c:52 (crashdump) 0x5561782b62ad
2021-05-03T10:47:39.246Z **BROKEN** lightningd: backtrace: (null):0 ((null)) 0x7f0c0b2b983f
2021-05-03T10:47:39.246Z **BROKEN** lightningd: backtrace: (null):0 ((null)) 0x7f0c0b2b97bb
2021-05-03T10:47:39.246Z **BROKEN** lightningd: backtrace: (null):0 ((null)) 0x7f0c0b2a4534
2021-05-03T10:47:39.246Z **BROKEN** lightningd: backtrace: lightningd/log.c:803 (fatal) 0x556178280246
2021-05-03T10:47:39.246Z **BROKEN** lightningd: backtrace: lightningd/bitcoind.c:120 (bitcoin_plugin_error) 0x55617826553f
2021-05-03T10:47:39.246Z **BROKEN** lightningd: backtrace: lightningd/bitcoind.c:534 (getutxout_callback) 0x556178265a78
2021-05-03T10:47:39.246Z **BROKEN** lightningd: backtrace: lightningd/plugin.c:460 (plugin_response_handle) 0x556178298307
2021-05-03T10:47:39.246Z **BROKEN** lightningd: backtrace: lightningd/plugin.c:566 (plugin_read_json_one) 0x556178298429
2021-05-03T10:47:39.246Z **BROKEN** lightningd: backtrace: lightningd/plugin.c:611 (plugin_read_json) 0x5561782985a9
2021-05-03T10:47:39.246Z **BROKEN** lightningd: backtrace: ccan/ccan/io/io.c:59 (next_plan) 0x5561782f61d6
2021-05-03T10:47:39.246Z **BROKEN** lightningd: backtrace: ccan/ccan/io/io.c:407 (do_plan) 0x5561782f66a9
2021-05-03T10:47:39.246Z **BROKEN** lightningd: backtrace: ccan/ccan/io/io.c:417 (io_ready) 0x5561782f66db
2021-05-03T10:47:39.246Z **BROKEN** lightningd: backtrace: ccan/ccan/io/poll.c:445 (io_loop) 0x5561782f7f93
2021-05-03T10:47:39.246Z **BROKEN** lightningd: backtrace: lightningd/io_loop_with_timers.c:24 (io_loop_with_timers) 0x55617827a748
2021-05-03T10:47:39.246Z **BROKEN** lightningd: backtrace: lightningd/lightningd.c:1111 (main) 0x55617827e2a1
2021-05-03T10:47:39.246Z **BROKEN** lightningd: backtrace: (null):0 ((null)) 0x7f0c0b2a609a
2021-05-03T10:47:39.246Z **BROKEN** lightningd: backtrace: (null):0 ((null)) 0x556178265299
2021-05-03T10:47:39.246Z **BROKEN** lightningd: backtrace: (null):0 ((null)) 0xffffffffffffffff

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions