A: A basic code for commenting via beem python library not working? Can someone help?
Hi, this exception can occur if the transaction is already expired when it arrives at the Steem node. This can happen if there are network delays longer than the expiration period, or if your system time is off. In both cases, increasing the expiration can potentially be a workaround here. For the system clock skew, a longer term solution is obviously to correct the local time settings.
StemQ Notice: This post was originally submitted on StemQ.io, a Q&A application for STEM subjects powered by the Steem blockchain.
Thank you @stmdev. There was a system time skew(mismatch in system time and network time). I corrected it here in the code:
stm = Steem(node="https://api.steemit.com/",expiration=200,keys=["mypostingkey"])
by changing expiration from previously 90 to 200.It's working now!!!