alephium / alephium-frontend

A monorepo containing all things frontend on Alephium.
Other
14 stars 13 forks source link

Cannot fetch metadata nor move assets through Tor #84

Open nit27 opened 1 year ago

nit27 commented 1 year ago

Describe the bug Run AppImage on Linux connected to Tor connection causes the wallet does not fetch metadata such as Value today, Token, Lastest transactions address amounts (see the screenshot).

To Reproduce Steps to reproduce the behavior:

  1. Download the latest version from Git repo
  2. Verify checksum
  3. Run Alephium-2.1.5.AppImage
  4. Import sucessfully the existing wallet (create a new one also causes same issue)
  5. At home page, see the error.

Screenshots Screenshot from 2023-10-20 08-18-38

Environment

Additional context

nit27 commented 1 year ago

I found a related issue: https://discord.com/channels/747741246667227157/1131169336300667002

nop33 commented 1 year ago

Looking at the color of the dot in the network badge I see that the app is trying to connect continuously... There seems to be something blocking it.

Basically, this line seems to be failing to establish a connection: https://github.com/alephium/desktop-wallet/blob/master/src/App.tsx#L156

image

We are using the standard browser Fetch API, wrapped with a retry library.

It seems to be a pretty standard way of making asynchronous API requests. Investigation is needed to figure out why it's not working when connecting through Tor.

nit27 commented 1 year ago

Hi, thank you for letting me know the information. Regarding the current issue, I will try Mixnet with Nym for the Network connection.

I am not a developer, but you guys might look at Electrum (a Bitcoin wallet built-in on Tails and also could run under Tor on MacOS/Windows/Linux). It works perfectly through Tor.

References:

Hope these are useful for the developers

nit27 commented 10 months ago

UPDATE Cannot move assets using Desktop Wallet v2.2.0 on Tails v5.21. I think the problem is Tor. also: people are interested in using a wallet with Passphrase cannot move their assets through Tor.

FINDING SOLUTION

https://github.com/alephium/alephium-frontend/assets/95131051/4213b64e-6a62-4535-8764-73530330e59c

send

nit27 commented 4 months ago

The issue is addressed with the current latest infrastructures:

nit27 commented 1 week ago

Unfortunately, the issue happens again on Tails 6.9 and Alephium Wallet 2.4.3 :(

When login to Alephium Desktop Wallet, the app shows "Wallet is offline".