Discussion:
HttpSendRequest error 12157
(too old to reply)
Aaron Lawrence
2006-12-29 12:03:13 UTC
Permalink
Hello,

Can someone at Microsoft tell us what is the CAUSE of error 12157 from
HttpSendRequest? I have searched quite a bit but nobody in public seems
to know.

I am getting it on Windows 2000 when Miranda IM tries to login to
Passport.

Thanks
--
aaronl at consultant dot com
For every expert, there is an equal and
opposite expert. - Arthur C. Clarke
Paul Baker [MVP, Windows - Networking]
2006-12-29 14:03:59 UTC
Permalink
Aaron,

If you search MSDN for WinInet Error Codes, you will find this page:
http://msdn2.microsoft.com/en-us/library/aa385465.aspx

This is ERROR_INTERNET_SECURITY_CHANNEL_ERROR "The application experienced
an internal error loading the SSL libraries". That doesn't sounds good :)

You can use search for *this* in Google Groups or the Internet in general. I
am sure you will find something of use.

Paul
Post by Aaron Lawrence
Hello,
Can someone at Microsoft tell us what is the CAUSE of error 12157 from
HttpSendRequest? I have searched quite a bit but nobody in public seems
to know.
I am getting it on Windows 2000 when Miranda IM tries to login to
Passport.
Thanks
--
aaronl at consultant dot com
For every expert, there is an equal and
opposite expert. - Arthur C. Clarke
Aaron Lawrence
2006-12-30 05:05:15 UTC
Permalink
On a pleasant day while strolling in
microsoft.public.inetsdk.programming.wininet, a person by the name of
Post by Paul Baker [MVP, Windows - Networking]
Aaron,
http://msdn2.microsoft.com/en-us/library/aa385465.aspx
This is ERROR_INTERNET_SECURITY_CHANNEL_ERROR "The application experienced
an internal error loading the SSL libraries". That doesn't sounds good :)
You can use search for *this* in Google Groups or the Internet in general. I
am sure you will find something of use.
You would think so, but no.

Anyway, eventually I figured out the cause: I had disabled SSL2.0 and
SSL3.0 in internet options - advanced tab - security group (for
troubleshooting other problems).

To Microsoft's credit, their MSN troubleshooter identified this.
--
aaronl at consultant dot com
For every expert, there is an equal and
opposite expert. - Arthur C. Clarke
Paul Baker [MVP, Windows - Networking]
2006-12-31 02:49:37 UTC
Permalink
Aaron,

Glad you figured it out.

I forgot to suggest that you try the same URL in Internet Explorer. Would
that have reproduced it? Then you could eliminate your code as a possible
cause.

Paul
Post by Aaron Lawrence
On a pleasant day while strolling in
microsoft.public.inetsdk.programming.wininet, a person by the name of
Post by Paul Baker [MVP, Windows - Networking]
Aaron,
http://msdn2.microsoft.com/en-us/library/aa385465.aspx
This is ERROR_INTERNET_SECURITY_CHANNEL_ERROR "The application experienced
an internal error loading the SSL libraries". That doesn't sounds good :)
You can use search for *this* in Google Groups or the Internet in general. I
am sure you will find something of use.
You would think so, but no.
Anyway, eventually I figured out the cause: I had disabled SSL2.0 and
SSL3.0 in internet options - advanced tab - security group (for
troubleshooting other problems).
To Microsoft's credit, their MSN troubleshooter identified this.
--
aaronl at consultant dot com
For every expert, there is an equal and
opposite expert. - Arthur C. Clarke
Ken Eio
2007-02-22 07:03:03 UTC
Permalink
Hi,

Any solution from microsoft to resolve this message
"ERROR_INTERNET_SECURITY_CHANNEL_ERROR"? I have enabled SSL 2.0 and SSL 3.0
but it still fails.

Thanks
Post by Paul Baker [MVP, Windows - Networking]
Aaron,
Glad you figured it out.
I forgot to suggest that you try the same URL in Internet Explorer. Would
that have reproduced it? Then you could eliminate your code as a possible
cause.
Paul
Post by Aaron Lawrence
On a pleasant day while strolling in
microsoft.public.inetsdk.programming.wininet, a person by the name of
Post by Paul Baker [MVP, Windows - Networking]
Aaron,
http://msdn2.microsoft.com/en-us/library/aa385465.aspx
This is ERROR_INTERNET_SECURITY_CHANNEL_ERROR "The application experienced
an internal error loading the SSL libraries". That doesn't sounds good :)
You can use search for *this* in Google Groups or the Internet in general. I
am sure you will find something of use.
You would think so, but no.
Anyway, eventually I figured out the cause: I had disabled SSL2.0 and
SSL3.0 in internet options - advanced tab - security group (for
troubleshooting other problems).
To Microsoft's credit, their MSN troubleshooter identified this.
--
aaronl at consultant dot com
For every expert, there is an equal and
opposite expert. - Arthur C. Clarke
Paul Baker [MVP, Windows - Networking]
2007-02-22 15:11:17 UTC
Permalink
I am not sure I can help, all I was really doing is defining the error code
for Aaron.

I would advise, however, that you try the same URL in Internet Explorer and
see what happens.

You might also notice something in the HTTP request or response that
provides a clue using the Fiddler tool:
http://fiddlertool.com/fiddler/

Paul
Post by Ken Eio
Hi,
Any solution from microsoft to resolve this message
"ERROR_INTERNET_SECURITY_CHANNEL_ERROR"? I have enabled SSL 2.0 and SSL 3.0
but it still fails.
Thanks
Post by Paul Baker [MVP, Windows - Networking]
Aaron,
Glad you figured it out.
I forgot to suggest that you try the same URL in Internet Explorer. Would
that have reproduced it? Then you could eliminate your code as a possible
cause.
Paul
Post by Aaron Lawrence
On a pleasant day while strolling in
microsoft.public.inetsdk.programming.wininet, a person by the name of
Post by Paul Baker [MVP, Windows - Networking]
Aaron,
http://msdn2.microsoft.com/en-us/library/aa385465.aspx
This is ERROR_INTERNET_SECURITY_CHANNEL_ERROR "The application experienced
an internal error loading the SSL libraries". That doesn't sounds good :)
You can use search for *this* in Google Groups or the Internet in general. I
am sure you will find something of use.
You would think so, but no.
Anyway, eventually I figured out the cause: I had disabled SSL2.0 and
SSL3.0 in internet options - advanced tab - security group (for
troubleshooting other problems).
To Microsoft's credit, their MSN troubleshooter identified this.
--
aaronl at consultant dot com
For every expert, there is an equal and
opposite expert. - Arthur C. Clarke
Loading...