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

[BUG] Constant login request #260

Open
Surgical71 opened this issue May 31, 2022 · 0 comments
Open

[BUG] Constant login request #260

Surgical71 opened this issue May 31, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@Surgical71
Copy link

DashMachine requests login again at random times. I am connecting to it directly and not via a proxy.

Expected behavior
Not being asked to constantly log in.

Screenshots
image

Portainer Logs

[2022-05-31 14:54:06,175] ERROR in app: Exception on /load_data_source [GET]
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.8/site-packages/flask_restful/init.py", line 272, in error_router
return original_handler(e)
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.8/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functionsrule.endpoint
File "/dashmachine/dashmachine/main/routes.py", line 64, in load_data_source
data = get_data_source(data_source)
File "/dashmachine/dashmachine/main/utils.py", line 94, in get_data_source
return platform.process()
File "/dashmachine/dashmachine/platform/ping.py", line 33, in process
command = ["ping", param, "1", self.resource]
AttributeError: 'Platform' object has no attribute 'resource'

@Surgical71 Surgical71 added the bug Something isn't working label May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant