-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
We found that ansible could not make a connection with one of our switches with a strange timeout error. After some digging, I found this in session.py:
response = s.post( base_url + "login", data=login_data, verify=False, timeout=5, proxies=s.proxies, headers=login_headers, )
The timeout for a login is set to 5 seconds, but for some reason, the login takes about 16 s on one of our switches. Changing the timeout to a longer value makes the playbook work. Maybe this timeout should be a configuratble variable?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels