Share via

User reports failure with WinInet functions

simonx 151 Reputation points
2020-12-22T21:11:32.173+00:00

I use CInternetSession, CHttpConnection, and CHttpFile classes in my Visual Studio 2019 C++ MFC application, to call php scripts on a server, using a secure sockets layer (HTTPS). This works fine for some people, but is failing for a small number of people. I don't know why. One user says he's tried my program on 2 PCs and it fails on both.

He says that he gets errors in Event Viewer ("Adminstrative events"). For example a source called "Schannel" logs an Event Id 36887, Level = Error, User = SYSTEM, OpCode = Info. The message says "The follow fatal alert was received: 70".

He gets several of these. He also gets errors where the source is "atapi".

Can anyone suggest what the problem could be or what I should do about it?

He says he's come across a site which says this:

"Event ID: 36887 Schannel is triggered by websites where the URL was upgraded to https but the locally stored link is still http. I have numerous old bookmarks to forums that have upgraded, but my bookmarks are still http. Some trigger the event 36887, but the majority don't."

Could that be right? If so, what should he do?

Is it possible that it's something do with redistributables? My installation app runs VC_redist.x86.exe (version 14.24.28127.4). But I see that there is a more recent version 14.28.29325.2. Could that be relevant?

All help very much appeciated.

Community Center | Not monitored
0 comments No comments

1 answer

Sort by: Most helpful
  1. Dylan Zhu-MSFT 6,436 Reputation points
    2020-12-23T02:46:33.813+00:00

    Hi simonx-0248,

    The WinInet is beyond our support and it is not supported in Microsoft Q&A forum. We recommend you could go to stackoverflow with wininet tag, and the community members will provide dedicated support for you.

    Best Regards, Dylan

    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our * *documentation* to enable e-mail notifications if you want to receive the related email notification for this thread.**

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.