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
Internal node not working #770
Comments
Hey @louneskmt, thanks for creating an issue. Sorry to read you're having trouble with the lightning node's connection. There are some instances where using a VPN will prevent a successful connection to your lightning node's peers. To prevent this, please ensure you're not using a VPN service on your device and attempt to restart the application to reconnect. If this isn't the case, another way to troubleshoot this issue would be to enable "Developer mode" and attempt to restart and refresh LDK from the Settings menu. To enable dev mode, tap the Cog at the bottom of the Settings menu ~5 times. If successful, you should see a notification appear letting you know dev options were enabled. From there, you can navigate to "Advanced"->"Lightning Connections". You should now see several new buttons. Two of which are labeled "Restart LDK" & "Refresh LDK". Tapping "Restart LDK", wait several seconds and then tapping "Refresh LDK" should attempt to re-add and connect to your lightning peers. Please let us know if this helps resolve your issue or if you notice any additional connection issues. |
Hey @coreyphillips! You're right, I use a VPN on my phone at times. Unfortunately, I tried your protocol multiple times, either on 5G or WiFi, without VPN, and nothing changed. Is there a way to get the logs? |
Sorry to hear that. There's no way to get the lightning logs yet, but it's a feature we're actively working on. Logs should be available if not for the next release, then the release after that. In the meantime, you should be able to close the channel from the app if you wish or feel free contact support here ( |
Hi @louneskmt , were you able to resolve this issue? If not you should be able to export the logs in the latest version by navigating to Advanced -> Lightning Connection -> Export Logs. |
Hey! I haven't been able to solve this, but I missclicked on the "Reset wallet state" so I ended up restoring my wallet hahaha. The channel got force closed. I then opened a new channel, but it got force closed 3 days after the opening for no apparent reason. |
Yes, I have similar situation. On LineageOS Bitkit is opening, not crashing like before. On vanilla android 11, I installed fresh Bitkit v1.0.0 beta35, restored from seed and app it just crash immediately after the rocket animated logo flew 2-3 times. Note: my Bitkit nodeID is 030587afffaf646d768ef71ef46fe2cde422a81bc24c0695165ba15158b354210f |
Hi @louneskmt and @Darth-Coin. Could you please, uninstalled and reinstalled the app with the latest version (v51) and restore the seed? It should be fixed from now. |
Yes @JeanlChristophe I did that. I just wanted to come back here to update the situation after I had an email exchange with Pavel Nikolov (Bitkit support). I have imported the seed into Electrum wallet, thinking that I could see the funds from force closure coming back onchain. Maybe the force closure is not released yet, usually takes at least a week. So let's wait some days more. From my side I cannot see the closing tx. I attach here the latest logs that I could export with v51 when is crashing. Thanks for looking into this issue. I really want to help you identify what is the problem. |
Hi @Darth-Coin, Can you ping me when the channels are closed? |
Hi @Darth-Coin |
Hi @JeanlChristophe |
No we don't @Darth-Coin and that's probably something we should add. Can you share your logs with me so that I can identify the source of the problem? |
Sure, here are the logs |
I can see that these are the same logs as those you shared two weeks ago. Can you go into development mode and share these logs with us? Thank you very much. |
Sure, here is a new export of logs |
@Darth-Coin can you switch on dev mode before sharing. Go to Settings and tap that cog icon at the bottom more than 5 times. Then if you then share the logs it includes the channel tx details that will help debug this. |
As you can read this whole issue, is about that Bitkit entirely is crashing before reaching to see the "Settings" menu. |
Hi @Darth-Coin, We've probably found the solution to the issue. It won't be in the next version (end of week) but in the next one. I'll get back to you to let you know when you'll be able to test the release. |
@JeanlChristophe Thanks for the heads up. I just saw the new version beta60 available and I tried the following:
I checked the wallet that I had imported into Electrum (just as a backup testing, not for making txs) and the balance is still the same dust sats from opening the LN channel in Bitkit. Maybe from the logs you can find out if the channel was really force closed now so that could take another days until the sats will appear in the onchain balance. But worry me that message about "pending balance 0 sats". Please let me know what can I do more. |
Hi @Darth-Coin . We are investigating whether there are ways to restore the broken LN node or claim the channels, and we are working on implementing ways to prevent this bug in the future. We will let you know when if we make progress. |
Hi @Darth-Coin we haven't forgotten you. |
Describe the bug
Since a few days, the LDK node doesn't seem to be working:
The channel is marked as "Channel Ready Yes", "Channel Usable False". The local balance of the balance no longer appears on the main screen balance + Spending balance.
Reproduce
There isn't really any step to reproduce.
Screenshots / Recording
Operating system
iOS 16
Bitkit version
1.0 (23)
Log output
No response
The text was updated successfully, but these errors were encountered: