btcpayserver: Spark Service is not working

When I use the integrated spark service in btcpay (per browser connection) I get directed to domain/spark/btc/?access-key=BLAH

but I only get Status Code: 404; Not Found

Also when I use ./bitcoin-lightning-cli.sh I get

Error response from daemon: Container 57b49fb0844f95b81f9a7fbf184ad6a2efda33b40c21da702466dd2ad2576755 is restarting, wait until the container is running

or

lightning-cli: Connecting to 'lightning-rpc': Connection refused

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 28 (15 by maintainers)

Most upvoted comments

Okay, so everyone who reported this problem with Spark, got the same error. However, after restarting my btcpay with btcpay-restart.sh, as mentioned, the problem was resolved for me. I don’t see any indications that my c-lightning is crashing or restarting. Can you take a look at your c-lightning logs and see if there’s anything there that may be out of ordinary?

What’s your setup by the way?

It’s a bug definitely. Are you on latest, v1.0.3.36?

At least two more people reported problems with Spark today.

I’m getting 502, but after btcpay-restart.sh it got back online normally.

Do you have any Spark logs to provide? On my end it’s this

Starting spark wallet (standalone mode)...
Lightning client connection error { Error: connect ECONNREFUSED /etc/lightning/lightning-rpc
    at Object._errnoException (util.js:992:11)
    at _exceptionWithHostPort (util.js:1014:20)
    at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1186:14)
  code: ‘ECONNREFUSED’,
  errno: ‘ECONNREFUSED’,
  syscall: ‘connect’,
  address: ‘/etc/lightning/lightning-rpc’ }
uncaughtException, stopping process
Error: connect ECONNREFUSED /etc/lightning/lightning-rpc