-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[UI]: Exception: "Context must be an activity" #310
Comments
I have the same error. This issue occurs probabilistically, making it quite perplexing. |
Are you also using TonKeeper on the testnet? |
May I know if anyone is looking at this issue? |
Yes, tonkeeper testnet |
Same issue here with tonkeeper. |
same issue, try sending transaction using tonconnect (tonutils realisation) |
@lascion @jobman @bc1phugo, @jobman It does allow to confirm the transaction but the user can also decline the transaction and we would have no way of knowing that, that is the issue. My guess is: Does anyone knows maybe what can be our next steps in solving this? |
Hello, I am also encountering the same problem on Android and iOS. When trying to connect my wallet to Tonkeeper, the transaction fails and returns this error. This issue is relatively recent, as the transactions were going through correctly last week. |
Here is the example of the transaction that I am declining, then of the one I am accepting. Maybe if we can 'catch' all the 'Context' error before the final one, we can get to the final one? |
Reporting the same issue on mainnet. |
@wizidot @jobman @fastesc @lascion @bc1phugo, Questions:
Please, add any additional observations if you have, and I'll share new ones from my side too so we can tackle this issue! :) |
I encountered the same problem. Has anyone fixed it? |
Not that I know of,
|
I had a similar issue with TMA on React, @tonconnect/ui 2.0.11, Tonkeeper 5.0.20 for Android. Reinstalling Tonkeeper on the phone solved the problem. I'm not sure if this solution will work for everyone, but it might be helpful for someone. |
Describe the bug
This is an exception happening while trying to sign a transaction in TonKeeper on testnet (image attached).
The mini app is getting this exception thrown, but the transaction is being sent to blockchain and the TON is being billed from the wallet.
I was thinking of just catching this case but that's not the solution.
Expected behavior
TON Connect should return an object containing the BoC with transaction information.
Current behavior
An error "Context must be an activity" is being thrown and frontend is unaware what is the transaction BoC, therefore not able to look for it or to send it to backend to check it, while transaction is being sent from wallet.
Steps to Reproduce
I am not able to reproduce the steps as it's happening on random times.
When it happens, only the phone restart (and reconnecting of the wallet the PC) helps to stop this issue from repeating each time when trying to sign a transaction.
Friend told me that removing of the local storage helped him (which is actually reconnecting of the wallet), but that didn't help me, only restart did.
Environment
It's the latest tonconnect-ui version (2.0.9).
This is happening on all platforms: Android and iOS phones, and PC's (windows 10 and 11).
I am unaware if same thing happens on other wallets or on mainnet, as I am currently testing my mini app.
Additional context
No response
The text was updated successfully, but these errors were encountered: