Describe the bug
If HTTP requests take too long to timeout, the ZRA website expires the login session causing all sorts of errors.
When the session expires, the ZRA website returns an HTML page containing "Your Session has expired. Please login again." Since this isn't a failed request, the tool doesn't treat it as such and various errors occur, particularly when an XML response was expected.
To Reproduce
Steps to reproduce the behavior:
Set a very long HTTP request timeout
Run the action that gets ledger records
Observe that the following error occurs:
TypeError: response['request-params'] is undefined
Expected behavior
When the session expires, the tool should detect this, re-login and continue.
Version WIP ledger branch
Describe the bug If HTTP requests take too long to timeout, the ZRA website expires the login session causing all sorts of errors.
When the session expires, the ZRA website returns an HTML page containing "Your Session has expired. Please login again." Since this isn't a failed request, the tool doesn't treat it as such and various errors occur, particularly when an XML response was expected.
To Reproduce Steps to reproduce the behavior:
Expected behavior When the session expires, the tool should detect this, re-login and continue.