none
Authentication failed because the remote party has closed the transport stream. RRS feed

  • 问题

  • 同样是WCF 传输安全,客户端和服务器端使用证书进行验证。WSHttpBinding.启动服务在进行客户端添加服务引用的时候遇到的错误。

    There was an error downloading 'https://frank-xu2009:8001/mex'.
    The underlying connection was closed: An unexpected error occurred on a send.
    Authentication failed because the remote party has closed the transport stream.
    Metadata contains a reference that cannot be resolved: 'https://frank-xu2009:8001/mex'.
    An error occurred while making the HTTP request to https://frank-xu2009:8001/mex. This could be due to the fact that the server certificate is not configured properly with HTTP.SYS in the HTTPS case. This could also be caused by a mismatch of the security binding between the client and the server.
    The underlying connection was closed: An unexpected error occurred on a send.
    Authentication failed because the remote party has closed the transport stream.
    If the service is defined in the current solution, try building the solution and adding the service reference again.

    Frank Xu Lei--谦卑若愚,好学若饥
    专注于.NET平台下分布式应用系统开发和企业应用系统集成
    Focus on Distributed Applications Development and EAI based on .NET
    欢迎访问老徐的中文技术博客:Welcome to My Chinese Technical Blog
    欢迎访问微软WCF中文技术论坛:Welcome to Microsoft Chinese WCF Forum
    欢迎访问微软WCF英文技术论坛:Welcome to Microsoft English WCF Forum
    2009年8月13日 7:57
    版主

答案