mutiny-web icon indicating copy to clipboard operation
mutiny-web copied to clipboard

When loading my wallet I get "Error: Failed to connect to a federation"

Open inna-btc opened this issue 1 year ago • 4 comments

Restoring the seed on a clean machine results in the same problem. What can I do in the situation?

inna-btc avatar Sep 04 '24 00:09 inna-btc

Submit logs

AnthonyRonning avatar Sep 04 '24 16:09 AnthonyRonning

There are a hundreds if these in Chrome console logs:

Connection to 'wss://bravo.mainnet-25-madeira.dev.fedibtc.com/' failed: (anonymous) @ mutiny_wasm.js:5397 Show 1 more frame Show lessUnderstand this error mutiny_wasm.js:5404 WebSocket is already in CLOSING or CLOSED state. (anonymous) @ mutiny_wasm.js:5404 Show 1 more frame Show lessUnderstand this error mutiny_wasm.js:5397 WebSocket connection to 'wss://alpha.mainnet-25-madeira.dev.fedibtc.com/' failed: (anonymous) @ mutiny_wasm.js:5397 Show 1 more frame Show lessUnderstand this error mutiny_wasm.js:5397 WebSocket connection to 'wss://charlie.mainnet-25-madeira.dev.fedibtc.com/' failed: (anonymous) @ mutiny_wasm.js:5397 Show 1 more frame Show lessUnderstand this error mutiny_wasm.js:5404 WebSocket is already in CLOSING or CLOSED state. (anonymous) @ mutiny_wasm.js:5404 Show 1 more frame Show lessUnderstand this error mutiny_wasm.js:5404 WebSocket is already in CLOSING or CLOSED state. (anonymous) @ mutiny_wasm.js:5404 Show 1 more frame Show lessUnderstand this error mutiny_wasm.js:5397 WebSocket connection to 'wss://delta.mainnet-25-madeira.dev.fedibtc.com/' failed: (anonymous) @ mutiny_wasm.js:5397 Show 1 more frame

But in the debug logs, it doesn't look too bad, ending with

2024-09-04 17:34:33.836 7528 DEBUG [mutiny_core::node:923] Persisting monitor for output: OutPoint { txid: 0xd..., index: 0 } 2024-09-04 17:34:34.013 7528 INFO [mutiny_core::nodemanager:1241] We are synced! 2024-09-04 17:34:34.013 7528 TRACE [mutiny_core::nodemanager:1247] finished calling sync 2024-09-04 17:34:34.320 7528 DEBUG [mutiny_core::node:944] notified channel monitor updated: OutPoint { txid: 0x..., index: 0 }

In the beginning of the debug log, there is 2024-08-15 22:16:50.268 9dba ERROR [mutiny_core::federation:293] Could not open federation client: Federation rpc error {general => Received errors from 2 peers: peer-0: Rpc error: The background task closed WebSocket connection failed; restart required, peer-1: Rpc error: The background task closed WebSocket connection failed; restart required), 0 => Rpc error: The background task closed WebSocket connection failed; restart required)1 => Rpc error: The background task closed WebSocket connection failed; restart required), }

Do you want the entire debug log file? I'm a bit cautious on posting it here.

inna-btc avatar Sep 04 '24 17:09 inna-btc

It's trying to connect the Madeira federation. Is that one offline?

marksftw avatar Sep 06 '24 00:09 marksftw

Yes, I think so. I don't remember connecting to it though, I think I have connected to some other federation. Is this a hack?

inna-btc avatar Sep 06 '24 03:09 inna-btc

Is there a resolution? I don't have any funds in the federation, but I did have lightning channel open.

inna-btc avatar Oct 13 '24 18:10 inna-btc

Can't do anything about a federation not working.

AnthonyRonning avatar Dec 30 '24 19:12 AnthonyRonning