Skip to content

[Bug]: Deeplink loading forever without connection #13935

Open
@prajwal-lonkar

Description

@prajwal-lonkar

Describe the bug

When attempting to establish a connection with the MetaMask wallet using a WalletConnect deep link triggered from within Telegram’s in-app browser, the MetaMask app opens but fails to complete the connection process. The following behavior is observed:

The MetaMask app launches successfully.

  1. A popup appears saying "Connecting to MetaMask..."
  2. The connection process remains stuck at this stage, and the final connection approval prompt does not appear.

However, when the same deep link is opened using an external browser (e.g., Chrome, Safari) instead of Telegram’s in-app browser, the connection flow works correctly, and the expected approval popup appears in MetaMask.

Expected behavior

When opening the deep link via Telegram’s in-app browser, MetaMask should proceed to the final connection approval step, just as it does when opened from an external browser.

Screenshots/Recordings

Image

Steps to reproduce

  1. Generate a WalletConnect deep link for MetaMask.
    Sample deeplink format for metamask metamask://wc?uri=wc%3Abd55cdfb5e93607851dac0d13e23b15c166fd2662b49c4d70101ec2cc18907ed%402%3Frelay-protocol%3Dirn%26symKey%3D4b10b6c51877954df7aa6a4340d991f3559fad9d4c9257be0b883ac0b5a18a5a%26expiryTimestamp%3D1741588226.
    Also tried with this deeplink format which also did not work https://metamask.app.link/wc?uri=wc%3Abd55cdfb5e93607851dac0d13e23b15c166fd2662b49c4d70101ec2cc18907ed%402%3Frelay-protocol%3Dirn%26symKey%3D4b10b6c51877954df7aa6a4340d991f3559fad9d4c9257be0b883ac0b5a18a5a%26expiryTimestamp%3D1741588226.
  2. Open the deep link within Telegram’s in-app browser.
  3. Observe that MetaMask launches but gets stuck on "Connecting to MetaMask..." without proceeding to the approval step.
  4. Open the same deep link in an external browser.
  5. Observe that the connection process completes successfully.

Error messages or log output

Detection stage

In production (default)

Version

7.40.0

Build type

None

Device

Samsung A54

Operating system

Android

Additional context

No response

Severity

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Sev2-normalAn issue that may lead to users misunderstanding some limited risks they are takingexternal-contributorregression-prod-7.40.0Regression bug that was found in production in release 7.40.0team-sdkSDK teamtype-bugSomething isn't working

    Type

    Projects

    Status

    To be fixed

    Status

    To be triaged

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions