Created
March 22, 2016 00:01
-
-
Save treyharris/a0ea37d3795e72d361c2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% ansible-galaxy login -vvv --github-token=$(cat ~/.ansible-galaxy-github-token) | |
Using /Users/trey/.ansible.cfg as config file | |
Opened /Users/trey/.ansible_galaxy | |
Validate TLS certificates: True | |
Connecting to galaxy_server: https://galaxy.ansible.com | |
Base API: https://galaxy.ansible.com/api/v1 | |
ERROR! Unexpected Exception: HTTP Error 400: BAD REQUEST | |
the full traceback was: | |
Traceback (most recent call last): | |
File "/usr/local/Cellar/ansible/2.0.1.0/libexec/bin/ansible-galaxy", line 86, in <module> | |
sys.exit(cli.run()) | |
File "/usr/local/Cellar/ansible/2.0.1.0/libexec/lib/python2.7/site-packages/ansible/cli/galaxy.py", line 153, in run | |
self.execute() | |
File "/usr/local/Cellar/ansible/2.0.1.0/libexec/lib/python2.7/site-packages/ansible/cli/__init__.py", line 114, in execute | |
fn() | |
File "/usr/local/Cellar/ansible/2.0.1.0/libexec/lib/python2.7/site-packages/ansible/cli/galaxy.py", line 559, in execute_login | |
galaxy_response = self.api.authenticate(github_token) | |
File "/usr/local/Cellar/ansible/2.0.1.0/libexec/lib/python2.7/site-packages/ansible/galaxy/api.py", line 118, in authenticate | |
resp = open_url(url, data=args, validate_certs=self._validate_certs, method="POST") | |
File "/usr/local/Cellar/ansible/2.0.1.0/libexec/lib/python2.7/site-packages/ansible/module_utils/urls.py", line 728, in open_url | |
r = urllib2.urlopen(*urlopen_args) | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 154, in urlopen | |
return opener.open(url, data, timeout) | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 437, in open | |
response = meth(req, response) | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 550, in http_response | |
'http', request, response, code, msg, hdrs) | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 475, in error | |
return self._call_chain(*args) | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 409, in _call_chain | |
result = func(*args) | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 558, in http_error_default | |
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) | |
HTTPError: HTTP Error 400: BAD REQUEST |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment