[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:
![Screenshot 2024-12-06 at 18 41 10](https://private-user-images.githubusercontent.com/1897225/393191429-537f9d31-51fe-4c45-b3f4-201d5469253f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0ODUyODcsIm5iZiI6MTczOTQ4NDk4NywicGF0aCI6Ii8xODk3MjI1LzM5MzE5MTQyOS01MzdmOWQzMS01MWZlLTRjNDUtYjNmNC0yMDFkNTQ2OTI1M2YucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTNUMjIxNjI3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZjNjY2UzOGIwZGIyOTE3YzExMzAzMTE4OWU0ODgyYWQ0NmFiZWVkY2UxYzVlNzdjOTc2ZWZiZTVjYjQ0ZGQ3OSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.DcwIRsQtlL9k1i8oo3nImqKTLwPAGIwH95631xKOOC4)
React error overlay that stops the user progression:
![Screenshot 2024-12-06 at 18 41 45](https://private-user-images.githubusercontent.com/1897225/393191626-0fa573ea-f708-466a-8043-63c92db15af9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0ODUyODcsIm5iZiI6MTczOTQ4NDk4NywicGF0aCI6Ii8xODk3MjI1LzM5MzE5MTYyNi0wZmE1NzNlYS1mNzA4LTQ2NmEtODA0My02M2M5MmRiMTVhZjkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTNUMjIxNjI3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NWI3NjU0ODVhNjVkMWJlNjZkNjM0ZmQzMjJkMWY0YjI0OTQxOGViNzE0MTU4MzIzMWI4NjA3ZGU2ZmRkM2E2NiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.cy73P8DNt1TUnQPOY5Ou2-QtG5XvE6j9EGaMj3MGpJk)
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/[email protected]
│ ├── @tonconnect/[email protected]
│ ├── @tonconnect/[email protected]
│ └── @tonconnect/[email protected]
├─┬ @tonconnect/[email protected]
│ └── @tonconnect/[email protected] deduped
└─┬ @tonconnect/[email protected]
└── @tonconnect/[email protected] 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: