Re: WebException while calling Web Service over HTTPS...

From: Suresh G (G_at_discussions.microsoft.com)
Date: 09/03/04


Date: Fri, 3 Sep 2004 13:09:06 -0700

Mark/Luke,

I have the similar issue. I am calling a web method through HTTPS. 50% of
the times the web method call is successful other times it fails with the
exception - "The underlying connection was closed: Could not establish secure
channel for SSL/TLS".

We have a retry mechanism for this when it fails, during the retry mechanism
it succeeds after 2 to 3 retries. I am not implementing the
ICertificatePolicy interface. But would like to know why the webservice
failure/success is not consistent. Is it something to do with IIS/Internet
Explorer configurations?

BTW, I am using a C# client and C++ Web service (SOAP).

Thanks
Suresh

"Mark" wrote:

> The server is controlled by a third party, so having access or creating a log
> for every transaction is almost impossible. We have notified the third party
> of our problems, but their response is "There is nothing wrong with our
> system, because there are others using the same system without any problems."
> Unfortunately, we have to use their systems (the third party that I'm
> referring to is a department of the Government). What I have gathered so far
> is yes, their server is running IIS and the web service was built with .Net.
> Other than that, I don't know. We have asked about their environment, but
> due to security reasons, they will not give us any details about their
> systems (this is reasonable in my eyes, thinking security, but this is makes
> troubleshooting very difficult). I’m trying to make a case that it is not us
> that is having a problem, but I have to prove that.
>
> Mark
>
> "[MSFT]" wrote:
>
> > Hi Mark,
> >
> > it may be hard to finf a SLL packet sniffer. Since the error is very
> > randomly, it is mostly like a network issue or server issue. Is it possible
> > to perform some logs on server side to record every request to the server?
> > Is the server a IIS?
> >
> > Luke
> >
> >



Relevant Pages

  • Re: Please Help me- Creating Custom tokens
    ... authorized each time he accesses a web method. ... the CustomTokenManager will authenticate the user ... whenever he sees the Username Token. ... So in that case the server ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: Accessing public folder on clilent machine
    ... The process running your web services on the server should at least have ... BTW I strongly suggest to use Attachment for the web services, ... > files and copy files to and from the public folder on the client machine. ... The web method tries to verify the existence of the ...
    (microsoft.public.dotnet.framework.webservices)
  • HTTP 500 iNTERNAL SERVER ERROR
    ... I have been designing a web service that is intended to extract information ... The 1st web method GetPostCodeForSuburb is working OK, ... Internal Server Error". ... Public Function GetSuburbIDAndNameForSuburbStart(ByVal ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Single instance???
    ... or you can create a singleton remoting object on the server. ... There is a web service which has a web method call OpenPublicConnection which will open a connection to the SQL Server, and there is a web method call StartTransaction to start a tranaction for the class level connection which is opened by the OpenPublicConection Method. ...
    (microsoft.public.dotnet.framework.webservices)
  • readfile accross domains
    ... echo readfile; ... if the text file is on my server, ... Mark ...
    (alt.php)