web3-onboard icon indicating copy to clipboard operation
web3-onboard copied to clipboard

Web3Onboard Walletconnect - Failed to publish payload, please try again

Open devamitsharma101 opened this issue 3 years ago • 4 comments

Current Behavior

This issue comes intermittently on our production where our client are using their wallet to connect with out daap using wallet connect and trying to sign a typed message.

[
{
context: core
}, 
{
context: core/relayer
}, 
{
context: core/relayer/publisher
}, 
{
message: Failed to publish payload, please try again., 
name: Error, 
stack: 
@https://app.s9y.gg/static/js/main.604d0b07.js:2:1167146
a@https://app.s9y.gg/static/js/main.604d0b07.js:7:30362
}
]

This is the stack trace we get in our logs. Does this mean the session is getting disconnected sometimes? If so than web3onboard does not provider any callbacks for that.

The typed data has no issue because the same data when used in a new session works good.

Expected Behavior

The signing should work each time.

Steps To Reproduce

The issue is not reproducible at the moment.

What package is effected by this issue?

@web3-onboard/walletconnect

Is this a build or a runtime issue?

Runtime

Package Version

2.4.7

Node Version

No response

What browsers are you seeing the problem on?

Chrome, Safari

Relevant log output

[
typed sign error ---->, 
{
message: Failed to publish payload, please try again., 
name: Error, 
stack: 
@https://app.s9y.gg/static/js/main.9a927abd.js:2:1163704
a@https://app.s9y.gg/static/js/main.9a927abd.js:7:30440
}
]

Anything else?

One thing is that this issue has been observed in apple ecosystem as of now. Chrome and Safari on Mac OS and iPhone. Will update if it comes up in any other ecosystem.

Sanity Check

  • [ ] If this is a build issue, I have included my build config. If this is a runtime issue, I have included reproduction steps and/or a Minimal, Reproducible Example.

devamitsharma101 avatar Oct 20 '23 08:10 devamitsharma101

@devamitsharma101 thanks for opening this issue! Ill try to get some insight from the WC team on what might be a cause.

Adamj1232 avatar Nov 06 '23 17:11 Adamj1232

The same issue, holesky safe not possible to use because of this issue.

meshin-dev avatar Dec 05 '23 15:12 meshin-dev

@meshin-dev @devamitsharma101 is this a persistent issue? When brought up with the WC team they said:

This indicates an issue with the network, might be flaky network condition, extension modifying the network, vpn etc

I dont believe there is anything we can do on the W3O side to mitigate but wanted to check back in.

Adamj1232 avatar Dec 08 '23 17:12 Adamj1232

WalletConnect team advised us this is a network issue and nothing we can do on our end. If the issue persists we would recommend visiting the WalletConnect teams troubleshooting site for further information

Adamj1232 avatar Dec 19 '23 22:12 Adamj1232