thirdweb-dev / unity-sdk

Best in class Web3 Unity SDK, powered by thirdweb.
https://portal.thirdweb.com/unity
Apache License 2.0
126 stars 70 forks source link

Exception: Websocket closed with ServerError code #213

Closed kynesss closed 3 weeks ago

kynesss commented 3 weeks ago

Hello, on the android build when connecting to the WebSocket wallet, the WebSocket itself disconnects and throws this exception:

Exception: Websocket closed with ServerError code WalletConnectSharp.Network.JsonRpcProvider.Request[T,TR] (WalletConnectSharp.Network.IRequestArguments1[T] requestArgs, System.Object context) (at <c8565b85967e4ea0ad510535fa57b4f9>:0) WalletConnectSharp.Core.Controllers.Relayer.Request[T,TR] (WalletConnectSharp.Network.IRequestArguments1[T] request, System.Object context) (at <7537f265f1f94bc9af6f13f93196cba8>:0) WalletConnectSharp.Core.Controllers.Publisher.Publish (WalletConnectSharp.Core.Models.Publisher.PublishParams params) (at <7537f265f1f94bc9af6f13f93196cba8>:0)

Literally once in maybe 10 attempts I was able to connect with Metamask. I was using the latest available version of the SDK v5.0.0. Can I ask for possible help or at least a reason why this is happening? Thank you in advance.

0xFirekeeper commented 3 weeks ago

Hi, could you open an issue in the official WalletConnectUnity repo with bug report template and provide WC project id if you've overriden the default thirdweb one?

0xFirekeeper commented 3 weeks ago

Working with the WalletConnect team to get this fixed, will push a couple updates to their sdk in the meantime, thanks for reporting