Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > WebException -The decryption operation failed, see inner exception

Reply
Thread Tools

WebException -The decryption operation failed, see inner exception

 
 
jigs
Guest
Posts: n/a
 
      12-17-2007
I'm getting this exception when trying to call external WS that
requires client side certs. It fails sporadically and not always -
Please see the below exception. This is urgent and need some immediate
assistance if possible, thanks.


The underlying connection was closed: An unexpected error occurred on
a receive. ---> System.IO.IOException: The decryption operation
failed, see inner exception. --->
System.ComponentModel.Win32Exception: The certificate chain was issued
by an authority that is not trusted
--- End of inner exception stack trace ---
at
System.Net.Security._SslStream.ProcessReadErrorCod e(SecurityStatus
errorCode, Byte[] buffer, Int32 offset, Int32 count,
AsyncProtocolRequest asyncRequest, Byte[] extraBuffer)
at System.Net.Security._SslStream.ProcessFrameBody(In t32 readBytes,
Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest
asyncRequest)
at System.Net.Security._SslStream.StartFrameBody(Int3 2 readBytes,
Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest
asyncRequest)
at System.Net.Security._SslStream.StartFrameHeader(By te[] buffer,
Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security._SslStream.StartReading(Byte[] buffer, Int32
offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32
offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.TlsStream.Read(Byte[] buffer, Int32 offset, Int32
size)
at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32
size)
at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean
userRetrievedStream, Boolean probeRead)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetRequestStream()
 
Reply With Quote
 
 
 
 
John Saunders [MVP]
Guest
Posts: n/a
 
      12-17-2007
"jigs" <> wrote in message
news:a939008c-592e-40e5-b5f9-...
> I'm getting this exception when trying to call external WS that
> requires client side certs. It fails sporadically and not always -
> Please see the below exception. This is urgent and need some immediate
> assistance if possible, thanks.
>
>
> The underlying connection was closed: An unexpected error occurred on
> a receive. ---> System.IO.IOException: The decryption operation
> failed, see inner exception. --->
> System.ComponentModel.Win32Exception: The certificate chain was issued
> by an authority that is not trusted


Have you considered the possibility that the exception is telling you the
truth?

Do you have more than one server hosting this web service? Is it possible
that some server involved in determining trust is not always available?
--
--------------------------------------------------------------------------------
John Saunders | MVP - Windows Server System - Connected System Developer


 
Reply With Quote
 
 
 
 
jigs
Guest
Posts: n/a
 
      12-17-2007
On Dec 17, 1:57 pm, "John Saunders [MVP]" <john.saunders at
trizetto.com> wrote:
> "jigs" <jigesh1...@gmail.com> wrote in message
>
> news:a939008c-592e-40e5-b5f9-...
>
> > The underlying connection was closed: An unexpected error occurred on
> > a receive. ---> System.IO.IOException: The decryption operation
> > failed, see inner exception. --->
> > System.ComponentModel.Win32Exception: The certificate chain was issued
> > by an authority that is not trusted

>
> Have you considered the possibility that the exception is telling you the
> truth?
>
> Do you have more than one server hosting this web service? Is it possible
> that some server involved in determining trust is not always available?
> --
> ---------------------------------------------------------------------------------
> John Saunders | MVP - Windows Server System - Connected System Developer


Yes. I've checked on all servers hosting this WS. All servers have
accurate certs installed in appropriate stores.

FYI - My WS is a client-side WS and tries to initiate a call to
another WS on the vendor's end.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
System.Net.WebException: The operation has timed out Matt H. ASP .Net 1 05-11-2009 05:18 PM
System.Net.WebException: The operation has timed-out. tellierprobable@gmail.com ASP .Net Web Services 0 08-22-2006 11:30 PM
Extracting Detailed Exception information from a WebException sprash@gmail.com ASP .Net Web Services 0 10-24-2005 05:52 AM
System.WebException | The operation has timed out =?Utf-8?B?U2FjaGluIFN1cmFuYQ==?= ASP .Net 5 02-08-2005 08:03 PM
[WebException: The operation has timed-out.] Matt ASP .Net 0 01-10-2004 02:26 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57