-
Notifications
You must be signed in to change notification settings - Fork 57
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
Infinite "tx draft has expired" error #862
Comments
I tested it with payments, trading and adding assets. Every time I force a 'Transaction draft has expired' error by exceeding the transaction timeout that we set on transaction creation, I have to close the submission progress dialog and get back to the form (trading, payment or add asset). solar/src/components/Payment/PaymentForm.tsx Line 348 in 4264561
So it has to do something with the SubmissionProgress (?) but I was not able to reproduce this even once so... I don't know. |
Do we actually fetch a timestamp from horizon? Otherwise maybe it could be an inacurate user device time. |
Seems like you're right about the inaccurate time of the user device. I found this related issue ticket which points out that there is a bug in the sdk. |
@andrenarchy is on it. I guess it will be fixed with the next horizon update. (The actual fix is adding an |
Should be fixed with the upcoming v0.24.0. Horizon servers are sending the correct headers now and Solar will use the latest Stellar SDK containing a fix that will make the feature actually work. |
As seen on one device during the launch party:
Error occured once and then appeared immediately again whenever the user tried to create a new payment. Looks as if either no new tx is created or the SubmissionProgress is stuck at the previous state.
The text was updated successfully, but these errors were encountered: