Using fiddler fixes my initial http request.

2 posts, 0 answers
  1. Igno
    Igno avatar
    1 posts
    Member since:
    Jul 2018

    Posted 13 Jul Link to this post

    Hi!

     

    I'm coding an API for Playfab using Game Maker Studio.

    Everything worked just fine until one day when the first http request of the API started to take ~30 seconds. I started debugging the API and downloaded Fiddler 4. When I check the "Decrypt HTTPS traffic" option in Tools > Options > HTTPS everything starts to work just fine and the first HTTP request takes 0.7 sec intead of 30. After the first HTTP request everything works correctly whether I am using Fiddler or not. 

    Weirdly, every else HTTP (and HTTPS) request works fine when using different backends (calling them using exactly the same code as my API).

    Also the Playfab API I'm writing works just fine on my other PCs (but I don't know how rare problem this would be if I would publish my API). Also the http request has no problems when using Postman.

     

    I read the "Help! Running Fiddler Fixes My App???" article you wrote. I have the "Connection: Keep-Alive"  in my headers, I'm using HTTP/1.1, I'm not using any proxy expect the one Fiddler provides.

    This is the code I've isolated the problem to. I'm using GML (which GameMaker Scripting language, but should be pretty easy to understand).

    https://gyazo.com/6051bf168a6ffafd0d947a16c3c0f362

    The engine is not open source so I can't see what is happening behing the http_request(), but as I said this code works fine on other computers and every other http_request with different domain works just fine, so that shouldn't be a problem. But otherwise I'm pretty helpless with this :/

    Thanks!

  2. Alexander
    Admin
    Alexander avatar
    336 posts

    Posted 23 Jul Link to this post

    Hi,

    Did you do any additional proxy configuration in order Fiddler to start capturing the traffic or it worked automatically? I'm trying to determine if your app is using the WinINET proxy settings (the one from your screenshot) or it has its own proxy settings.

    Regards,
    Alexander
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top