-
-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wallet rejecting connections with lightning client #176
Comments
I see that you're using a c-lightning instance that's mounted from the host, can you check its log files for errors when spark gets disconnected from it? |
Here it comes
Lightning client connection closed, reconnecting Error: connect ECONNREFUSED /root/.lightning/lightning-rpc Error: connect ECONNREFUSED /root/.lightning/lightning-rpc Error: connect ECONNREFUSED /root/.lightning/lightning-rpc |
Oh, I see it's part of a BTCPay setup, it helps to know that. The errors in your last comment don't originate from Spark Wallet, they're from RTL's c-lightning-rest. This suggests that c-lightning is generally malfunctioning, and that it's not a Spark-specific issue. I would suggest to try asking in the BTCPay support chat. |
Ok, thanks. |
Hi,
I'm running Spark Wallet with c-lightning 0.9.3.1 in a docker deployment.
Almost every day the connection breaks with Browser exception '502 - Bad Gateway' showing up
Output of 'Docker logs' command
...
HTTP server running on http://0.0.0.0:9737
Lightning client connection closed, reconnecting
Lightning client connection error { Error: connect ECONNREFUSED /etc/lightning/lightning-rpc
at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1191:14)
errno: 'ECONNREFUSED',
code: 'ECONNREFUSED',
syscall: 'connect',
address: '/etc/lightning/lightning-rpc' }
uncaughtException, stopping process
Error: connect ECONNREFUSED /etc/lightning/lightning-rpc
at PipeConnectWrap.afterConnect [as oncomplete] (net.js:1191:14)
nc: unix connect failed: Connection refused
Using lightningd directory mounted in /etc/lightning... waiting for RPC unix socket...
Starting spark wallet (standalone mode)...
Connected to c-lightning basedon-v0.9.3-1 with id 023808f558a644d786cb9071ea22f2afcd7329326170eded00dd2ce0b4e377ed2f on network bitcoin at /etc/lightning/lightning-rpc
Loading login credentials from /data/.cookie
The text was updated successfully, but these errors were encountered: