mysteriumnetwork / mysterium-vpn-desktop

Mysterium VPN is a Desktop VPN client for Windows, macOS and Linux
https://mysterium.network/apps
MIT License
198 stars 40 forks source link

go back " the screen keep looping for hours- App Stuck #455

Closed isaackielma closed 1 year ago

isaackielma commented 1 year ago

Describe the bug This is what happens when I press " go back " the screen keep looping for hours and no result, I want the " import an account " screen

Expected behavior App should load previous page.

Screenshots

Screenshot 2023-04-23 at 21 36 23 Screenshot 2023-04-23 at 21 36 31

Desktop (please complete the following information):

Additional context More troubleshooting will be done by @isaackielma

isaackielma commented 1 year ago

Temporary Solution:

For MAC:

  1. Close the app:
  2. Open Terminal:
  3. Run the following command: rm -rf ~/.mysterium
  4. Reopen the app

For Windows:

  1. Close the app
  2. Go to file explorer
  3. search: %USERPROFILE%.mysterium\
  4. Delete it
  5. Reopen app

or

-When using CMD:

  1. Close the app
  2. Open CMD
  3. Run the following command: RD /S %HOMEDIR%\.mysterium

-When using powershell:

  1. Close the app
  2. Open powershell
  3. Run the following command: Remove-Item $HOME\.mysterium
chopoalc commented 1 year ago

works perfectly for Mac OS X Thanks for the help !

isaackielma commented 1 year ago

After performing some tests in developing environment I can see the issue has been resolved. Likely, event handler that gets triggered when the SecondarySidebarActionButton is clicked was not working due to a network related error.

<SecondarySidebarActionButton onClick={() => navigate(-1)}>

Seems to be working now:

https://github.com/mysteriumnetwork/mysterium-vpn-desktop/assets/84313603/d6208645-e2b1-4174-beb1-0a3684eef28d