Menu

#74 MHGUI version 20, Login failed. Not found

open
nobody
None
5
2020-12-17
2020-12-09
No

I have an account on myharmony.com
I can login to the website with my email address and a password I had set.
however when trying to use my email address as the Username in mhgui and the password that I use to login to the website
I get the error dialog with the titlebar "Login Failed" with the message "Login Failed. Not Found"
If I run in debug

mhgui -d
DEBUG:suds.transport.http:opening (https://congruity.sourceforge.io/congruity/harmony.wsdl)
DEBUG:suds.transport.http:opening (https://congruity.sourceforge.io/congruity/data.xsd)
DEBUG:suds.transport.http:opening (https://congruity.sourceforge.io/congruity/discovery.xsd)
DEBUG:suds.transport.http:opening (https://congruity.sourceforge.io/congruity/search_match.xsd)
DEBUG:suds.transport.http:opening (https://congruity.sourceforge.io/congruity/operation.xsd)
DEBUG:suds.transport.http:opening (https://congruity.sourceforge.io/congruity/dm_operation.xsd)
DEBUG:suds.transport.http:opening (https://congruity.sourceforge.io/congruity/account.xsd)
DEBUG:suds.transport.http:opening (https://congruity.sourceforge.io/congruity/button_mapping.xsd)
DEBUG:suds.transport.http:opening (https://congruity.sourceforge.io/congruity/ir_data.xsd)
DEBUG:suds.transport.http:opening (https://congruity.sourceforge.io/congruity/arrays.xsd)
DEBUG:suds.transport.http:opening (https://congruity.sourceforge.io/congruity/am_data.xsd)
DEBUG:suds.transport.http:opening (https://congruity.sourceforge.io/congruity/activity.xsd)
DEBUG:suds.transport.http:opening (https://congruity.sourceforge.io/congruity/user_feature.xsd)
DEBUG:suds.transport.http:opening (https://congruity.sourceforge.io/congruity/product.xsd)
DEBUG:suds.transport.http:opening (https://congruity.sourceforge.io/congruity/dm_data.xsd)
DEBUG:suds.transport.http:opening (https://congruity.sourceforge.io/congruity/user_button_mapping.xsd)
DEBUG:suds.transport.http:opening (https://congruity.sourceforge.io/congruity/serialization.xsd)

The gui is started and I attempt to login

No extra output.

Discussion

  • jeff.sadowski

    jeff.sadowski - 2020-12-09

    Interesting behaviors. I thought maybe it wants my sourceforge login? So I tried my sourceforge credentials (Same email address as I use for myharmony with a different password) and I get the following error message "You appear to have used a members.harmonyremote.com account. Please create a myharmony.com account or login with an existing one."
    I though well maybe if I type in a bogus password I will get a message like one of the other cases either a "Login Failed. Not Found" or that message again but it results in an expected third message "Login failed. Username or password incorrect." So now I am all confused.

     
  • jeff.sadowski

    jeff.sadowski - 2020-12-09

    I decided to try the create account and the following is displayed on the command prompt

    Exception in thread Thread-6:
    Traceback (most recent call last):
    File "/usr/lib64/python3.9/threading.py", line 950, in _bootstrap_inner
    self.run()
    File "/usr/lib64/python3.9/threading.py", line 888, in run
    self._target(self._args, self._kwargs)
    File "/usr/local/lib/python3.9/site-packages/congruity/mhgui.py", line 144, in ThreadFunction
    result = self.backgroundFunction(
    self.backgroundFunctionArgs)
    File "/usr/local/lib/python3.9/site-packages/congruity/mhgui.py", line 1120, in LoadData
    self.countryLists = mhMgr.GetCountryLists()
    File "/usr/local/lib/python3.9/site-packages/congruity/mhmanager.py", line 580, in GetCountryLists
    parser.feed(parser.unescape(data))
    AttributeError: 'CountryListHTMLParser' object has no attribute 'unescape'

     
  • Scott Talbert

    Scott Talbert - 2020-12-12

    Okay, so I'm not sure why you're having trouble logging in. I'm able to log in fine. Are you sure you have a myharmony.com account?

    I was able to reproduce the issue with creating a new account - it turns out that is an issue with Python 3.9+. I fixed it in git. If you want, you can pull the latest code from git or patch your local copy with the change I made. Then you should be able to try creating a new account.

     
  • Scott Talbert

    Scott Talbert - 2020-12-12

    If you're definitely sure that you have a valid myharmony.com username and password (and can log in using the official software), then there may be some case that I'm not handling. Let me know.

     
  • jeff.sadowski

    jeff.sadowski - 2020-12-12

    I was able to create an account with my second email and started setting it up. Then when I closed it I could not login again. I went to the logitech site to change my password and I get the "Login Failed. Not Found" message again.

     
  • jeff.sadowski

    jeff.sadowski - 2020-12-12

    Hold on my second account is working again. Odd how do I change my password (without knowing it send to email or something) for the login? Maybe I could change my password for my primary email?

     

    Last edit: jeff.sadowski 2020-12-12
  • jeff.sadowski

    jeff.sadowski - 2020-12-12

    Hmm seem not to be able to edit buttons in mhgui. For the Xbox One they defaultly set exit key to something other than back which is irritating.

     
  • jeff.sadowski

    jeff.sadowski - 2020-12-12

    Seems if you change your password using their site you can never login this way again. :-(

     
  • jeff.sadowski

    jeff.sadowski - 2020-12-12

    How I messed up my login:
    I went to https://www.myharmony.com/en-us/
    then I selected "products"
    Took me to https://www.logitech.com/en-us/my-account.html
    selected "my account"
    Login
    I used google autheticator and I think that screwed up my account.

     
  • jeff.sadowski

    jeff.sadowski - 2020-12-12

    It did allow me to reset my password through an email link but I am still getting the same error message.

     
  • Scott Talbert

    Scott Talbert - 2020-12-12

    Okay, I will try to reproduce the problem by using the official software. Also, I noticed that the official software seems to be using a different method for logging in now. I will try to convert mhgui over to use that. Probably won't be able to look into this until Sunday or Monday though.

     
  • jeff.sadowski

    jeff.sadowski - 2020-12-15

    I can take wireshark recordings of the communications if that would be helpful?

     
  • Scott Talbert

    Scott Talbert - 2020-12-15

    Wireshark won't help as the communications will be encrypted. Unless there is a way to inject your own root certificate and MITM yourself with Wireshark? But I have a way to do it using Fiddler. I was able to capture the new communications. I just need to find some time to work on it more. Maybe tonight.

     
  • jeff.sadowski

    jeff.sadowski - 2020-12-15

    Oooh, nice, I may be able to do a MITM I'll experiment. Nice to know you have some other ways.

     
  • jeff.sadowski

    jeff.sadowski - 2020-12-15

    If it uses the system root certificate setup like "it should" I can add my own certificate server and setup a replicated inside site to sniff what is going on.

     
  • Scott Talbert

    Scott Talbert - 2020-12-16

    Okay, I've updated mhgui's login process to match the latest official software. Please pull the latest from git and give it a try.

    If it still doesn't work, I have some additional ideas/questions.

    1. When using the official software, you're using "Login with Email" and not "Login with Google" or "Login with Facebook" right? In other words, you're using a Logitech account, not a Google or Facebook account.
    2. If you're still getting that "Not Found" error, let me know.
     
    • jeff.sadowski

      jeff.sadowski - 2020-12-16

      With the Official I could login any of those ways Login with email and a password or use google authentication or use facebook authentication all 3 seem to bring up the same account.

      You took care of the "Not Found" error. Curious if you could have setup mhgui to launch a page login via xdg-open

       
  • jeff.sadowski

    jeff.sadowski - 2020-12-16

    You are awesome and fast. Yes I can login now with my primary account. I configured the buttons on the device. A bit different because in the logitech interface I could configure buttons per the activity. I will try it out when I get home and can plug into the remote. I like it better programming buttons for the device if it works because I have two activities for my xbox one with the tv volume the other with my receiver volume and in Logitech's interface I had to program them separately in the activities or maybe I could have programmed it on the device I don't know I will try some things when I get home.

     

    Last edit: jeff.sadowski 2020-12-16
  • jeff.sadowski

    jeff.sadowski - 2020-12-17

    Looks like you missed a update similar to the first one. When I click on edit favorites on any of the devices I get the following command line errors.

    Web service reported a SOAP processing fault using an unexpected HTTP status code 200. Reporting as an internal server error.
    Exception in thread Thread-4:
    Traceback (most recent call last):
      File "/usr/lib64/python3.9/threading.py", line 950, in _bootstrap_inner
        self.run()
      File "/usr/lib64/python3.9/threading.py", line 888, in run
        self._target(*self._args, **self._kwargs)
      File "/usr/local/lib/python3.9/site-packages/congruity/mhgui.py", line 144, in ThreadFunction
        result = self.backgroundFunction(*self.backgroundFunctionArgs)
      File "/usr/local/lib/python3.9/site-packages/congruity/mhgui.py", line 1635, in LoadData
        self.remoteButtons = mhMgr.GetProductButtonList(self.skinId)
      File "/usr/local/lib/python3.9/site-packages/congruity/mhmanager.py", line 235, in GetProductButtonList
        return self.client.service['ProductsManager'].GetProductButtonList(skinId).Buttons.ButtonDefinition
      File "/usr/lib/python3.9/site-packages/suds/client.py", line 566, in __call__
        return client.invoke(args, kwargs)
      File "/usr/lib/python3.9/site-packages/suds/client.py", line 708, in invoke
        result = self.send(soapenv, timeout=timeout)
      File "/usr/lib/python3.9/site-packages/suds/client.py", line 756, in send
        return self.process_reply(reply.message, None, None)
      File "/usr/lib/python3.9/site-packages/suds/client.py", line 817, in process_reply
        raise WebFault(fault, replyroot)
    suds.WebFault: Server raised fault: '1000'
    
     

    Last edit: jeff.sadowski 2020-12-17
  • jeff.sadowski

    jeff.sadowski - 2020-12-17

    Wrote device and it works perfect. I can even press device and xbox and the exit button works as I desire as a back button. (was the change I made)

     
  • jeff.sadowski

    jeff.sadowski - 2020-12-17

    Also should the version number be incremented?

     
  • Scott Talbert

    Scott Talbert - 2020-12-17
    1. On logging in with Google and Facebook, yes I could probably implement that (possibly using a webview) but it may take some work.
    2. On the Edit Favorite Channels issue, yes, that's unfortunately known work that needs to be done for certain remotes: https://sourceforge.net/p/congruity/issues/37/
    3. On version numbers, yes, I should probably do a new release with the login changes.
     

Log in to post a comment.