clightning4j / btcli4j

It is a core lightning plugin to override Bitcoin backend plugin with esplora by Blockstream and give the possibility to make the running process with bitcoind in pruning mode more solid.
GNU General Public License v2.0
8 stars 7 forks source link

sendtransaction in prune mode return a bad error #80

Open vincenzopalazzo opened 1 year ago

vincenzopalazzo commented 1 year ago
2023-07-12T10:50:57.649Z **BROKEN** plugin-btcli4j-gen.sh: io.github.clightning4j.litebtc.exceptions.LiteBitcoinRPCException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
2023-07-12T10:50:57.649Z **BROKEN** plugin-btcli4j-gen.sh: \tat io.github.clightning4j.litebtc.LiteBitcoinRPC.makeBitcoinRequest(LiteBitcoinRPC.java:67)
2023-07-12T10:50:57.650Z **BROKEN** plugin-btcli4j-gen.sh: \tat io.vincenzopalazzo.btcli4j.control.commands.btcprune.SendRawTransactionBtc.run(SendRawTransactionBtc.kt:48)
2023-07-12T10:50:57.650Z **BROKEN** plugin-btcli4j-gen.sh: \tat io.vincenzopalazzo.btcli4j.control.MediationMethod.runCommand(MediationMethod.kt:89)
2023-07-12T10:50:57.650Z **BROKEN** plugin-btcli4j-gen.sh: \tat io.vincenzopalazzo.btcli4j.Plugin.sendRawTransaction(Plugin.kt:127)
2023-07-12T10:50:57.651Z **BROKEN** plugin-btcli4j-gen.sh: \tat jdk.internal.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
2023-07-12T10:50:57.651Z **BROKEN** plugin-btcli4j-gen.sh: \tat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2023-07-12T10:50:57.651Z **BROKEN** plugin-btcli4j-gen.sh: \tat java.base/java.lang.reflect.Method.invoke(Method.java:566)
2023-07-12T10:50:57.652Z **BROKEN** plugin-btcli4j-gen.sh: \tat jrpc.clightning.plugins.rpcmethods.RPCMethodReflection.doRun(RPCMethodReflection.java:37)
2023-07-12T10:50:57.652Z **BROKEN** plugin-btcli4j-gen.sh: \tat jrpc.clightning.plugins.CLightningPlugin.doMethods(CLightningPlugin.java:379)
2023-07-12T10:50:57.652Z **BROKEN** plugin-btcli4j-gen.sh: \tat jrpc.clightning.plugins.CLightningPlugin.start(CLightningPlugin.java:168)
2023-07-12T10:50:57.653Z **BROKEN** plugin-btcli4j-gen.sh: \tat io.vincenzopalazzo.btcli4j.AppKt.main(App.kt:26)
2023-07-12T10:50:57.653Z **BROKEN** plugin-btcli4j-gen.sh: \tat io.vincenzopalazzo.btcli4j.AppKt.main(App.kt)
2023-07-12T10:50:57.653Z **BROKEN** plugin-btcli4j-gen.sh: Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
2023-07-12T10:50:57.653Z **BROKEN** plugin-btcli4j-gen.sh: \tat com.google.gson.stream.JsonReader.beginObject(JsonReader.java:384)
2023-07-12T10:50:57.654Z **BROKEN** plugin-btcli4j-gen.sh: \tat com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:215)
2023-07-12T10:50:57.654Z **BROKEN** plugin-btcli4j-gen.sh: \tat com.google.gson.Gson.fromJson(Gson.java:932)
2023-07-12T10:50:57.654Z **BROKEN** plugin-btcli4j-gen.sh: \tat com.google.gson.Gson.fromJson(Gson.java:897)
2023-07-12T10:50:57.655Z **BROKEN** plugin-btcli4j-gen.sh: \tat com.google.gson.Gson.fromJson(Gson.java:846)
2023-07-12T10:50:57.655Z **BROKEN** plugin-btcli4j-gen.sh: \tat io.github.clightning4j.litebtc.utils.gson.JsonConverter.deserialization(JsonConverter.java:83)
2023-07-12T10:50:57.655Z **BROKEN** plugin-btcli4j-gen.sh: \tat io.github.clightning4j.litebtc.utils.okhttp.HttpFactory.makeRequest(HttpFactory.java:83)
2023-07-12T10:50:57.656Z **BROKEN** plugin-btcli4j-gen.sh: \tat io.github.clightning4j.litebtc.LiteBitcoinRPC.makeBitcoinRequest(LiteBitcoinRPC.java:63)
2023-07-12T10:50:57.656Z **BROKEN** plugin-btcli4j-gen.sh: \t... 11 more
2023-07-12T10:50:57.656Z DEBUG   plugin-btcli4j-gen.sh: SendRawTransactionBtc: Share message to esplora
2023-07-12T10:50:57.717Z DEBUG   plugin-btcli4j-gen.sh: An wrong status happen in retry time 0
2023-07-12T10:50:57.718Z **BROKEN** plugin-btcli4j-gen.sh: Error during the request method For input string: \"Check fails\"
2023-07-12T10:50:57.718Z UNUSUAL plugin-btcli4j-gen.sh: Error occurs 4 time: and the waiting time is set to 300000
2023-07-12T10:55:57.829Z DEBUG   plugin-btcli4j-gen.sh: An wrong status happen in retry time 1
2023-07-12T10:55:57.830Z **BROKEN** plugin-btcli4j-gen.sh: Error during the request method For input string: \"Check fails\"
2023-07-12T10:55:57.830Z UNUSUAL plugin-btcli4j-gen.sh: Error occurs 4 time: and the waiting time is set to 300000
2023-07-12T11:00:57.913Z DEBUG   plugin-btcli4j-gen.sh: An wrong status happen in retry time 2
2023-07-12T11:00:57.913Z **BROKEN** plugin-btcli4j-gen.sh: Error during the request method For input string: \"Check fails\"
2023-07-12T11:00:57.914Z UNUSUAL plugin-btcli4j-gen.sh: Error occurs 4 time: and the waiting time is set to 300000
2023-07-12T11:05:58.455Z DEBUG   plugin-btcli4j-gen.sh: An wrong status happen in retry time 3
2023-07-12T11:05:58.455Z **BROKEN** plugin-btcli4j-gen.sh: Error during the request method For input string: \"Check fails\"
2023-07-12T11:05:58.456Z UNUSUAL plugin-btcli4j-gen.sh: Error occurs 4 time: and the waiting time is set to 300000
2023-07-12T11:10:58.880Z DEBUG   plugin-btcli4j-gen.sh: An wrong status happen in retry time 4
2023-07-12T11:10:58.880Z **BROKEN** plugin-btcli4j-gen.sh: Error during the request method For input string: \"Check fails\"
2023-07-12T11:10:58.881Z UNUSUAL plugin-btcli4j-gen.sh: Error occurs 4 time: and the waiting time is set to 300000
2023-07-12T11:15:58.880Z **BROKEN** plugin-btcli4j-gen.sh: After all retry time (4) all request failed
2023-07-12T11:15:58.881Z UNUSUAL plugin-btcli4j-gen.sh: Error generate from Bitcoin backend more than 4 time