Why WinHttpSendRequest return 12030 error code on Windows 7 x64 OS

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi All:<br/>   Currently, I have met a strange issue about WinHttp function on one users environment.<br/>   The Users os is Windows7 7600 64bit. <br/>   The program will send get request to one https server.<br/>   <br/>   if(!::WinHttpSendRequest(m_hRequest, WINHTTP_NO_ADDITIONAL_HEADERS, 0, WINHTTP_NO_REQUEST_DATA, 0, 0, 0)) {<br/>  DWORD dwError = ::GetLastError();             //here will get the error code is 12030<br/>   return false;<br/> }<br/><br/>  When user open this https url in IE, it can be opened in IE and return the data. however, When program send the https request, it will not receive the response packet from the server. one more information, the program will work fine on another xp OS which is in the same NAT network with Windows7 OS, Could you please give me some suggestion about this case? Thanks in advance!<hr class="sig Rejoice, I Desire!

View the full article
 
Back
Top