Error with Wallet Connect and Infura Polygon mainnet

Hello,

I’m trying to implement Wallet Connect to my web3 site (Web3 Provider | WalletConnect Docs).
When i want to connect with Metamask, all is working fine.

But with wallet connect and Infura, i have an error message : Error: PollingBlockTracker - encountered an error while attempting to update latest block: undefined

So here is my next.js code, if you have an idea : https://pastebin.com/AFarJqCC

Thanks in advance !

hey, try to use wss instead of http on line 62:

137: wss://polygon-mainnet.infura.io/v3/${infuraId}`,

Hey @traian.vila

Well, from my current knowledge, Polygon Mainnet and Testnets don’t have WSS support. What is the other proposed solution as this is causing us a lot of issues.

Thanks for the help in advance.

@teamPyme could you give a try to suggest in the following post: Error: PollingBlockTracker - encountered an error while attempting to update latest block: ?

I’ve tried most suggestions that have been offered there yet none of them have worked for me and this is an issue that is increasingly problematic on Polygon Mainnet.

Can anyone please follow up on this as this is becoming a massive issue and causing transactions and interactions to fail at random times.

hi @teamPyme

Our engineering team let us know that Polygon looks stable right now from our side. Please let me know if you still experiencing errors.

1 Like

Seems to be functional now for the moment.

1 Like