-
Notifications
You must be signed in to change notification settings - Fork 88
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
[TONCONNECT-UI]: Decryption Error. #226
Comments
Nope. There is another issue open with over 10 people saying they have the same issue... |
same error! |
Thank you, this looks like a really nice implementation! As for the original issue though, I believe it occurs because tonconnect has blocked the domain name from which the requests are coming from. I think they have an automatic system set up for flagging domain names to prevent scams or the tonconnect library being used maliciously. This would explain why it works on my development environment but not on the production environment. That being said, is there any way to get a domain name checked or appealed? |
Can you share your code and the domain name with us, if possible? |
@itsalimanuel Our domain is having the same issue The wallet connect was working and suddenly it stopped working on this domain |
Hello, @tropee-moein, It seems that the issue is related to your website. I suspect there might be a security concern with the website. |
@itsalimanuel The domain was working fine |
Thanks for checking it mate! |
Hi, That is simple to solve and I found the solution. |
Hello again @itsalimanuel |
Hello, I hope so . Good luck 👏 |
Hi @itsalimanuel |
Hello @tropee-moein, i see you are using Google Ads! Try disabling it, it might affect the wallet connector. |
Hi @itsalimanuel |
Interesting, I just noticed it after checking with test tools. I would suggest checking API rate limits, IP blocking, or throttling. |
@itsalimanuel We actually have a way to test our code on a different domain and we can connect the wallet. |
Describe the bug
Whenever I connect tonkeeper to my site using tonconnect-ui, I get a strange message in the console saying there was a decryption error.
I have never gotten this issue before, and I cannot even get it to persist on my development environemnt, it only occurs on the production environment. I was thinking it may be an issue with CORS, or how I set up my NGINX webserver, but I am only running a reverse proxy with which the same project was definitely working before.
I installed tonconnect through the CDN and am using the vue ui framework.
I've even tried using the cdn to use an earlier version but for some strange reason the issue persists.
Expected behavior
On connecting my wallet, the tonconnect button updates to show that I now have a wallet linked.
Current behavior
Upon pressing connect wallet, a new page (tonkeeper) opens up. The manifest shows up correctly, and when clicking connect and going back to to the site tonconnect continues to load and says Continue in Tonkeeper on desktop… When checking the console there is a Uncaught (in promise) Error: Decryption error: message: 52, 126, 208... error with a very large buffer.
Steps to Reproduce
Unsure
Environment
Works fine on the development environment (Windows using npm run serve), breaks on the Ubuntu server (using NGINX with a reverse proxy to the backend to serve the site). Using Firefox but also breaks on Chrome.
Additional context
No response
The text was updated successfully, but these errors were encountered: