saltshaker icon indicating copy to clipboard operation
saltshaker copied to clipboard

Several pages giving Unauthorized access error

Open Jamie-BitFlight opened this issue 7 years ago • 1 comments

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

Jamie-BitFlight avatar May 12 '17 10:05 Jamie-BitFlight

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

wanghonglei5181 avatar Jun 29 '17 09:06 wanghonglei5181