[UI]: Error [TON_CONNECT_SDK_ERROR] TonConnectError Aborted after attempts 1
triggers without waiting for user input
#296
Labels
bug
Something isn't working
Describe the bug
Upon calling
tonConnectUI.openModal()
, after selecting the OKX Wallet, the error[TON_CONNECT_SDK_ERROR] TonConnectError Aborted after attempts 1
triggers without waiting for any further input from the user.Strangely, as a user, if I ignore the error, I can move forward with the wallet connection. In React the error makes the application testing less smooth as it overlays on top of the screen.
OKX Wallet interface:
React error overlay that stops the user progression:
Expected behavior
I expected that no
abort
error would show if I did not abort anything as a user.Current behavior
Instead I observed that the
abort
error triggers before the user aborts anything.Steps to Reproduce
Environment
npm ls @tonconnect/{ui-react,ui,sdk,protocol,isomorphic-fetch,isomorphic-eventsource}
:├─┬ @tonconnect/sdk@3.0.5
│ ├── @tonconnect/isomorphic-eventsource@0.0.2
│ ├── @tonconnect/isomorphic-fetch@0.0.3
│ └── @tonconnect/protocol@2.2.6
├─┬ @tonconnect/ui-react@2.0.9
│ └── @tonconnect/ui@2.0.9 deduped
└─┬ @tonconnect/ui@2.0.9
└── @tonconnect/sdk@3.0.5 deduped
OS:
MacOS
v13.5
Browser:
Chrome
v131.0.6778.109
Additional context
No response
The text was updated successfully, but these errors were encountered: