CiscoDevNet / FMCAnsible

GNU General Public License v3.0
21 stars 25 forks source link

Status code: 401. Server response: Access token invalid. #66

Open mmaciejc opened 2 months ago

mmaciejc commented 2 months ago

After multiple operations and a long time of execution (around 30 mins) status code 401 is seen.

Example: loop of deleteHostObject, after 600/800 execution (depends on time) all following operations would fail with error:

"msg": "Server returned an error trying to execute deleteHostObject operation. Status code: 401. Server response: Access token invalid."}

Looks like this function is never called: def handle_httperror(self, exc):

Looks like this issue is not resolved: https://github.com/CiscoDevNet/FMCAnsible/issues/38

xibriz commented 2 months ago

Check out #58