Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1063907
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T18:51:14+00:00 2026-05-16T18:51:14+00:00

I don’t have very much information to work with here, yet. Our app sends

  • 0

I don’t have very much information to work with here, yet. Our app sends an HTTP query to our server, and in all the cases we’ve used until now it has worked fine. But for one client, whose network goes through a proxy, their logs indicate that the request goes out successfully, but no reply ever returns, and our web server shows nothing in the logs about having received anything (at the time periods where the failures occurred, all that’s present in the logs is the downloading of a ZIP from inside the installer, as I mention next). This happens consistently for anyone on their network.

One strange thing is that the installer for the app sends an HTTP request for a ZIP file, and it completes just fine, but on launching the app, its first request (to a PHP file) fails. They share the same basic code that’s used for making the request, but just send different parameters. I have been trying to figure out what is really different about the two calls, and it basically boils down to:

  • One is requesting a zip file, the other is sending parameters to a php file; file type filtering?
  • The one that is failing has a handful of extra header parameters added. I’d understand if they got stripped by a proxy, but could it drop the request entirely if it had custom/unsupported headers?

Here’s a basic skeleton structure of the function calls:

    HINTERNET hInternetOpen = InternetOpen( szAppName, INTERNET_OPEN_TYPE_PRECONFIG, NULL, NULL, 0 );
    HINTERNET hInternetConnect = InternetConnect( hInternetOpen, "www.server.com", INTERNET_DEFAULT_HTTP_PORT, NULL, NULL, INTERNET_SERVICE_HTTP, NULL, 0 );
    HINTERNET hRequest = HttpOpenRequest( hInternetConnect, "GET", "path/query.php?params=etc", NULL, NULL, "*/*", INTERNET_FLAG_RELOAD, 0 );
    // Here I was including some custom headers, such that szHeaders would look something like:
    // "KEY:12345\nTZ:New_York\n"
    HttpSendRequest( hRequest, szHeaders, dwHeadersLen, NULL, 0 );
    InternetReadFile( hRequest, lpBuf, dwBufSize, &dwAmtRead );

I will be setting up a new build that will provide much more error checking to figure out what part of the request failed and what error codes are returned. It also will do away with the custom headers, and any other inconsistencies between this and the installer.

I don’t really have a lot of faith that that stuff really is the cause, so in the meantime, I am looking for conjectures about what might be going wrong, or what things I should double-check or look out for. I was originally convinced it was simply a filtering issue with their locked-down network, but from talking with their IT group, the requests it’s making are not being blocked by them. Perhaps there are some non-standard things I am doing.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T18:51:15+00:00Added an answer on May 16, 2026 at 6:51 pm

    I’d recommend using tcpdump or wireshark to monitor the actual traffic going in and out of your web server. Do you see their request coming through at all? If not, I’d ask them to try the same thing, both inside and outside of the firewall, to see what’s happening there.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I don't really have a real world problem, yet, but I'm trying to learn
I don't have much experience with RegEx so I am using many chained String.Replace()
Don't understand why #include <Header.h> is not compiling while #include Header.h is compiling with
Don't know if there is a better way to do this, so that is
Don't think this is a repost, difficult to search for the word between because
Don't you think the TCPDF solution force you to reivent the wheel, in term
Don't know why, but sometimes LocationManager is still working also after closing application. I
Don't know what to do with this error. How to add data in SQL
Don't know if this is an eclipse specific problem but whenever I declare a
I don't see this in the documentation anywhere, so it probably doesn't exist, but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.