You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/usr/bin/salt-call", line 11, in <module
salt_call()
File "/usr/lib/pymodules/python2.7/salt/scripts.py", line 76, in salt_call
client.run()
File "/usr/lib/pymodules/python2.7/salt/cli/__init__.py", line 257, in run
caller.run()
File "/usr/lib/pymodules/python2.7/salt/cli/caller.py", line 163, in run
ret = self.call()
File "/usr/lib/pymodules/python2.7/salt/cli/caller.py", line 76, in call
ret['return'] = func(*args, **kwargs)
File "/usr/lib/pymodules/python2.7/salt/modules/cp.py", line 203, in get_url
return __context__['cp.fileclient'].get_url(path, dest, False, env)
File "/usr/lib/pymodules/python2.7/salt/fileclient.py", line 344, in get_url
raise MinionError('Error reading {0}: {1}'.format(url, ex.reason))
salt.exceptions.MinionError: Error reading https://username:password@ppa.mydomain.com:443/remote.key [Errno -2] Name or service not known
I think this might be due to urllib2.urlopen not liking my URL, but I can't be sure. I am Salt 0.15.3 on Ubuntu 12.04.
Specially I am trying to use this as the key_url in the pkgrepo state. I think this might of worked before the fix for #3894.
The text was updated successfully, but these errors were encountered:
If you have a userinfo component in an RFC 3986 URI, the default
handling of the python urllibs is to complain about a non-numeric
port.
This fix handles the case where there is a userinfo component (e.g.
http://user:pass@server.name/path/to/file), parsing it out,
creating a basicauth handler, and passing url_open a url it can
understand.
FIXES Issue saltstack#5641
If you have a userinfo component in an RFC 3986 URI, the default
handling of the python urllibs is to complain about a non-numeric
port.
This fix handles the case where there is a userinfo component (e.g.
http://user:pass@server.name/path/to/file), parsing it out,
creating a basicauth handler, and passing url_open a url it can
understand.
FIXES Issue #5641
I am trying to retrieve a file that is behind a web server with basic HTTP auth setup, if I run something like this:
I get this error:
I think this might be due to urllib2.urlopen not liking my URL, but I can't be sure. I am Salt 0.15.3 on Ubuntu 12.04.
Specially I am trying to use this as the key_url in the pkgrepo state. I think this might of worked before the fix for #3894.
The text was updated successfully, but these errors were encountered: