1

I'm encountering an issue when attempting to connect the Phantom wallet from my marketplace. The problem is that when someone clicks on "Connect Wallet," the Phantom wallet popup doesn't open. There aren't any related errors displayed in my console or network API. Interestingly, after locking the wallet, performing a hard refresh on the page, logging into the wallet, toggling the developer test mode on and off, and then trying to connect the wallet again, the popup opens, allowing the wallet to be added to my website.

I'm uncertain about the root cause of this issue as there are no errors reported, and only 4 out of 10 people seem to encounter this problem while the other 6 can connect their wallets without any issue. I'm using the Solana wallet adapter package to establish the connection between the wallet and my website. I've reached out to Phantom for assistance via email, but I haven't received a reply yet.

Could this issue possibly stem from the caching mechanisms of Phantom or the web browser? Has anyone else experienced this issue before?

3
  • which cookies are you clearing tho?
    – Effe2
    Jan 12 at 10:57
  • 2 questions: 1) are you working on localhost in dev mode of your app while having these issues? 2) does a hard refresh of your app always fix the problem and the wallet can connect?
    – nickfrosty
    Jan 12 at 20:48
  • I’m voting to close this question because the issue seems to have just been a bug with the wallet
    – Jacob Creech
    Jan 22 at 4:30

2 Answers 2

2

We faced this issue while using Phantom wallet and this was one of the major reasons we switched to Solflare. It so happens that this stores the wallet in the cookies and it is already connected as per the wallet but the local state is changed so it doesn't show connected. Still waiting for Phantom to give a workaround or some explanation on how to fix this. In the meanwhile clearing browser cookies seems to be the only solution.

-1

The issue was on QuickNode's side and has now been resolved. –

Not the answer you're looking for? Browse other questions tagged or ask your own question.