+ Reply to Thread
Results 1 to 5 of 5

Win http request not working - IE vs Chrome

  1. #1
    Forum Expert
    Join Date
    04-01-2013
    Location
    East Auckland
    MS-Off Ver
    Excel 365
    Posts
    1,343

    Win http request not working - IE vs Chrome

    I have some old code that pulls data using GET http request

    Please Login or Register  to view this content.
    now it is failing. this seems to be because IE is no longer supported (IE cant pull the data but chrome can)

    how can I get it to work ideally without some complicated piloting of a chrome session. I also don't have selenium set up.
    If you want something done right... find a forum and ask an online expert.

    Time flies like an arrow. Fruit flies like a banana.

  2. #2
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Re: Win http request not working - IE vs Chrome


    As on my side IE is still supported so it seems you use a too old ActiveX, use a more recent one like XMLHTTP2 or better WinHttp …

  3. #3
    Forum Expert
    Join Date
    04-01-2013
    Location
    East Auckland
    MS-Off Ver
    Excel 365
    Posts
    1,343

    Re: Win http request not working - IE vs Chrome

    Thanks Marc,

    yes i will update it. although unfortunately that doesn't seem to resolve my issue.

    We have also found we can access the location outside our RDS, so the initial suggestion that it was unsupported and that stopped it functioning was probably misleading.

    it looks like I have 2 questions now

    1) if it does become fully unsupported what is he most straight forward solution should I put in place? what are others planning to do?
    I know selenium exists but I'd like a solution that just works on a computer with standard products like chrome/microsoft edge etc without extra drivers etc if possible.

    and regarding my immediate issue,

    2) I suppose the issue may be outside the scope of excel and vba, but any suggestions for investigating it?

    the url just moved (so it is on another server), It has been suggested it could be proxy issues or to do with the Transport Layer Security. We tried changing proxy settings in the code (using the below) but I just get "The operation timed out".

    Please Login or Register  to view this content.

  4. #4
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Re: Win http request not working - IE vs Chrome


    Under VBA I use only some web requesting via WinHttp and when not possible just piloting Internet Explorer.

    Some use Power Query in some cases as you can see in samples within Excel forums …

  5. #5
    Forum Expert
    Join Date
    04-01-2013
    Location
    East Auckland
    MS-Off Ver
    Excel 365
    Posts
    1,343

    Re: Win http request not working - IE vs Chrome

    ok thanks i'll look at power query.

    for anyone else's information they resolved the practical issue by something to do with the TLS

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] VBA HTTP request not updating
    By malcmail in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-14-2020, 07:23 AM
  2. HTTP request in VBA
    By leslietsz in forum Excel Programming / VBA / Macros
    Replies: 36
    Last Post: 12-10-2016, 11:10 AM
  3. Wait for winhttp request to be done (much like XML http request)
    By JasperD in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 07-23-2015, 09:26 AM
  4. SENDING HTTP REQUEST and GETTING RESPONSE
    By downtown1933 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-07-2013, 09:43 PM
  5. VBA HTTP GET request
    By WAW in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-21-2012, 05:08 PM
  6. Http Request Repsonse Query
    By Killavirus in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-25-2010, 07:38 PM
  7. Sending HTTP request with parameter.
    By gajendra.gupta in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-18-2007, 04:45 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1