Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / December 2007

Tip: Looking for answers? Try searching our database.

WebException -The decryption operation failed, see inner exception

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jigs - 17 Dec 2007 15:16 GMT
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.ProcessReadErrorCode(SecurityStatus
errorCode, Byte[] buffer, Int32 offset, Int32 count,
AsyncProtocolRequest asyncRequest, Byte[] extraBuffer)
  at System.Net.Security._SslStream.ProcessFrameBody(Int32 readBytes,
Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest
asyncRequest)
  at System.Net.Security._SslStream.StartFrameBody(Int32 readBytes,
Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest
asyncRequest)
  at System.Net.Security._SslStream.StartFrameHeader(Byte[] 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()
John Saunders [MVP] - 17 Dec 2007 18:57 GMT
> I'm getting this exception when trying to call external WS that
> requires client side certs. It fails sporadically and not always -
[quoted text clipped - 6 lines]
> 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?
Signature

--------------------------------------------------------------------------------
John Saunders | MVP - Windows Server System - Connected System Developer

jigs - 17 Dec 2007 19:17 GMT
On Dec 17, 1:57 pm, "John Saunders [MVP]" <john.saunders at
trizetto.com> wrote:

> > The underlying connection was closed: An unexpected error occurred on
> > a receive. ---> System.IO.IOException: The decryption operation
[quoted text clipped - 10 lines]
> ---------------------------------------------------------------------------------
> 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.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.