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

Password set and not localhost will not work #5

Open
dh3wr opened this issue Oct 11, 2019 · 1 comment
Open

Password set and not localhost will not work #5

dh3wr opened this issue Oct 11, 2019 · 1 comment
Assignees
Labels

Comments

@dh3wr
Copy link
Member

dh3wr commented Oct 11, 2019

Will not work, if a password is set in unipager and src ip != localhost.
Fix in
''''
def on_open(ws):
print("### Connected ###")
ws.send(""GetVersion"")
ws.send(""GetConfig"")
ws.send(""GetStatus"")
''''
by sending password first.

@dh3wr dh3wr added the bug label Oct 11, 2019
@dh3wr dh3wr self-assigned this Oct 11, 2019
@dh3wr
Copy link
Member Author

dh3wr commented Oct 11, 2019

To solve, checkout WebSocket traffic from Webside and implement it accordingly. Also add password config parameter and catch password wrong error. Maybe even display this config error on the display itself.

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

No branches or pull requests

1 participant