Skip to content
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

No new posts since last post error #159

Open
probablykasper opened this issue Jan 19, 2019 · 3 comments
Open

No new posts since last post error #159

probablykasper opened this issue Jan 19, 2019 · 3 comments

Comments

@probablykasper
Copy link

probablykasper commented Jan 19, 2019

The bot used to work, but now it does not seem to be able to detect any posts.

This is the log shown when running the bot (removed the memo key just because I don't know what it's for):

2019-01-19T16:19:18.069005+00:00 heroku[router]: at=info method=GET path="/run-bot" host=skeem.herokuapp.com request_id=ab1d836b-fda3-4c75-ab88-6a73ab4436b3 fwd="185.78.71.81" dyno=web.1 connect=0ms service=13ms status=304 bytes=151 protocol=https
2019-01-19T16:19:18.204740+00:00 heroku[router]: at=info method=GET path="/css/msg-page.css" host=skeem.herokuapp.com request_id=8d6f20ff-473a-411f-aa90-fee1e679d126 fwd="185.78.71.81" dyno=web.1 connect=0ms service=2ms status=304 bytes=236 protocol=https
2019-01-19T16:19:18.206398+00:00 heroku[router]: at=info method=GET path="/img/voter-32.png" host=skeem.herokuapp.com request_id=e0a98717-05bf-4a3a-873e-a06928dbc4e8 fwd="185.78.71.81" dyno=web.1 connect=0ms service=3ms status=304 bytes=237 protocol=https
2019-01-19T16:19:18.056550+00:00 app[web.1]: req.query.api_key = undefined
2019-01-19T16:19:18.056600+00:00 app[web.1]: req.session.api_key = U*4b4cUPr9VM$5&P@s
2019-01-19T16:19:18.204952+00:00 heroku[router]: at=info method=GET path="/css/bootstrap.min.css" host=skeem.herokuapp.com request_id=b16ed1fa-a0e5-4401-83d5-674d32146005 fwd="185.78.71.81" dyno=web.1 connect=0ms service=2ms status=304 bytes=239 protocol=https
2019-01-19T16:19:18.245123+00:00 heroku[router]: at=info method=GET path="/js/bootstrap.min.js" host=skeem.herokuapp.com request_id=06206fb0-0f16-4a09-842d-36b8d03387e8 fwd="185.78.71.81" dyno=web.1 connect=0ms service=1ms status=304 bytes=238 protocol=https
2019-01-19T16:19:18.207198+00:00 heroku[router]: at=info method=GET path="/js/jquery-1.12.4.min.js" host=skeem.herokuapp.com request_id=4e2330de-61ce-4feb-9645-96ab6928138c fwd="185.78.71.81" dyno=web.1 connect=1ms service=3ms status=304 bytes=239 protocol=https
2019-01-19T16:11:49.453925+00:00 app[web.1]: calling initSteem...
2019-01-19T16:11:50.671730+00:00 app[web.1]: Database connection ready
2019-01-19T16:11:50.672154+00:00 app[web.1]: steem user: lick
2019-01-19T16:11:50.672201+00:00 app[web.1]: private posting key?: true
2019-01-19T16:11:50.672245+00:00 app[web.1]: api key?: true
2019-01-19T16:11:50.722110+00:00 app[web.1]:  [ { id: 1184487,
2019-01-19T16:11:50.722114+00:00 app[web.1]:     name: 'lick',
2019-01-19T16:11:50.722117+00:00 app[web.1]:     owner:
2019-01-19T16:11:50.722119+00:00 app[web.1]:      { weight_threshold: 1, account_auths: [], key_auths: [Array] },
2019-01-19T16:11:50.722121+00:00 app[web.1]:     active:
2019-01-19T16:11:50.722128+00:00 app[web.1]:      { weight_threshold: 1, account_auths: [], key_auths: [Array] },
2019-01-19T16:11:50.722130+00:00 app[web.1]:     posting:
2019-01-19T16:11:50.722132+00:00 app[web.1]:      { weight_threshold: 1,
2019-01-19T16:11:50.722133+00:00 app[web.1]:        account_auths: [Array],
2019-01-19T16:11:50.722135+00:00 app[web.1]:        key_auths: [Array] },
2019-01-19T16:11:50.722138+00:00 app[web.1]:     json_metadata: '{}',
2019-01-19T16:11:50.722139+00:00 app[web.1]:     proxy: '',
2019-01-19T16:11:50.722141+00:00 app[web.1]:     last_owner_update: '1970-01-01T00:00:00',
2019-01-19T16:11:50.722143+00:00 app[web.1]:     last_account_update: '2019-01-19T15:44:06',
2019-01-19T16:11:50.722144+00:00 app[web.1]:     created: '2018-12-22T15:56:51',
2019-01-19T16:11:50.722146+00:00 app[web.1]:     mined: false,
2019-01-19T16:11:50.722148+00:00 app[web.1]:     recovery_account: 'steem',
2019-01-19T16:11:50.722150+00:00 app[web.1]:     last_account_recovery: '1970-01-01T00:00:00',
2019-01-19T16:11:50.722151+00:00 app[web.1]:     reset_account: 'null',
2019-01-19T16:11:50.722153+00:00 app[web.1]:     comment_count: 0,
2019-01-19T16:11:50.722154+00:00 app[web.1]:     lifetime_vote_count: 0,
2019-01-19T16:11:50.722156+00:00 app[web.1]:     post_count: 1,
2019-01-19T16:11:50.722158+00:00 app[web.1]:     can_vote: true,
2019-01-19T16:11:50.722159+00:00 app[web.1]:     voting_manabar:
2019-01-19T16:11:50.722161+00:00 app[web.1]:      { current_mana: '30316067626', last_update_time: 1547910303 },
2019-01-19T16:11:50.722163+00:00 app[web.1]:     voting_power: 0,
2019-01-19T16:11:50.722164+00:00 app[web.1]:     balance: '0.000 STEEM',
2019-01-19T16:11:50.722166+00:00 app[web.1]:     savings_balance: '0.000 STEEM',
2019-01-19T16:11:50.722167+00:00 app[web.1]:     sbd_balance: '0.000 SBD',
2019-01-19T16:11:50.722169+00:00 app[web.1]:     sbd_seconds: '0',
2019-01-19T16:11:50.722171+00:00 app[web.1]:     sbd_seconds_last_update: '2019-01-19T15:05:03',
2019-01-19T16:11:50.722172+00:00 app[web.1]:     sbd_last_interest_payment: '1970-01-01T00:00:00',
2019-01-19T16:11:50.722174+00:00 app[web.1]:     savings_sbd_balance: '0.000 SBD',
2019-01-19T16:11:50.722175+00:00 app[web.1]:     savings_sbd_seconds: '0',
2019-01-19T16:11:50.722177+00:00 app[web.1]:     savings_sbd_seconds_last_update: '1970-01-01T00:00:00',
2019-01-19T16:11:50.722179+00:00 app[web.1]:     savings_sbd_last_interest_payment: '1970-01-01T00:00:00',
2019-01-19T16:11:50.722180+00:00 app[web.1]:     savings_withdraw_requests: 0,
2019-01-19T16:11:50.722182+00:00 app[web.1]:     reward_sbd_balance: '0.000 SBD',
2019-01-19T16:11:50.722184+00:00 app[web.1]:     reward_steem_balance: '0.000 STEEM',
2019-01-19T16:11:50.722185+00:00 app[web.1]:     reward_vesting_balance: '0.000000 VESTS',
2019-01-19T16:11:50.722187+00:00 app[web.1]:     reward_vesting_steem: '0.000 STEEM',
2019-01-19T16:11:50.722188+00:00 app[web.1]:     vesting_shares: '16.067626 VESTS',
2019-01-19T16:11:50.722190+00:00 app[web.1]:     delegated_vesting_shares: '0.000000 VESTS',
2019-01-19T16:11:50.722192+00:00 app[web.1]:     received_vesting_shares: '30300.000000 VESTS',
2019-01-19T16:11:50.722193+00:00 app[web.1]:     vesting_withdraw_rate: '0.000000 VESTS',
2019-01-19T16:11:50.722195+00:00 app[web.1]:     next_vesting_withdrawal: '1969-12-31T23:59:59',
2019-01-19T16:11:50.722197+00:00 app[web.1]:     withdrawn: 0,
2019-01-19T16:11:50.722198+00:00 app[web.1]:     to_withdraw: 0,
2019-01-19T16:11:50.722200+00:00 app[web.1]:     withdraw_routes: 0,
2019-01-19T16:11:50.722202+00:00 app[web.1]:     curation_rewards: 8,
2019-01-19T16:11:50.722203+00:00 app[web.1]:     posting_rewards: 0,
2019-01-19T16:11:50.722205+00:00 app[web.1]:     proxied_vsf_votes: [ 0, 0, 0, 0 ],
2019-01-19T16:11:50.722206+00:00 app[web.1]:     witnesses_voted_for: 0,
2019-01-19T16:11:50.722208+00:00 app[web.1]:     last_post: '2018-12-22T17:11:09',
2019-01-19T16:11:50.722210+00:00 app[web.1]:     last_root_post: '2018-12-22T17:11:09',
2019-01-19T16:11:50.722211+00:00 app[web.1]:     last_vote_time: '2019-01-10T17:41:30',
2019-01-19T16:11:50.722213+00:00 app[web.1]:     post_bandwidth: 0,
2019-01-19T16:11:50.722215+00:00 app[web.1]:     pending_claimed_accounts: 0,
2019-01-19T16:11:50.722216+00:00 app[web.1]:     vesting_balance: '0.000 STEEM',
2019-01-19T16:11:50.722218+00:00 app[web.1]:     reputation: 8687500,
2019-01-19T16:11:50.722220+00:00 app[web.1]:     transfer_history: [],
2019-01-19T16:11:50.722221+00:00 app[web.1]:     market_history: [],
2019-01-19T16:11:50.722223+00:00 app[web.1]:     post_history: [],
2019-01-19T16:11:50.722224+00:00 app[web.1]:     vote_history: [],
2019-01-19T16:11:50.722226+00:00 app[web.1]:     other_history: [],
2019-01-19T16:11:50.722228+00:00 app[web.1]:     witness_votes: [],
2019-01-19T16:11:50.722229+00:00 app[web.1]:     tags_usage: [],
2019-01-19T16:11:50.722231+00:00 app[web.1]:     guest_bloggers: [] } ]
2019-01-19T16:11:50.772135+00:00 app[web.1]: latest block time: 2019-01-19T16:11:48.000Z
2019-01-19T16:11:50.773229+00:00 app[web.1]:  - - new vp(corrected): 10000
2019-01-19T16:11:50.775353+00:00 app[web.1]: owner: {"voting_power":10000,"last_vote_time":"2019-01-10T17:41:30","last_post_time":40260.69536666667,"steem_power":0.008002033561859245,"latest_block_time":"2019-01-19T16:11:48.000Z"}
2019-01-19T16:11:50.794588+00:00 app[web.1]: getFollowing
2019-01-19T16:11:50.794734+00:00 app[web.1]: lick follows: 
2019-01-19T16:11:50.804538+00:00 app[web.1]: got last post, id: undefined
2019-01-19T16:11:50.807873+00:00 app[web.1]: got config vars from db
2019-01-19T16:11:50.808189+00:00 app[web.1]: calling runBot...
2019-01-19T16:11:50.808431+00:00 app[web.1]: runBot started...
2019-01-19T16:11:50.809022+00:00 app[web.1]: checking we have enough voting power...
2019-01-19T16:11:50.809324+00:00 app[web.1]: pre set up...
2019-01-19T16:11:50.816944+00:00 app[web.1]: getting recent posts...
2019-01-19T16:11:50.889039+00:00 app[web.1]:  - num fetched posts: 0
2019-01-19T16:11:50.889542+00:00 app[web.1]: filter posts...
2019-01-19T16:11:50.891503+00:00 app[web.1]: { message:
2019-01-19T16:11:50.891506+00:00 app[web.1]:    'No new posts since last post and within MIN_POST_AGE_TO_CONSIDER of 30 minutes.\nPlease note that MAX_POST_TO_READ value is set to 500 in your config.\nYou may need to increase this number. Please see the FAQ.' }
2019-01-19T16:12:00.895713+00:00 app[web.1]: (bot.js) runBot finished successfully
@KINGdotNET
Copy link

KINGdotNET commented Jan 20, 2019

Try using a different server to connect to the blockchain and see if this work for you. Keep us posted.

@yehey

@probablykasper
Copy link
Author

@KINGdotNET Getting the same result.

I have min voting power set to 90 (account has 91), and this as the only rule:
image

(the site also crashes way too often)

@eletom
Copy link

eletom commented Feb 26, 2020

I think it is because the bot cannot fetch last_post, resulting in 'got last post, id: undefined' and it is unable compute time between last_post and now. I just can't find where to disable last_post logging or make it right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants