When running a cobra script for a long time or if there is some latency causing the script to run slower, the script will always hit the timeout. I tried to integrate loginsession.refresh() into the most used functions to ensure the session is refreshed, but I always get a login error after 600 seconds.
When running a cobra script for a long time or if there is some latency causing the script to run slower, the script will always hit the timeout. I tried to integrate loginsession.refresh() into the most used functions to ensure the session is refreshed, but I always get a login error after 600 seconds.