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

Bug: Arc browser. 401 cors to /rpc/v3/scw/getAccounts #1278

Closed
Yuripetusko opened this issue May 8, 2024 · 5 comments
Closed

Bug: Arc browser. 401 cors to /rpc/v3/scw/getAccounts #1278

Yuripetusko opened this issue May 8, 2024 · 5 comments
Labels
type: bug Something isn't working

Comments

@Yuripetusko
Copy link

Describe the bug

When launching smart wallet in Arc browser, it opens it in a new tab, but it never loads. I see bunch of polled /rpc/v3/scw/getAccounts requests with 401 status

Steps

  1. Using latest rainbowkit, wagmi, and @coinbase/wallet-sdk: "4.0.0-beta.12"
  2. Click a button to connect a wallet using coinbase connector
  3. Arc browser opens a new tab for https://keys.coinbase.com/sign/eth-request-accounts and loading start but never finishes
  4. console shows a bunch of polled requests to https://api.wallet.coinbase.com/rpc/v3/scw/getAccounts with status 401

Same code works in Brave browser

Expected behavior

Smart wallet popup/tab to load

Version

4.0.0-beta.12

Additional info

"@rainbow-me/rainbowkit": "^2.0.7",
"viem": "^2.10.1",
"wagmi": "^2.8.1"
"resolutions": {
    "@coinbase/wallet-sdk": "4.0.0-beta.12"
  }

Desktop

  • OS: Mac OSX
  • Browser: Arc Version 1.41.0 (49440)

Smartphone

No response

@Yuripetusko Yuripetusko added the type: bug Something isn't working label May 8, 2024
@Yuripetusko
Copy link
Author

Just tried this https://wagmi-scw.vercel.app/

And getting the same issue on Arc

@Yuripetusko
Copy link
Author

I think it might be due to how Arc treats popup more like a new full tabs

@technophile-04
Copy link

Yup :( It occurs in this too https://coinbase.github.io/coinbase-wallet-sdk/

Demo video :
Screen.Recording.2024-05-19.at.4.15.23.PM.mov

I have also tried with latest dependencies :

"dependencies": {
  "@rainbow-me/rainbowkit": "2.1.0",
  "viem": "2.10.9",
  "wagmi": "2.9.2",
}

Since wagmi and raibowkit now directly support v4 but it still doesn't work

@arjun-dureja
Copy link
Contributor

Is this still happening on version 4.0.2?

@Yuripetusko
Copy link
Author

Looks like it's fixed now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Development

No branches or pull requests

3 participants