question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Spark Service is not working

See original GitHub issue

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

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
pavlenexcommented, Jan 7, 2019

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?

1reaction
pavlenexcommented, Jan 7, 2019

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
Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting | Spark Mail App
Mac OS iOS Android Click Spark at the top left of your screen. Open Settings. Tick Detailed Logging. Open the email which isn't...
Read more >
System Status
View the most current system status of all our servers and operations all from this page. Network outage information will be posted here....
Read more >
Troubleshooting | Spark Pro Knowledge Base
If you're experiencing problems adding a Google account to Spark, please follow these steps. 1. Make sure you have the latest version of...
Read more >
Troubleshooting Spark Issues
This topic provides information about the errors and exceptions that you might encounter when running Spark jobs or applications.
Read more >
Troubleshooting for Spark | 6.3.x
Troubleshooting for Spark mainly involves checking configuration settings and application code to diagnose performance and scalability issues. Continue ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found