#645 Login failling

v1.0 (example)
open
nobody
login fail (1)
5
2015-02-15
2014-02-08
Steve
No

Reports "login failled"
My password has not changed since previous successful auctions. Manual browser login OK, no terms and agreement messages to accept.

Automated esniper bug report.
esniper version 2.28.0
libcurl/7.19.7 NSS/3.14.0.0 zlib/1.2.3 libidn/1.18 libssh2/1.4.2
Error encountered in function ebayLogin in auction.c line 440
auction = 111274113215, price = 5.2, remain = 0
latency = 0, result = -1, error = 19
buf = 0x98ac500, size = 34108, read = 0x98ac500
time = 1391876602, offset = 0
pagename = "Watch list", pageid = "(null)", srcid = "(null)"
specified options or config values:
  2 x username(u) = ***
  2 x password() = ***
  2 x seconds(s) = 10
  3 x quantity(q) = 1
  1 x (f) = "ebay.txt"
  2 x bid() = 1
  2 x debug(d) = 0
  2 x batch(b) = 0
  2 x logdir(l) = "~/logs/esniper"
unknown pageinfo
1 Attachments

Discussion

  • Steve

    Steve - 2014-02-08

    Well it seems ebay has become more sensitive about the host, I was using the default settings: loginHost = signin.ebay.com.

    By simply adding this line to my .esniper config settings:
    loginHost = signin.ebay.co.uk
    login is now working again. I have had many successful snipes before without having to add this setting.

    I am wondering if I should also change:
    historyHost = offer.ebay.com
    prebidHost = offer.ebay.com
    bidHost = offer.ebay.com
    to .co.uk's?
    left it for now.

     
  • Bodo

    Bodo - 2014-02-10

    I guess ebay has started changing something on the ebay.com pages and the ebay.co.uk pages still use the old version.
    After login esniper expects to find a page with a page name starting with "myebay" or "my ebay" (case insensitive). According to the attached page you can select your ebay homepage now, so the login procedure may return one of several possible pages. Unfortunately the HTML page title does not contain "My eBay:" as the visible title on the page does.
    I can add "Watch list" as a valid login success page, but we have to find out all possible page titles.

     
    • Fog_Watch

      Fog_Watch - 2014-02-17

      I confirm the bug and workaround.

      I added "loginHost = signin.ebay.com.au" ('cause I'm Strayan) to ~/.esniper and login worked without a hitch.

       
  • holly

    holly - 2014-02-20

    I also confim the bug. The workaround with "loginHost" doesn't work for me.

    I added the folowing line (427) in auction.c:

    !strncasecmp(pp->pageName, "My eBay", 7) ||
    !strncasecmp(pp->pageName, "Watch list", 10) )

    This seems to work for me...

     
  • Camden Lindsay

    Camden Lindsay - 2014-02-20

    I am also hitting this bug i believe (due to error line number)

    Auction 331131912249: Cannot connect to URL https://signin.ebay.com/ws/eBayISAPI.dll?SignIn: SSL connect error: gnutls_handshake() failed: Illegal parameter
    Retrying...
    Auction 331131912249: Cannot connect to URL https://signin.ebay.com/ws/eBayISAPI.dll?SignIn: Failure when receiving data from the peer: GnuTLS recv error (-9): A TLS packet with unexpected length was received.
    Retrying...
    esniper encountered a bug. Please go to:
    http://sourceforge.net/tracker/?func=add&group_id=45285&atid=442436
    paste this into "Detailed Description":
    Automated esniper bug report.
    esniper version 2.28.0
    libcurl/7.35.0 GnuTLS/2.12.23 zlib/1.2.8
    Error encountered in function ebayLogin in auction.c line 441
    auction = 331131912249, price = 75, remain = 0
    latency = 0, result = -1, error = 19
    buf = 0x1194ff0, size = 28351, read = 0x1194ff0
    time = 1392907250, offset = 0
    pagename = "Watch list", pageid = "(null)", srcid = "(null)"
    specified options or config values:
    1 x username(u) =
    1 x password() =

    1 x seconds(s) = 8
    1 x quantity(q) = 1
    1 x (f) = "onkyo_receiver_auction.txt"
    1 x reduce() = 1
    1 x bid() = 1
    1 x debug(d) = 1
    1 x batch(b) = 0
    1 x logdir(l) = "/home/dylan/esniper/logs"
    unknown pageinfo
    then upload and attach esniper.7693.1.bug.html and click submit.
    Auction 331131912249: Login failed

    Adding '!strncasecmp(pp->pageName, "Watch list", 10) )' did not help.

    Standard error receives this kind of message:
    dylan@BigBox ~/esniper $ esniper onkyo_receiver_auction.txt
    Auction 331131912249: Cannot connect to URL https://signin.ebay.com/ws/eBayISAPI.dll?SignIn: SSL connect error: gnutls_handshake() failed: Illegal parameter
    Retrying...
    Auction 331131912249: Cannot connect to URL https://signin.ebay.com/ws/eBayISAPI.dll?SignIn: Failure when receiving data from the peer: GnuTLS recv error (-9): A TLS packet with unexpected length was received.
    Retrying...
    Auction 331131912249: Cannot connect to URL https://signin.ebay.com/ws/eBayISAPI.dll?SignIn: Failure when receiving data from the peer: GnuTLS recv error (-9): A TLS packet with unexpected length was received.

    Auction 331131912249: Cannot connect to URL https://signin.ebay.com/ws/eBayISAPI.dll?SignIn: Failure when receiving data from the peer: GnuTLS recv error (-9): A TLS packet with unexpected length was received.

     
  • Bodo

    Bodo - 2014-02-20

    You get the same error from the login procedure, but I don't think these GnuTLS errors are related to this. Maybe you have two different problems.

     
  • Camden Lindsay

    Camden Lindsay - 2014-02-20

    @Bodo -- any suggestions for further troubleshooting? The log files don't appear to have any additional information

     
    • holly

      holly - 2014-02-20

      Yes, you had two different problems.
      One may be solved, another may be the SSL-Encryption.

      Try simply to use curl to request a SSL-encrypted site.
      See if this works...

       
      • Christian Burger

        I can confirm that it's a problem with GnuTLS and ebay's servers and thus a different bug. Using Gentoo, I switched back to OpenSSL, made a horrible hack concerning certificate verification and it works again. @Camden you could open up a bug report at GnuTLS, maybe at CURL because the failure happens somewhere there:

        christian@laptop02 ~ $ curl --url  https://signin.ebay.com/ws/eBayISAPI.dll?SignIn >/dev/null
          % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                         Dload  Upload   Total   Spent    Left  Speed
          0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
        curl: (35) gnutls_handshake() failed: Illegal parameter
        
         
  • lost

    lost - 2014-02-28

    Got the same issue, but the error was:

    pagename = "User Agreement", pageid = "(null)", srcid = "(null)"

    Per holly's excellent workaround, I edited auction.c to add:

    !strncasecmp(pp->pageName, "User Agreement", 10))

    and that did it.

     
    Last edit: lost 2014-02-28
    • Fog_Watch

      Fog_Watch - 2014-03-18

      and that did it
      Ummmm, lost, may I have more of a description please as to how auction.c was edited?

      Cheers.

       
      Last edit: Fog_Watch 2014-03-18
  • Camden Lindsay

    Camden Lindsay - 2014-06-25

    Christian Burger - I would be happy to if I knew how to provide useful information to a bug; unfortunately i do not :(.

    I'm still getting the failure as of now with a fresh build.

     
    • Bodo

      Bodo - 2014-06-26

      @Camden Lindsay: Which failure exactly do you get?
      Please add the error message or the bug report text here. In case of a bug report, please upload the file as instructed by esniper. If you get a "User Agreement" page you probably have to log in manually and do whatever eBay wants you to do.

       
  • Camden Lindsay

    Camden Lindsay - 2014-06-26

    This is what i see at stderr. The output in the log file looks the same.

    dylan@BigBox ~/esniper $ esniper -i blaupun.https://signin.ebay.com/ws/eBayISAPI.dll?SignIn: SSL connect error: gnutls_handshake() failed: Illegal parameter
    Retrying...
    Auction 181333050728: Cannot connect to URL https://signin.ebay.com/ws/eBayISAPI.dll?SignIn: SSL connect error: gnutls_handshake() failed: Illegal parameter
    Retrying...
    Auction 181333050728: Cannot connect to URL https://signin.ebay.com/ws/eBayISAPI.dll?SignIn: SSL connect error: gnutls_handshake() failed: Illegal parameter

    Auction 181333050728: Cannot connect to URL https://signin.ebay.com/ws/eBayISAPI.dll?SignIn: SSL connect error: gnutls_handshake() failed: Illegal parameter

     
  • Bodo

    Bodo - 2014-06-26

    Thanks for reporting this problem, although it would have been better to write a new bug report instead of adding it to an unrelated bug. I will do this for you. (see https://sourceforge.net/p/esniper/bugs/670/)

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks