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

Users can't connect to dapp or it takes forever #5509

Open
314159265359879 opened this issue Jun 8, 2024 · 3 comments
Open

Users can't connect to dapp or it takes forever #5509

314159265359879 opened this issue Jun 8, 2024 · 3 comments
Assignees
Labels
area:api area:throttling bug Functionality broken bug-p2 Critical functionality broken for few users, with no clear workarounds

Comments

@314159265359879
Copy link
Contributor

This issue is unresolved
#5021

I see these errors but I am not sure if they are related. It his happening on all dapps. When account data isn't fully loaded yet. It takes forever even when the balance is loaded. This happening especially in wallets with 20 or more accounts and when for example the account balance is still being loaded. I have also seen the same issue (connection to dapp doesn't complete) when balance was just loaded.

Steps to reproduce
0. Restore Leather with an existing Secret Key that has 20 or more accounts in it.

  1. Click connect on app.alexlab.co
    or stacks.gamma.io
    or any other dapp
  2. Scroll down until you see all the "loading" animations for balance
  3. Click one of the accounts with the accounts to connect
  4. spinning (to connect) starts and never stops... dapps never connects
    image

Possibly unrelated console errors
image

Workarounds

  • Wait longer for the balances in the "select account" screen to load (works most of the time)
  • Click additional times (sometimes works)
@314159265359879 314159265359879 added bug Functionality broken bug-p2 Critical functionality broken for few users, with no clear workarounds labels Jun 8, 2024
@314159265359879
Copy link
Contributor Author

314159265359879 commented Jun 10, 2024

It looks like users can't switch to different accounts within Leather either because there is loading or throttling going on.

In the above example the wallet is stuck when scrolling over to connect to a specific account on a dapp.

The video displays another issue, that is reproducible with these steps:

  1. being on the last account in a wallet, something in the 400 range
  2. Scrolling all the way up to account 1 (why is there no scroll bar?)
  3. Selecting account 1, clicking it a couple times in the hope of working around the issue... doesn't work
  4. click outside the wallet so the modal closes
  5. try to open it again... doesn't work
  6. Here the extension icon in the browser is clicked and nothing happens (Brave, wallet version 6.42.0):
2024-06-10_23-53-21.mp4

@markmhendrickson
Copy link
Collaborator

@alter-eggo this is quite high priority and presumably related to client-side throttling?

@alter-eggo
Copy link
Contributor

@markmhendrickson yes, seems so, will take a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:api area:throttling bug Functionality broken bug-p2 Critical functionality broken for few users, with no clear workarounds
Projects
None yet
Development

No branches or pull requests

3 participants