ephemeraHQ / xmtp-inbox-web

XMTP Inbox web chat app
https://dev.xmtp.chat
MIT License
33 stars 40 forks source link

Bug: Console error from WalletConnect blocks connecting wallet #45

Closed m-005 closed 1 year ago

m-005 commented 1 year ago

Describe the bug

Elise gets a console error when attempting to use the WalletConnect modal to connect her wallet

Steps to Reproduce

Steps to reproduce the behavior:

  1. Go to xmtp.chat
  2. Click connect wallet
  3. Observe error in console from screenshot below

Expected behavior

WalletConnect doesn't show any console errors and Elise can connect her wallet

Screenshots

Error when clicking WalletConnect options: https://files.slack.com/files-pri/T02AQUWULNA-F04LM4BL744/screenshot_2023-01-25_at_1.59.41_pm.png

Error when clicking WalletConnect options after clearing browser cache: https://files.slack.com/files-pri/T02AQUWULNA-F04M8DBHQ4Q/screenshot_2023-01-25_at_2.13.14_pm.png

Additional context

Add any other context about the problem here.

Desktop

Please complete the following information if you think it is relevant to the bug:

elisealix22 commented 1 year ago

This happens for me when I'm using an incognito Chrome window or a browser that doesn't have MetaMask installed! We confirmed it happening on both Chrome and Safari.

Screenshot 2023-01-25 at 2 23 24 PM
bhavya2611 commented 1 year ago

This was an issue with a missing env variable, that has been added now, so it should be fixed in a while

elisealix22 commented 1 year ago

@bhavya2611 I was able to press WalletConnect! However, now I'm seeing a new error in the console in getAddress() after successfully signing.

To repro:

Screenshot 2023-01-27 at 11 38 04 AM
elisealix22 commented 1 year ago

I opened up #53 to track the Ledger WalletConnect issue, so I think this one should be ok to close !