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

Logging in #2

Open
bsobhani opened this issue Jan 7, 2021 · 0 comments
Open

Logging in #2

bsobhani opened this issue Jan 7, 2021 · 0 comments

Comments

@bsobhani
Copy link

bsobhani commented Jan 7, 2021

My understanding is that this package was used to change some of the rack temperature moxas at 4ID but I am having trouble logging into the same moxas. This is what I tried running from box64-3:

>>> import ipchange
>>> mymoxa2 = ipchange.moxa.moxa.MoxaHTTP_2_2("10.66.26.83")
>>> mymoxa2.login("admin", "moxa")
Logging into MOXA. Username : admin FakeChallenge : 88F191831E5E71A76E94E9F8230E78AFF920B9CA5AC9CC477684F5E0B4EAD379
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/bsobhani/git/ipchange/ipchange/moxa/moxa.py", line 119, in login
    raise RuntimeError(
RuntimeError: Failed to login to Moxa.... check username and password
>>>

The username and password work when I enter them in the web interface using a browser.

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

No branches or pull requests

1 participant