Wallet connect is not working - proposal expired

Hi,

Every time I scan Wallet Connect QR code with Trust Wallet I get this error on the console:

We are using these packages:
@web3auth/base”: “^7.1.0”,
@web3auth/modal”: “^7.1.1”,
@web3auth/torus-wallet-connector-plugin”: “^7.1.1”,
@web3auth/wallet-connect-v2-adapter”: “^7.1.1”

I’m scanning right after QR is displayed

Please assist.

Hey @roman1,
I wasn’t able to re-create this issue on our sample app hosted here. Please have a look at the source code for the sample app as well.

Hey @maharshi.
I’ve cloned this repository:

and run it locally.

When I scan with Trust Wallet I see this.

When I scan with Trust Wallet from https://main.dmmzgprvd8gqq.amplifyapp.com/
I can connect.

Also when I try to change the parameters to Polygon network:

const chainConfig = {
  chainNamespace: CHAIN_NAMESPACES.EIP155,
  chainId: "0x89", // Please use 0x1 for Mainnet
  rpcTarget: "https://rpc.ankr.com/polygon",
  displayName: "Polygon Mainnet",
  blockExplorer: "https://polygonscan.com/",
  ticker: "MATIC",
  tickerName: "MATIC",
};

I got the same endless loading screen on Trust Wallet and then I see in Browser console:
chunk-vendors.1c525516.js:152 WebSocket connection to ‘wss://broadcast-server.tor.us/socket.io/?EIO=4&transport=websocket’ failed: WebSocket is closed before the connection is established.

Please assist

EDIT:
Also try with TP wallet to connect to the demo site and sign. The sign is not working at all.

Hey @roman1, I was facing similar issues while logging in with Trust Wallet few days ago. But right now, when I tried it with the same code, it seems to work fine. This could be an intermittent issue on WalletConnect’s side. Please check and let me know if you’re able to log in.

@roman1 Hey, could you please let me know if this has been fixed for you?

Hi @maharshi I am getting the same issue on my app.
Your demo app https://main.dmmzgprvd8gqq.amplifyapp.com/ shows this error as well.

You can reproduce this error like this.
Click ‘Connect with Wallet’ and wait for wallet connect qr code appeared and click Metamask icon to login, it should loged in with metamask.
And 5 mins later you can see this error.

Hey @martinus_staghouwer,"
Thanks for the steps. I tried out the steps, after logging in within 5 mins it errors out and the login modal appears again. I have made a note of this and will let you know once I have something.

By the way, the original thread was about infinite loader in the Trust wallet mobile app upon scanning the qr code with it when the chainConfig is set for Polygon.
Going forward, please open a new thread so that we can give you personalized attention to your issues. Thanks.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.