Menu

#778 ebay now testing for JavaScript

v1.0 (example)
closed-duplicate
nobody
None
5
2019-12-09
2019-07-09
Rolf
No

binary compiled against current HEAD. First auction went through and is now waiting to snipe. Second auction and following are now stuck at a page validating JavaScript.

    esniper version 2.35.1
    libcurl/7.38.0 OpenSSL/1.0.2l zlib/1.2.8 libidn/1.29 libssh2/1.4.3 librtmp/2.3
    Error encountered in function ebayLogin in auction.c line 691
    auction = 173956972768, price = 1.00, remain = 0
    latency = 0, result = -1, error = 19
    buf = 0x920e928, size = 5028, read = 0x920e928
    time = 1562707691, offset = 0
    pagename = "Validating JavaScript Engine", pageid = "(null)", srcid = "(null)"
    specified options or config values:
      2 x username(u) = ***
      2 x password() = ***
      2 x seconds(s) = 5
      1 x quantity(q) = 2
      1 x (f) = "/home/user/esniper.esn"
      2 x reduce() = 1
      2 x bid() = 1
      2 x batch(b) = 0
      2 x logdir(l) = "/home/user/esniperlogs"
      2 x historyHost() = "offer.ebay.com"
      2 x prebidHost() = "offer.ebay.com"
    unknown pageinfo
1 Attachments

Discussion

1 2 > >> (Page 1 of 2)
  • Rolf

    Rolf - 2019-07-09
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1,23 @@
     binary compiled against current HEAD.  First auction went through and is now waiting to snipe. Second auction and following are now stuck at a page validating JavaScript.
    +
    +        esniper version 2.35.1
    +        libcurl/7.38.0 OpenSSL/1.0.2l zlib/1.2.8 libidn/1.29 libssh2/1.4.3 librtmp/2.3
    +        Error encountered in function ebayLogin in auction.c line 691
    +        auction = 173956972768, price = 1.00, remain = 0
    +        latency = 0, result = -1, error = 19
    +        buf = 0x920e928, size = 5028, read = 0x920e928
    +        time = 1562707691, offset = 0
    +        pagename = "Validating JavaScript Engine", pageid = "(null)", srcid = "(null)"
    +        specified options or config values:
    +          2 x username(u) = ***
    +          2 x password() = ***
    +          2 x seconds(s) = 5
    +          1 x quantity(q) = 2
    +          1 x (f) = "/home/user/esniper.esn"
    +          2 x reduce() = 1
    +          2 x bid() = 1
    +          2 x batch(b) = 0
    +          2 x logdir(l) = "/home/user/esniperlogs"
    +          2 x historyHost() = "offer.ebay.com"
    +          2 x prebidHost() = "offer.ebay.com"
    +        unknown pageinfo
    
     
  • Michael S.

    Michael S. - 2019-07-10

    I do not think, that we really need a java script engine. We should try to simply skip this page.
    I cannot fix it at the moment, because I'm in holiday.

     
  • Michael S.

    Michael S. - 2019-07-13
    • status: open --> open-postponed
     
  • Michael S.

    Michael S. - 2019-07-13

    Validating JavaScript Engine
    eBay requires that all visitors be running JavaScript. This page is validating your browser's JavaScript engine and functionality.

    Your web browser will automatically reload shortly and you will receive a pop-up asking you to confirm your form submission again. Confirming the form submission again will allow you to continue to visit eBay without further incident.

    If the page doesn't automatically attempt to reload, please do so manually.

    I do not get this error page. If this occurs persistently, we had to analyse the problem.

     

    Last edit: Michael S. 2019-07-13
  • Michael S.

    Michael S. - 2019-08-05

    Please try out commit [7930bb]

     

    Related

    Commit: [7930bb]

    • Juho K.

      Juho K. - 2019-09-07

      This fixed the problem for me.

       
    • Rolf

      Rolf - 2019-09-08

      It will be hard to verify this being fixed since the error was intermittent. Let's assume it is fixed, though. Thank you for the commit!

       
  • Rolf

    Rolf - 2019-09-08
    • status: open-postponed --> closed-fixed
     
  • Nils Rottgardt

    Nils Rottgardt - 2019-09-21

    HI,

    i still have this issue? I recompiled esniper from the master which does not solved it. Also version 2.35.1 is still shown in the logs, is this correct?

    Cheers,
    Nils

    High bidder: 3***6 (NOT <Username_de>)
    # of bids: 37 (37 incl. autom. bids)
    Currently: 180.00  (your maximum bid: 171)
    Time remaining: -- (0 seconds)
    Auction 333331532691: Apple iPad Air 2 32GB, Wi-Fi + Cellular (Unlocked), 24,64 cm, (9,7 Inch) -...
    then upload and attach esniper.22592.7.bug.html and click submit.
      getJson cannot find "tmxSessionId" (globalDfpContext)
        1 x batch(b) = 1
        1 x debug(d) = 0
        1 x (f) = "iPad.<Username_de>"
        1 x (c) = ".c"
        1 x quantity(q) = 1
        1 x seconds(s) = 5
        1 x password() = ***
        1 x username(u) = ***
      specified options or config values:
      pagename = "Validating JavaScript Engine", pageid = "(null)", srcid = "(null)"
      time = 1569070671, offset = 0
      buf = 0x841e9f0, size = 9740, read = 0x841e9f0
      latency = 0, result = -1, error = 0
      auction = 333331532691, price = 171, remain = 0
      Error encountered in function ebayLogin in auction.c line 571
      libcurl/7.38.0 GnuTLS/3.3.30 zlib/1.2.8 libidn/1.29 libssh2/1.4.3 librtmp/2.3
      esniper version 2.35.1
      Automated esniper bug report.
    paste this into "Detailed Description":
      http://sourceforge.net/tracker/?func=add&group_id=45285&atid=442436
    esniper encountered a bug.  Please go to:
    then upload and attach esniper.22592.6.bug.html and click submit.
      getJson cannot find "mid" (globalDfpContext)
        1 x batch(b) = 1
        1 x debug(d) = 0
        1 x (f) = "iPad.<Username_de>"
        1 x (c) = ".c"
        1 x quantity(q) = 1
        1 x seconds(s) = 5
        1 x password() = ***
        1 x username(u) = ***
      specified options or config values:
      pagename = "Validating JavaScript Engine", pageid = "(null)", srcid = "(null)"
      time = 1569070671, offset = 0
      buf = 0x841e9f0, size = 9740, read = 0x841e9f0
      latency = 0, result = -1, error = 0
      auction = 333331532691, price = 171, remain = 0
      Error encountered in function ebayLogin in auction.c line 571
      libcurl/7.38.0 GnuTLS/3.3.30 zlib/1.2.8 libidn/1.29 libssh2/1.4.3 librtmp/2.3
      esniper version 2.35.1
      Automated esniper bug report.
    paste this into "Detailed Description":
      http://sourceforge.net/tracker/?func=add&group_id=45285&atid=442436
    esniper encountered a bug.  Please go to:
    then upload and attach esniper.22592.5.bug.html and click submit.
      getVals cannot find usid (headerVals)
        1 x batch(b) = 1
        1 x debug(d) = 0
        1 x (f) = "iPad.<Username_de>"
    

    Error message:
    /var/www-local/ebay/local/data/.laser123_de/esniper.bug/esniper.22592.7.bug.html 595/595 100%
    Skip to main content

    eBay LogoeBay Logo

    You must have JavaScript enabled to use eBay. Learn how to enable JavaScript

    Validating JavaScript Engine

    eBay requires that all visitors be running JavaScript. This page is validating
    your browser's JavaScript engine and functionality.

    Your web browser will automatically reload shortly and you will receive a
    pop-up asking you to confirm your form submission again. Confirming the form
    submission again will allow you to continue to visit eBay without further
    incident.

    If the page doesn't automatically attempt to reload, please do so manually.

     
  • Michael S.

    Michael S. - 2019-09-21
    • status: closed-fixed --> open
     
  • Michael S.

    Michael S. - 2019-09-21

    It seems, that simply skipping the "Validating JavaScript Engine"-Page will not help, because the required infos are not passed to the caller:

    getJson cannot find "tmxSessionId" (globalDfpContext)
    

    Currently it's difficult to analyse, because this error doesn't occur permanently.

    I never had such error at all.

     
  • Michael S.

    Michael S. - 2019-09-22

    @Nils:
    Could yo please try the attached auction.c ? I've modified the "Validating JavaScript Engine"-Handling, but I cannot try it out, because I get no "Validating JavaScript Engine"-Error.

     
    • Nils Rottgardt

      Nils Rottgardt - 2019-09-22

      @msporleder: It seems that the problem is solved. Yesterday a could easily reproduce it and now I can place a bid again. Have some auction ending today and will watch it.

       
  • Michael S.

    Michael S. - 2019-09-22

    Do you see a message "ebayLogin(): Try to login without java script (attempt=%d)" in your log file ? If not, the new mechanism wasn't used by esniper.

     
    • Nils Rottgardt

      Nils Rottgardt - 2019-09-22

      No, did not see it. The error is also back again with same error message.

       
      • Michael S.

        Michael S. - 2019-09-23

        Please attach the log file. With the auction.c above the "Java Engine" issue is handled during the login procedure. Maybe it occurs also in other situations.

         
  • Michael S.

    Michael S. - 2019-09-23

    After I used the debug option "-d" it also occurs every time I start esniper.
    Please try the new attached auction.c. With this new file the error messages are suppressed, if a "Java Engine" page was received.
    I'm not sure, if the sniping works. I've currently have some actions ending tomorrow.

     
    • Nils Rottgardt

      Nils Rottgardt - 2019-09-24

      It works for me actually but will watch it. ... was like this sometimes before but got no error message yet.

       
  • Michael S.

    Michael S. - 2019-09-25

    I've commited my changes to auction.c to git - see [4a59da].

    From now on you get a warning message like

    Warning: Pagename "Validating JavaScript Engine" found (Response to login).

    but no Bug Report will be generated. I hope, it helps ...

     

    Related

    Commit: [4a59da]

  • Nils Rottgardt

    Nils Rottgardt - 2019-09-29

    Hi Michael,

    the special test auction.c seems to work fine. I updated now to the main repo and esniper cannot login anymore. But after 3 tries it logged successfully now.

    I did not know if this is related to our correction but I like to send you the logs. Perhaps this helps to identify it. As it is running now I will watch it and will let you know if there is an issue.

    Cheers,
    Nils

    Auction 283619998611: Login failed
    then upload and attach esniper.31434.1.bug.html and click submit.
    unknown pageinfo
    1 x batch(b) = 1
    1 x debug(d) = 0
    1 x (f) = "iPad.laser123_de"
    1 x (c) = ".c"
    1 x quantity(q) = 1
    1 x seconds(s) = 5
    1 x password() =
    1 x username(u) =

    specified options or config values:
    pagename = "Sign in or Register | eBay", pageid = "(null)", srcid = "(null)"
    time = 1569741267, offset = 0
    buf = 0x93eb470, size = 82968, read = 0x93eb470
    latency = 0, result = -1, error = 19
    auction = 283619998611, price = 111, remain = 0
    Error encountered in function ebayLogin in auction.c line 705
    libcurl/7.38.0 GnuTLS/3.3.30 zlib/1.2.8 libidn/1.29 libssh2/1.4.3 librtmp/2.3
    esniper version 2.35.1
    Automated esniper bug report.
    paste this into "Detailed Description":
    http://sourceforge.net/tracker/?func=add&group_id=45285&atid=442436
    esniper encountered a bug. Please go to:

     

    Last edit: Nils Rottgardt 2019-09-29
  • Nils Rottgardt

    Nils Rottgardt - 2019-09-29

    Also direct bidding does not work with the attached error. Seems to be another error perhaps...

     

    Last edit: Nils Rottgardt 2019-09-29
  • Michael S.

    Michael S. - 2019-09-29

    We skip over the login procedure, which is blocked by the annoying "Java Engine"-Page and the log in never really occurred. When esniper want to place a bid a captcha page blocks the bidding process.

    What we need is a strategy to login without being interrupted by a java test. At the moment I've no idea, how to solve this issue.

     
  • Michael S.

    Michael S. - 2019-09-29

    With commit [b5903d] the login-page was changed. Currently there exists at least two different versions:

    https://signin.ebay.com/ws/eBayISAPI.dll (legacy form)
    https://www.ebay.com/signin/s (current form)

    The new one seems to check for a "Java Engine" from time to time.
    Maybe we should try to use the "legacy form" (previously located at www.ebay.com/signin/s).

     

    Related

    Commit: [b5903d]

  • Michael S.

    Michael S. - 2019-09-29

    If I disable java script in my browser, I get this picture:

    https://www.magentacloud.de/lnk/9zIDIp4T

    This differs from the page "Validating JavaScript Engine". Maybe not all ebay-Server deliver the same content or it depents on other parameters, why the "Validating JavaScript Engine" page appears in some cases.

     

    Last edit: Michael S. 2019-09-29
  • Nils Rottgardt

    Nils Rottgardt - 2019-09-29

    Did you still changed it. Compiled the actual version and could place a bid again.

    JavaScript is checked at other places also like the search result page. So perhaps there is a way to simulate JavaScript execution anyhow.

     
1 2 > >> (Page 1 of 2)

Log in to post a comment.