Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Dash Auth throwing error

$
0
0

Hello,
I have implemented basic dash_auth. After couple of days of running my application is throwing the below mentioned error. Let me know how to solve it.

File "/var/app/venv/staging-LQM1lest/lib/python3.8/site-packages/flask/app.py", line 2070, in wsgi_app
web: response = self.full_dispatch_request()
web: File "/var/app/venv/staging-LQM1lest/lib/python3.8/site-packages/flask/app.py", line 1515, in full_dispatch_request
web: rv = self.handle_user_exception(e)
web: File "/var/app/venv/staging-LQM1lest/lib/python3.8/site-packages/flask/app.py", line 1513, in full_dispatch_request
web: rv = self.dispatch_request()
web: File "/var/app/venv/staging-LQM1lest/lib/python3.8/site-packages/flask/app.py", line 1499, in dispatch_request
web: return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
web: File "/var/app/venv/staging-LQM1lest/lib/python3.8/site-packages/dash_auth/basic_auth.py", line 30, in wrap
web: if not self.is_authorized():
web: File "/var/app/venv/staging-LQM1lest/lib/python3.8/site-packages/dash_auth/basic_auth.py", line 17, in is_authorized
web: username_password = base64.b64decode(header.split('Basic ')[1])
web: IndexError: list index out of range

versions:

dash==1.20.0
dash-auth==1.3.2

Any help would be appreciated. Thanks

5 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 6271

Latest Images

Trending Articles



Latest Images