Menu

#751 Errors out on every auction attempt

v1.0 (example)
closed-invalid
nobody
None
3
2019-03-10
2018-04-19
No

Automated esniper bug report.
esniper version 2.33.0
libcurl/7.54.0 LibreSSL/2.0.20 zlib/1.2.11 nghttp2/1.24.0
Error encountered in function parseBidHistory in history.c line 181
auction = 173277953753, price = 800.00, remain = 0
latency = 0, result = -1, error = 0
buf = 0x7fddbe80aa00, size = 38844, read = 0x7fddbe80aa00
time = 1524144031, offset = 0
pagename = "eBay Item Bid History", pageid = "(null)", srcid = "(null)"
specified options or config values:
1 x username(u) =
1 x (P) =

no item number

1 Attachments

Discussion

  • tinkerosf

    tinkerosf - 2018-04-24

    Looks like eBay made some changes to their site.

    To fix ensiper's first error while getting the item bid history, change line 232 of auction.c is to:

    static const char HISTORY_URL[] = "http://%s/bfl/viewbids/%s";

    That allows esniper to get further along. It then fails at the login page which must have changed in some subtle way.

    Somebody with a better HTTPS tracing setup and familiarity with how the eBay HTTPS POST login worked before needs to take a look at auction.c. The login URL constants at line 406 and ebayLogin() function at line 515 must now be deficient in some way.

    auction.c(406-408):
    static const char LOGIN_1_URL[] = "https://%s/ws/eBayISAPI.dll?SignIn";
    static const char LOGIN_2_URL[] = "https://%s/ws/eBayISAPI.dll?co_partnerId=2&siteid=0&UsingSSL=1";
    static const char LOGIN_DATA[] = "refId=&regUrl=%s&MfcISAPICommand=SignInWelcome&bhid=DEF_CI&UsingSSL=1&inputversion=2&lse=false&lsv=&mid=%s&kgver=1&kgupg=1&kgstate=&omid=&hmid=&rhr=f&srt=%s&siteid=0&co_partnerId=2&ru=&pp=&pa1=&pa2=&pa3=&i1=-1&pageType=-1&rtmData=&usid=%s&afbpmName=sess1&kgct=&userid_otp=&sgnBt=Continue&otp=&keepMeSignInOption3=1&userid=%s&%s=%s&runId2=%s&%s=%s&pass=%s&keepMeSignInOption2=1&keepMeSignInOption=1";

     
  • tinkerosf

    tinkerosf - 2018-04-25

    Update. I found that building the current (2018 Apr 24) zip file snapshot, from the git tab, works fine on ebay.com but not ebay.ca. Give that a try and see if it fixes the problem you observed.

     
  • Michael S.

    Michael S. - 2019-03-10
    • status: open --> closed-invalid
     

Log in to post a comment.