Hide Forgot
Currently when the SSO token used by the SDK expires, the operations just fail, and the only way to recover is to close the connection and open a new one. This isn't convenient, specially for long running applications. The SDK should have a mechanism to automatically renew the SSO tokens when they expire.
Error exception should also containt HTTP response code.
Verified that periodic query with interval higher than UserSessionTimeOutInterval leads to Receiving response: HTTP/1.1 401 Unauthorized and subsequent re-authorization. SSO token is renewed correctly. java-ovirt-engine-sdk4-4.2.3-1.el7ev.noarch
This bugzilla is included in oVirt 4.2.4 release, published on June 26th 2018. Since the problem described in this bug report should be resolved in oVirt 4.2.4 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.