-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Login after token refresh times out #19
Comments
Try replacing line 250 of NativeAPI if (scope in self.__oauth and 'refresh_token' in self.__oauth[scope]): By if (scope in self.__oauth and 'refresh_token' in self.__oauth['sc2:fal']): It’s something wrong with cubic token. |
Thanks for the quick response. I tried the suggested modification but I am running into the same issue. Note that the difference in line numbers in my version is due to minor modifications which do not have any influence on functionality:
I have attached the new trace file. |
Which is the current status of this issue? Still persists? |
Issue still persists |
I have an issue with login after tokens have been refreshed.
This one seems to be different from #16.
From my main program, I cyclically call get_vsr from nativeAPI.py every 15 minutes.
This works fine for 5 cycles (about 1 hour) using the cached session data,
In the 6th cycle (see attached trace file starting at line 260), tokens are found to be expired and a new login is made.
However, __get_url, called from __force_login, times out after ~15 minutes with ConnectionError 'Remote end closed connection without response'
The attached trace file covers the entire test run and has the exception output included at the end.
Thanks for support
monitorVW_02.log
The text was updated successfully, but these errors were encountered: