You are viewing a single comment's thread from:

RE: FOSSbot - Free Open Source Steem Voting Bot - Instructions For Beginners

in #voting7 years ago (edited)

Thanks!
so I have bot with my own config

But after a couple runs and success full voting and after some amendments in "Edit Algorithm" and "Edit Config" I sometimes see an Error like this:

What should I do?
How to debug this?
Test Algorithm with 5 Newest Post works fine, but "Run Bot" ands with error...

DAYS_KEEP_LOGS = 2
But when I view "Last Log" it says :

"Last log
No logs yet, please run bot for first time!"

(Free Heroku)

Sort:  

If you have made any deep mistakes that you can't find while editing the configuration, it might be better to just delete and reinstall your bot since it only takes a few minutes.

Glad to hear it! Good luck.

I would like to check all posts counting from 5 hours to 6 since they were created. How to achieve this on heroku, Is it possible?

You could use the metrics :

post_alive_time: Time since post, in minutes

use min 5 hours and max 6 hours. (in minutes)

Don't worry. I had the same problem.

The Heroku website will time out after 30 seconds. This is why you get the "application error" in your screenshot.

This is not a FOSSbot error really it's Heroku. Sometimes FOSSbot need more than 30 seconds.

The bot should still run and you can verify this on the "stats" page

Either way. If you are running the bot on an automatic schedule then this "application error" / timeout is nothing you need to worry about.

Try out the docker version if you have the time and then you won't even need Heroku.

https://github.com/Steem-FOSSbot/voter-docker