Skip to content
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

unable to spend sats #1041

Closed
cast4way opened this issue Apr 12, 2024 · 38 comments · Fixed by MutinyWallet/mutiny-node#1143
Closed

unable to spend sats #1041

cast4way opened this issue Apr 12, 2024 · 38 comments · Fixed by MutinyWallet/mutiny-node#1143
Labels

Comments

@cast4way
Copy link

Today I added some sats to my wallet, I wanted to spend them from my selfcustody ln wallet, but they automatically where put into my esats wallet from fedi. I tried to swap the sats into self custody but now I cannot swap or spend any of the two balances.
Is there a 24h reset or something on pending transactions? Because from what I understand, one of my transactions is stuck and this causes all to be stuck.
Uploading mutiny-logs.txt…

Help is much appreciated. Cheers

@benthecarman
Copy link
Collaborator

benthecarman commented Apr 12, 2024

Looks like the upload of your logs failed, can you try again?

Also if you could provide screenshots that'd help as well

@cast4way
Copy link
Author

mutiny-logs.txt
I hope it works this time.

@laantungir
Copy link

I am having a similar issue.

mutiny-logs.txt

@cast4way
Copy link
Author

Screenshots do not show much, but swap and send transaction go into "Payment pending" screen, before going back the balance before the spend.
Also the whole app is super laggy for me today.

@TonyGiorgio
Copy link
Collaborator

which federation are you both on? they could be experiencing issues. I see payment failures coming from them, which we don't have any control over.

@cast4way
Copy link
Author

Bitcoin Atlantis

@TonyGiorgio
Copy link
Collaborator

Where are you sending to? Try sending to different places, smaller amounts, etc.

@cast4way
Copy link
Author

mutiny-logs-1.txt
500 sats swap fails, 200 sats to other wallet fails too.

@TonyGiorgio
Copy link
Collaborator

You already have a lightning channel that you're trying to swap into? I see lots of LSP disconnection issues, can you see if your channel shows as online in the settings, and does it stay stable for 30+ seconds?

What other wallets?

@cast4way
Copy link
Author

I tested minibits and phoenix. Yes I have a LN channel with mutiny

@TonyGiorgio
Copy link
Collaborator

Yes I have a LN channel with mutiny

can you see if your channel shows as online in the settings, and does it stay stable for 30+ seconds?

@laantungir
Copy link

I am also on Atlantis federation. I have transfered over eCash, but have not opened a LN channel.

@TonyGiorgio
Copy link
Collaborator

I am also on Atlantis federation. I have transfered over eCash, but have not opened a LN channel.

wasn't able to get anything from your logs. Could you try to make the a payment again and after it fails, upload the logs again?

@laantungir
Copy link

I just tried sending 15 sats from [email protected] to [email protected] and it said payment pending.
mutiny-logs(1).txt

@TonyGiorgio
Copy link
Collaborator

@cast4way are you also using ligtning addresses with mutiny.plus?

@laantungir
Copy link

So Tony then you think it is a Bitcoin Atlantis issue? I think I tried other federations, but I can try again. Is there one you know that works that I should try? I will attempt to send to you again.

@TonyGiorgio
Copy link
Collaborator

I'm switching between both federations and paying multiple wallets and it's working on my device. I don't think there's something wrong with the Atlantis federation itself, but perhaps something wrong between both of your devices talking to the federation. I've reached out to the fedimint team to understand how to troubleshoot more.

You can switch federations, but the lightning address won't switch yet, that's coming with the next release which we are submitting today and should be out early next week.

@TonyGiorgio
Copy link
Collaborator

Just to confirm, the balance is still updating correctly, right? As in, it goes down for the payment but goes back to what it was when it failed?

@laantungir
Copy link

Yes, my balance drops when I attempt to send, but then after it fails, the balance returns back to pre-send level.

@laantungir
Copy link

I'll wait to see if something comes from the fediment issue before I try anything else. Thanks.

@cast4way
Copy link
Author

I do not use mutiny +.

I think I caused the issue by paying a hodl invoice with the fedi esats. But I was not aware about it, thought I was using my self custody sats. At least that was the first failing payment.

Any idea why the app is lagging? Pressing any puttom causes a minimum 10sec delay, which is not normal.

Been using mutiny for month without problems

@cast4way
Copy link
Author

cast4way commented Apr 12, 2024

Yes I have a LN channel with mutiny

can you see if your channel shows as online in the settings, and does it stay stable for 30+ seconds?

My channel is offline it seems. How do I fix that?

@TonyGiorgio
Copy link
Collaborator

TonyGiorgio commented Apr 12, 2024

Do either of you use mutiny from multiple devices?

@cast4way
Copy link
Author

cast4way commented Apr 12, 2024

