-
Notifications
You must be signed in to change notification settings - Fork 104
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
session cookies are not maintained when downloading a file via the connector #365
Comments
here's a diff for a fix:
|
with the above change(s) to the connector - the script now works when using an FQDN for the Grid Manager:
|
You can alternatively workaround this issue by replacing the IP address in the returned URL with the url = r.get('url')
url = url.replace(url[8:url.index('/',8)], opts['host'])
r = conn.download_file(url) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
version = 0.6.0
os = mac
There is an issue of NOT carrying the cookie jar contents of the
ibapauth
cookie toconn.download_file()
method call. This results in a401 Authorization Required
result.The workaround is to use the IP Address of the Grid Manager instead of the FQDN, b/c the resulting download_url is always returned by the GM using it's IP address - this is a change to the session.
The text was updated successfully, but these errors were encountered: