A: A basic code for commenting via beem python library not working? Can someone help?

in #stemq6 years ago

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.

Sort:  

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!!!

Coin Marketplace

STEEM 0.23
TRX 0.21
JST 0.035
BTC 96557.13
ETH 3328.16
USDT 1.00
SBD 3.18