No, only one device. I use the android app v0.6.3.

@TonyGiorgio
Copy link
Collaborator

I'm investigating the reason for slowness now. It's related to your fail payments but I don't believe @laantungir is showing that symptom. Could be for failed swaps specifically.

One thing that might work for you is to restore from seed words again. This will wipe all metadata but keep your balances, federations, funds, etc. I don't think this will fix your payment problem, but it might clear up the reason it's lagging.

@laantungir
Copy link

laantungir commented Apr 12, 2024

I am using Mutiny in a browser. Firefox.

@laantungir
Copy link

I restored from seed words. Doesn't seem to change anything.

@cast4way
Copy link
Author

cast4way commented Apr 12, 2024

I'm investigating the reason for slowness now. It's related to your fail payments but I don't believe @laantungir is showing that symptom. Could be for failed swaps specifically.

One thing that might work for you is to restore from seed words again. This will wipe all metadata but keep your balances, federations, funds, etc. I don't think this will fix your payment problem, but it might clear up the reason it's lagging.

Restored from seed => lagging is fixed 🙏
Payment problem remains.

@cast4way
Copy link
Author

Payment issue still remains:
mutiny-logs-2.txt
Is there a debug I can try from the admin page?
Seems like my lightning channel goes offline...but even when its online I cannot move funds.

@TonyGiorgio
Copy link
Collaborator

There's still multiple people with issues with the Atlantis federation and I haven't heard back from them on what the issues are. To confirm, the people here currently having issues, were you ever able to spend out of that federation?

Has this occurred on any of the other federations?

@newtonick
Copy link

I'm having a similar issue where I can't spend or sweep from the Bitcoin Atlantis federation. I haven't tried another federation because I wasn't sure if I would lose the funds completely and/or if my mutiny.plus lnaddress would transfer to the new federation. I figured I would wait before trying another federation.

I am able to spend and recieve funds from my lightning balance (1 channel currently). As long as I'm paying an invoice larger than the federation esat balance, then the payment works. I am not using the LSP. I opened a channel from my own node. I have deleted the LSP on the settings -> server page.

Here are my logs: mutiny-logs.txt

6 days ago I was able to send and sweep funds from the federation. Then it stopped working. I became a mutiny plus subscriber and signed up for a mutiny.plus lnaddress around this same time. I'm not sure if spending from the federation ever worked after I enabled mutiny plus. I'm not sure if I can even receive funds into the federation at this point.

Here as screen recordings of swap and spend failures. They both just "fail" to the "pending payment" screen. The logs seems to indicate a some kind of GatewayInternalError.

Swap attempt:
https://github.com/MutinyWallet/mutiny-web/assets/127377/01c551df-cae0-42aa-96af-1b9e1bdf4a28

Send attempt:
https://github.com/MutinyWallet/mutiny-web/assets/127377/ef0dd2f9-f1fa-4afc-ab3a-e60149973989

Hopefully this information helps identify the issue. Appreciate the work you're doing!

@newtonick
Copy link

Quick update: I was able to spend out of Mutiny from my Bitcoin Atlantis federation balance to the Fedi Bravo app (where I believe I am using the same federation). This means I was able to move all of my federated funds out of Mutiny and leave the federation.

I then joined a different federation and was able to receive (via my mutiny plus lnaddress) and sweep/spend from the federation balance without any issue.

@TonyGiorgio
Copy link
Collaborator

This is very helpful, thank you @newtonick. Will be troublshooting this more with the fedimint team.

Can you spend out of your fedi bravo app now that you moved your funds there? It does make sense that you were able to spend within the federation to a different client, since that bypasses the lightning gateway for the federation, which seems to be the one reporting the issue.

@newtonick
Copy link

Can you spend out of your fedi bravo app now that you moved your funds there? It does make sense that you were able to spend within the federation to a different client, since that bypasses the lightning gateway for the federation, which seems to be the one reporting the issue.

I was able to spend from Fedi Bravo.

@TonyGiorgio
Copy link
Collaborator

It does seem like in most of these cases so far, the common denominator was either a hodl invoice or a swap to lightning, which in the case of our LSP, uses a hodl invoice.

I'll do a deeper dive tomorrow into prolonged / failed payments with fedimint and see if I can reproduce this. Thanks for all the information provided so far. It does appear though that funds are recoverable by transfering to fedi bravo but I'll try to figure out a fix soon.

@TonyGiorgio
Copy link
Collaborator

I think we have a fix, will try to get it deployed asap.

@cast4way
Copy link
Author

Thanks @newtonick sending to Fedi Bravo on the same federation and spending from there worked for me to unstuck my fedi funds.

@cast4way
Copy link
Author

cast4way commented Apr 16, 2024

Thanks mutiny team for the support!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants