Skip to content
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

[UI]: Exception: "Context must be an activity" #310

Open
stefanel96 opened this issue Jan 2, 2025 · 4 comments
Open

[UI]: Exception: "Context must be an activity" #310

stefanel96 opened this issue Jan 2, 2025 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@stefanel96
Copy link

stefanel96 commented Jan 2, 2025

Describe the bug

This is an exception happening while trying to sign a transaction in TonKeeper on testnet (image attached).

Screenshot 2025-01-02 133230

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

@stefanel96 stefanel96 added the bug Something isn't working label Jan 2, 2025
@lascion
Copy link

lascion commented Jan 3, 2025

I have the same error. This issue occurs probabilistically, making it quite perplexing.

@stefanel96
Copy link
Author

I have the same error. This issue occurs probabilistically, making it quite perplexing.

Are you also using TonKeeper on the testnet?

@stefanel96
Copy link
Author

May I know if anyone is looking at this issue?
@thekiba

@lascion
Copy link

lascion commented Jan 6, 2025

I have the same error. This issue occurs probabilistically, making it quite perplexing.

Are you also using TonKeeper on the testnet?

Yes, tonkeeper testnet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants