New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] WalletConnect heavy request fail #1790
Comments
After activating chia debug I can see that Chia Wallet seems to successfully send the data.
All the data are there. The object stringify is 107KB. I didn't make investigations but I suppose the issue is on the webSocket connection when the data exceed a certain amount. |
Here is the stack of the origin of the error:
The error seems to origin from walletconnect-utils/misc/heartbeat/src/heartbeat.ts#L52 An additional information. The only way to make new request to work again, is to refresh the wallet (cmd+r) |
In |
What happened?
Description
When making a WC request that may return a lot of data, the request get stack somewhere and we never get any result.
How to reproduce
There are 2 ways to reproduce the issue:
chia_getNFTs
request with the wallet that contains the NFT. Having a wallet with hundreds of NFTs may also have the same issue if we don't paginate.parent_coin_info
attribute when doing achia rpc wallet get_wallets '{"include_data": true}'
. Mine has more than 200 parent coins. Then do a WCchia_getWallets
withinclude_data": true
.For both cases, I see the confirmation dialog, the issue occurs after accepting the request in the Chia wallet.
Actual result
Nothing happens both on Chia wallet and on the browser. The only error I get is when opening the developer tools on the Chia wallet, I see some
ws.ts:94 WebSocket is already in CLOSING or CLOSED state.
errors. On the browser, it just wait until a long timeout and throw an empty error. Nothing on the debug.logExpected result
The data to be sent or an error message.
References
Discussion #14526
chia_getWallets
Chia-Network/chia-blockchain#14526 (reply in thread)chia_getNFTs
Chia-Network/chia-blockchain#14526 (reply in thread)Version
1.8.1
What platform are you using?
macOS
What ui mode are you using?
GUI
Relevant log output
The text was updated successfully, but these errors were encountered: