# Return to the knowledge base
Category

Login Retry

The number of times Slurp’it will try to login with SSH before it will return a time-out.

When can this be usefull?

  • Older devices that always respond with a time-out the first time
  • Busy devices which at the moment could not respond to SSH
  • Strange tropical devices who don’t like automation and for unknown reasons will return a time-out once in a while

When is this less usefull ?

  • When you experience latency issues

How does is work?

Well it’s pretty straight foward, we provide 2 parameters which you can tweak. The first one is how often we should retry to login and the second one is a delay between each retry.

How do I configure this?

You can set Docker compose variables for the Scraper

SCRAPER_LOGIN_RETRY: 3

Default: 1
Type: integer
Number of times ssh will try to login before giving up

SCRAPER_LOGIN_RETRY_DELAY: 0.5

Default: 0.1
Type: float
Time in seconds between each login retry

Example

version: ‘3’
  services:
    slurpit-scraper:
      image: slurpit/scraper
      environment:
        SCRAPER_LOGIN_RETRY:3
        SCRAPER_LOGIN_RETRY_DELAY:0.5
Yes, keep me informed

Connect with us on LinkedIn to stay updated on the latest happenings, news, and exciting developments at Slurp’it. Just click the button below to follow us and be a part of our professional network.

Newsletter