-
Notifications
You must be signed in to change notification settings - Fork 2
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
Error when Admin user already logged in. #11
Comments
Could you try version 2.0.a1 on the dev-2.0.0 branch and see if that works, or if that throws a similar error message? The verbose level is temporarily set high though, to make things more readable comment out line 33 SuperHub3-CLI/superhubclientsapi.py Line 33 in 101a523
There will be a detection mechanism for existing logins in the next commit to the dev branch - although not too sure how this scenario will be handled in the CLI yet... |
When I log in via the Browser, and then use the CLI I get this:
|
Looks like the newer firmware is blocking more than one login being active. A potential fix for this could be to warn that an existing user is already logged in, might also add in a CLI arg to wait until the existing user logs out. Unless you had any other ideas in mind? |
The wait arg is a good idea. Maybe some extra args like this would be good too. Both of these would wait 60 seconds for a valid login.
In this next one, we want to be able to try 10 login attempts, and wait 20 seconds between each attempt.
|
I think hardcoding the timeout to 60 seconds might be better than having it as an extra arg, since the arg probably might not be used that often. When I'm free next week I'll add the A quick draft of what these would do...
|
I have been using your script for a while, and when I am logged in via the Web UI in a browser on my desktop, I get this error on the command line:
This happens as only one Admin can be logged in at a time.
The text was updated successfully, but these errors were encountered: