[BUG REPORT] Upvoting and Replying Sometimes Generate An Error (now < trx.expiration:)

in #bug-report8 years ago (edited)

This is a Bug Report Because We All Hate Bugs :

Likely causes, and methods for workarounds are also included below.


I've been recently noticing this error "(now < trx.expiration:)" when Upvoting or Replying to posts.

It doesn't happen all the time but it's been happening more and more as the day goes by. I was just curious if anyone else has been experiencing the same or similar issues? I did some digging around and apparently it's a known problem with Graphene that was also affecting BitShares for a while. When the error occurs it will prevent you from both replying and/or upvoting on a post, which is why I want to get a rough idea of how many people are being effected and how serious the issue actually is.

For anyone else who's encountered this error recently could you please just post a yay or nay reply so I can get a reasonable guestimate on how many people are being effected. This way I can better gauge if it's worth patching or if it's just an occasional issue experienced by some due to latency.

Your participation would be much appreciated.


To those who may have been effected :

For anyone who has been effected by this issue here's a list of fixes and workarounds that were used on BitShares to solve the problem : https://github.com/cryptonomex/graphene-ui/issues/583

I have noticed that I can personally fix the issue for myself in Chrome by simply closing and reopening the browser to resync the clock which fixes the network timing issues.

The problem apparently stems from a clock sync issue which can happen for varying reasons. It's recommended that users use an NTPS (which is already baked into most major OS's anyway) to minimize or avoid this issue all together. If that doesn't work, you can change the expiration time on your upvotes and posts by manually increasing the time till expiration by changing this $string:

chain_config.expire_in_secs = 15

TO THIS

chain_config.expire_in_secs = 15 * 60

This will change the time until expiration for transactions from 15 seconds, to 15 minutes which should be more than enough time for most people (unless you're using a severely slow connection with extreme latency).


Details on how to do this are in the Github post linked above.

Thank You For Your Time and Happy Bug Free Steeming Everyone!