Username and/or Password is Invalid (1 Viewer)

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    15,640
    10,576
    Kyiv
    Home Country
    Ukraine Ukraine
    Updated plug-in not too long ago (v1.2.0, v1.2.1), and started to get media portal at the start of a message can not login to the site.

    25.10.2011 23:11:20[MPMain][1][Info] Starting Trakt v1.2.1.1
    25.10.2011 23:11:20[MPMain][1][Info] Loading Settings
    25.10.2011 23:11:20[Library Sync][6][Info] Signing into trakt.tv
    25.10.2011 23:11:20[MPMain][1][Info] Using language ru
    25.10.2011 23:11:20[MPMain][1][Warning] Cannot find translation file C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Language\Trakt\ru.xml. Falling back to English
    25.10.2011 23:11:20[MPMain][1][Info] Loading Settings for Overlay positions
    25.10.2011 23:11:20[MPMain][1][Info] Loading main skin window: C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Skin\StreamedMP\Trakt.xml
    25.10.2011 23:11:20[Library Sync][6][Info] Username and/or Password is Invalid!
    25.10.2011 23:11:23[Check Connection][28][Info] Signing into trakt.tv
    25.10.2011 23:11:23[Check Connection][28][Info] Username and/or Password is Invalid!
    25.10.2011 23:11:25[Check Connection][31][Info] Signing into trakt.tv
    25.10.2011 23:11:25[Check Connection][31][Info] Username and/or Password is Invalid!


    If you make a login manually from media portal, then everything is fine, but upon exit and re-start, you must login again to repeat the procedure, it is not very convenient: (
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    The trakt site was probably having connection issues at the time, not much we can do about that.

    Does this happen everytime you restart? Or just occasionally. For instance, if you restart mediaportal now 3 times in a row do you see the problem 3 times?
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,640
    10,576
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #3
    Yes! This happens at every restart.
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    Please start MediaPortal in debug mode (MediaPortal Debug-Mode shortcut in start->programs->team mediaportal->mediaportal menu), select the 2nd option Report a but to a plugin developer or Skin Designer.

    Reproduce issue 3 times, and attach the result (3 zip files) to this thread. I will take a look and if a problem with the trakt website I will let admins know. If its a problem with the plugin I will take look.

    Also before starting test, re-enter your username/password in MediaPortal configuration->Plugins->Trakt.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,640
    10,576
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #5
    At the third attempt, I went to trakt.tv plugin (calendar) and logged manually from Mediaportal GUI.
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    Your login creditentials work for me, im not sure why its failing. I assume this has only recently started happening? Have you changed anything on your end recently like firewall, router, network settings?
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,640
    10,576
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #7
    This happened at a recent upgrade to version 1.2.0 trakt.tv plugin. Settings on the router, firewall, network settings have not changed.
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    ajs, you can try the attached dll. It should log the exact response we get from the server. So attach your logs after testing.

    The perfect response will be:
    Code:
    Response: {"status":"success","message":"all good!"}
     

    Attachments

    • TraktPlugin.rar
      131.7 KB

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,640
    10,576
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #9
    27.10.2011 21:17:59[MPMain][1][Info] Starting Trakt v1.2.2.1
    27.10.2011 21:17:59[MPMain][1][Info] Loading Settings
    27.10.2011 21:17:59[Library Sync][8][Info] Signing into trakt.tv
    27.10.2011 21:17:59[MPMain][1][Info] Using language ru
    27.10.2011 21:17:59[MPMain][1][Warning] Cannot find translation file C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Language\Trakt\ru.xml. Falling back to English
    27.10.2011 21:17:59[MPMain][1][Info] Loading Settings for Overlay positions
    27.10.2011 21:17:59[MPMain][1][Info] Loading main skin window: C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Skin\StreamedMP\Trakt.xml
    27.10.2011 21:17:59[Library Sync][8][Info] Response: {"error":"The remote server returned an error: (417) Expectation failed.","message":null,"status":"failure"}
    27.10.2011 21:17:59[Library Sync][8][Info] Username and/or Password is Invalid!
    27.10.2011 21:18:01[Check Connection][27][Info] Signing into trakt.tv
    27.10.2011 21:18:01[Check Connection][27][Info] Response: {"error":"The remote server returned an error: (417) Expectation failed.","message":null,"status":"failure"}
    27.10.2011 21:18:01[Check Connection][27][Info] Username and/or Password is Invalid!
    27.10.2011 21:18:04[Check Connection][30][Info] Signing into trakt.tv
    27.10.2011 21:18:04[Check Connection][30][Info] Response: {"error":"The remote server returned an error: (417) Expectation failed.","message":null,"status":"failure"}
    27.10.2011 21:18:04[Check Connection][30][Info] Username and/or Password is Invalid!
    27.10.2011 21:19:00[MPMain][1][Info] Response: {"status":"success","message":"all good!"}

    PS: 27.10.2011 21:19:00 - Manual login!!!

    ...

    (417) Expectation failed: About this error I have already informed you like it fixed. Why again?
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    (417) Expectation failed: About this error I have already informed you like it fixed. Why again?
    I have absolutely no idea. The code is still the same, and we continue to disable the Expect100 continue behaviour which fixed your original problem.

    Can you disable any hardware or software (like proxies) that sit between you and trakt.tv? Atleast can see what might be causing the problem. I dont have any other solution for you.
     

    Users who are viewing this thread

    Top Bottom