Skip to content
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

Several pages giving Unauthorized access error #35

Open
Jamie-BitFlight opened this issue May 12, 2017 · 1 comment
Open

Several pages giving Unauthorized access error #35

Jamie-BitFlight opened this issue May 12, 2017 · 1 comment

Comments

@Jamie-BitFlight
Copy link

Did I miss a step when setting up saltshaker?
I am getting errors regard
Traceback:
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
132. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/contrib/auth/decorators.py" in _wrapped_view
22. return view_func(request, *args, **kwargs)
File "/home/ubuntu/cloudconfig/saltshaker/states_config/views.py" in highstate_result
149. sapi = SaltAPI()
File "/home/ubuntu/cloudconfig/saltshaker/shaker/shaker_core.py" in init
20. content = self.postRequest(obj, prefix='/login')
File "/home/ubuntu/cloudconfig/saltshaker/shaker/shaker_core.py" in postRequest
29. opener = urllib2.urlopen(req)
File "/usr/lib/python2.7/urllib2.py" in urlopen
154. return opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py" in open
435. response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py" in http_response
548. 'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py" in error
473. return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py" in _call_chain
407. result = func(*args)
File "/usr/lib/python2.7/urllib2.py" in http_error_default
556. raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

Exception Type: HTTPError at /states_config/highstate_result/
Exception Value: HTTP Error 401: Unauthorized

@wanghonglei5181
Copy link
Collaborator

Exception Value: HTTP Error 401: Unauthorized
check your user and passowrd of saltapi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants