Bitcoin Forum
May 10, 2024, 09:01:55 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Electrum stuck at "Please wait" window after closing lightning network channel  (Read 60 times)
mk3000 (OP)
Full Member
***
Offline Offline

Activity: 181
Merit: 100



View Profile
October 04, 2020, 01:31:37 AM
 #1

Hi. I was using the lightning network with Electrum 4.0.3 in linux

I opened a channel, sent a few payments (first failed, a couple worked, then the last 3 failed) and decided to close the channel Now my wallet seems to be stuck showing this small window that says "Please wait" and I can't click anywhere else on the actual Electrum wallet behind the pop up. It's been stuck there for about 45 minutes and I haven't tried to close it or anything.

Here's a screenshot



Any help on what to do here would be great. thanks!

Bitrated user: comoto3000.
1715331715
Hero Member
*
Offline Offline

Posts: 1715331715

View Profile Personal Message (Offline)

Ignore
1715331715
Reply with quote  #2

1715331715
Report to moderator
Be very wary of relying on JavaScript for security on crypto sites. The site can change the JavaScript at any time unless you take unusual precautions, and browsers are not generally known for their airtight security.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715331715
Hero Member
*
Offline Offline

Posts: 1715331715

View Profile Personal Message (Offline)

Ignore
1715331715
Reply with quote  #2

1715331715
Report to moderator
1715331715
Hero Member
*
Offline Offline

Posts: 1715331715

View Profile Personal Message (Offline)

Ignore
1715331715
Reply with quote  #2

1715331715
Report to moderator
1715331715
Hero Member
*
Offline Offline

Posts: 1715331715

View Profile Personal Message (Offline)

Ignore
1715331715
Reply with quote  #2

1715331715
Report to moderator
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
October 04, 2020, 01:52:17 AM
 #2

Can you open a new instance of the wallet and check if the channel is closed?

Or check the multisig address on a block explorer to see if the funds have been sent? It could just be that the gui has frozen.
mk3000 (OP)
Full Member
***
Offline Offline

Activity: 181
Merit: 100



View Profile
October 04, 2020, 02:01:17 AM
 #3

Can you open a new instance of the wallet and check if the channel is closed?

Or check the multisig address on a block explorer to see if the funds have been sent? It could just be that the gui has frozen.

Thank you for replying. I finally closed the small windows to see if the gui was frozen but it did close.

This is what the channel details show now



I checked the address and funds are still there.
https://blockchair.com/bitcoin/address/bc1qdd9gcr9tsrxq4e4zkkuhcgl3m7dkns8ndm789ewm8r05l3hcp60qdhdv8d

Not sure what it means that the channel state is "SHUTDOWN" but funds still there?
thanks

Bitrated user: comoto3000.
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
October 04, 2020, 02:14:20 AM
 #4

Is that address yours or does it belong to the channel? The address that funded it was multisig (unless I got script hash the wrong way round).

I'm not sure what shutdown actually means but it probably means it's in the process of ending the channel. It might either have to wait for a htlc to stop being enforceable or to wait for the other party to cooperate in channel closure (if the other party don't participate, you might be waiting 2 days to 2 weeks for the funds to come back, but within that time they're pretty safe afaict).
mk3000 (OP)
Full Member
***
Offline Offline

Activity: 181
Merit: 100



View Profile
October 04, 2020, 02:26:11 AM
 #5

Is that address yours or does it belong to the channel? The address that funded it was multisig (unless I got script hash the wrong way round).

I'm not sure what shutdown actually means but it probably means it's in the process of ending the channel. It might either have to wait for a htlc to stop being enforceable or to wait for the other party to cooperate in channel closure (if the other party don't participate, you might be waiting 2 days to 2 weeks for the funds to come back, but within that time they're pretty safe afaict).

according to Electrum this is the funding TX
https://blockchair.com/bitcoin/transaction/a40144f59979ec3ccea3c9803d1f5e52797b39d95bec9d305a060e41f1cc9189

which sent funds to this address
https://blockchair.com/bitcoin/address/bc1qdd9gcr9tsrxq4e4zkkuhcgl3m7dkns8ndm789ewm8r05l3hcp60qdhdv8d

This isn't my address so I guess it belongs to the channel.

When I click "close channel" I get the small "please wait" window again. I close it and nothing happens. Channel status remains the same "SHUTDOWN"

there's an option to force close the channel, but since I'm not sure how long that will take (weeks?) I don't want to use it unless I absolutely have to.

thanks again for your time trying to help me, really appreciate it

Bitrated user: comoto3000.
mk3000 (OP)
Full Member
***
Offline Offline

Activity: 181
Merit: 100



View Profile
October 04, 2020, 02:43:12 AM
 #6

Not entirely sure what happened.  I tried closing once more and this time the channel did get closed and funds are coming back.

I'm guessing something was wrong with the channel from the beginning because a lot of payment failed?

Thanks for the help


Bitrated user: comoto3000.
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
October 04, 2020, 02:43:34 AM
 #7


Just tried it on my electrum wallet:

It asked to confirm the close and I got the please wait and it froze for about a minute.
It then pasted a transaction ID and said the channel had been closed successfully.

Could you give me the ID of the node you're trying to connect to (you could DM it me if you want to maintain a level of privacy, include the domain and port).

It should be something like
ID:name:port

I'd need it in plaintext to be able to run a test on it...
no longer needed unless you still want to test it I'm happy to... It could've just been jittery Internet.

Imo payments are failing atm because not everyone is connected up well enough to each other and route finding fails when nodes go offline. It'll evolve though...
Abdussamad
Legendary
*
Offline Offline

Activity: 3612
Merit: 1564



View Profile
October 04, 2020, 04:46:20 AM
 #8

you should file a bug report on github https://github.com/spesmilo/electrum/issues
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!