fatal error: could not connect to bitcoind using json-rpc #2422
Talej
started this conversation in
Node operators
Replies: 2 comments 6 replies
-
Sorted this out. Needed to add |
Beta Was this translation helpful? Give feedback.
5 replies
-
Thanks |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Having difficulties working out what I have wrong connecting to a remote bitcoind.
Actual issue from the log seems to be ** unexpected end of stream on http://192.168.8.118:18333/...**
bitcoin.conf
`chain=test
server=1
rpcuser=foo
rpcpassword=bar
rpcssl=0
rest=1
txindex=1
zmqpubhashblock=tcp://192.168.8.118:29000
zmqpubrawtx=tcp://192.168.8.118:29001
[test]
rpcport=18333
rpcbind=127.0.0.1
rpcbind=192.168.8.118
`
eclair.conf
`eclair.node-alias=testeclair
eclair.node-color=49daaa
eclair.chain=testnet
eclair.server.port=9735
eclair.api.enabled=true
eclair.api.password=abc123
eclair.bitcoind.rpcport=18333
eclair.bitcoind.rpcuser=foo
eclair.bitcoind.rpcpassword=bar
eclair.bitcoind.host=192.168.8.118
eclair.bitcoind.zmqblock="tcp://192.168.8.118:29000"
eclair.bitcoind.zmqtx="tcp://192.168.8.118:29001"`
eclair.log
2022-09-17 08:16:58,140 INFO fr.acinq.eclair.Plugin - loading 0 plugins 2022-09-17 08:16:58,399 INFO a.e.slf4j.Slf4jLogger - Slf4jLogger started 2022-09-17 08:16:58,971 INFO fr.acinq.eclair.Setup - hello! 2022-09-17 08:16:58,972 INFO fr.acinq.eclair.Setup - version=0.7.0 commit=a804905 2022-09-17 08:16:58,973 INFO fr.acinq.eclair.Setup - datadir=/home/michael/.eclair 2022-09-17 08:16:58,973 INFO fr.acinq.eclair.Setup - initializing secure random generator 2022-09-17 08:16:59,023 INFO f.a.eclair.NodeParams - use seed file: /home/michael/.eclair/node_seed.dat 2022-09-17 08:16:59,023 INFO f.a.eclair.NodeParams - use seed file: /home/michael/.eclair/channel_seed.dat 2022-09-17 08:16:59,047 INFO f.a.secp256k1.Secp256k1 - secp256k1 library successfully loaded 2022-09-17 08:16:59,071 INFO fr.acinq.eclair.Setup - instanceid=57a684d6-a1f4-49e6-a36d-282d34e47afe 2022-09-17 08:16:59,350 INFO fr.acinq.eclair.Setup - nodeid=02f5f5328e00d5f27d9ddf1c9e05127cb466e3918943a873db7b157e2ad0e7085b alias=testeclair 2022-09-17 08:16:59,350 INFO fr.acinq.eclair.Setup - using chain=testnet chainHash=43497fd7f826957108f4a30fd9cec3aeba79972084e90ead01ea330900000000 2022-09-17 08:17:01,470 ERROR fr.acinq.eclair.Boot - fatal error: could not connect to bitcoind using json-rpcfr.acinq.eclair.BitcoinRPCConnectionException: could not connect to bitcoind using json-rpc at fr.acinq.eclair.Setup$$anonfun$1.applyOrElse(Setup.scala:166) at fr.acinq.eclair.Setup$$anonfun$1.applyOrElse(Setup.scala:166) at scala.util.Failure.recover(Try.scala:233) at scala.concurrent.impl.Promise$Transformation.run(Promise.scala:451) at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1426) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183) Caused by: java.io.IOException: unexpected end of stream on http://192.168.8.118:18333/... at okhttp3.internal.http1.Http1ExchangeCodec.readResponseHeaders(Http1ExchangeCodec.kt:205) at okhttp3.internal.connection.Exchange.readResponseHeaders(Exchange.kt:105) at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.kt:82) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:37) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:87) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:82) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:87) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:84) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:71) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:87) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.kt:184) at okhttp3.RealCall$AsyncCall.run(RealCall.kt:136) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) Caused by: java.io.EOFException: \n not found: limit=0 content=… at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.kt:231) at okhttp3.internal.http1.Http1ExchangeCodec.readHeaderLine(Http1ExchangeCodec.kt:210) at okhttp3.internal.http1.Http1ExchangeCodec.readResponseHeaders(Http1ExchangeCodec.kt:181) ... 19 common frames omitted
Beta Was this translation helpful? Give feedback.
All reactions