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
File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2552, in call
return self.wsgi_app(environ, start_response)
File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2532, in wsgi_app
response = self.handle_exception(e)
File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2529, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1825, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1823, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1799, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "/eNMS/eNMS/server.py", line 132, in decorated_function
user = env.authenticate_user(**request.authorization)
File "/usr/local/lib/python3.10/dist-packages/werkzeug/datastructures/auth.py", line 491, in wrapper
return f(*args, **kwargs)
TypeError: descriptor 'keys' for 'dict' objects doesn't apply to a 'Authorization' object
</textarea>
The debugger caught an exception in your WSGI application. You can now
look at the traceback which led to the error.
If you enable JavaScript you can also use additional features such as code
execution (if the evalex feature is enabled), automatic pasting of the
exceptions and much more.
Brought to you by DON'T PANIC, your
friendly Werkzeug powered traceback interpreter.
<div class="pin-prompt">
<div class="inner">
<h3>Console Locked</h3>
<p>
The console is locked and needs to be unlocked by entering the PIN.
You can find the PIN printed out on the standard output of your
shell that runs the server.
<form>
<p>PIN:
<input type=text name=pin size=14>
<input type=submit name=btn value="Confirm Pin">
</form>
</div>
</div>
`
The text was updated successfully, but these errors were encountered:
The API for the eNMS rest is not working correctly with using Basic auth
The Ping endpoint works all others do not when trying basic auth
`<!doctype html>
<title>TypeError: descriptor 'keys' for 'dict' objects doesn't apply to a 'Authorization' object // Werkzeug Debugger</title> <script src="?__debugger__=yes&cmd=resource&f=debugger.js"></script> <script> var CONSOLE_MODE = false, EVALEX = true, EVALEX_TRUSTED = false, SECRET = "ZLoPLKTMXsSQj4k2O7zL"; </script>TypeError
TypeError: descriptor 'keys' for 'dict' objects doesn't apply to a 'Authorization' object
Traceback (most recent call last)
File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2552, in
__call__
def __call__(self, environ: dict, start_response: t.Callable) -> t.Any:
"""The WSGI server calls the Flask application object as the
WSGI application. This calls :meth:`wsgi_app`, which can be
wrapped to apply middleware.
"""
return self.wsgi_app(environ, start_response)
File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2552, in call
return self.wsgi_app(environ, start_response)
File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2532, in wsgi_app
response = self.handle_exception(e)
File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2529, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1825, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1823, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1799, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "/eNMS/eNMS/server.py", line 132, in decorated_function
user = env.authenticate_user(**request.authorization)
File "/usr/local/lib/python3.10/dist-packages/werkzeug/datastructures/auth.py", line 491, in wrapper
return f(*args, **kwargs)
TypeError: descriptor 'keys' for 'dict' objects doesn't apply to a 'Authorization' object
</textarea>
The debugger caught an exception in your WSGI application. You can now
look at the traceback which led to the error.
If you enable JavaScript you can also use additional features such as code
execution (if the evalex feature is enabled), automatic pasting of the
exceptions and much more.
Brought to you by DON'T PANIC, your
friendly Werkzeug powered traceback interpreter.
The text was updated successfully, but these errors were encountered: