cobra.mit.request.CommitError: Token was invalid (Error: Token timeout)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2017 11:26 AM
I tried the following 2 methods, but no luck.
1, LoginSession.refresh()
2, first did LoginSession.logout(), then created a new LoginSession()
Any idea how to solve the issue?
Thanks,
Huan
- Labels:
-
APIC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2020 06:11 AM - edited 06-05-2020 06:12 AM
Hello, when the token gets expired, what I do is a re-login. (No logouts, no refreshes just login again.) It appears that currently Cobra SDK does not have a token refresh method either, unlike in ACItoolkit and PyACI modules.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2021 02:14 AM
Hello,
I have the same problem in my scripts. Did you find a way to solve this issue ? if yes, can you please share it ?
Many thanks
Fadi
