Skip to content

RST/SCT/Renew message not send(function) when WCF Client [.NET 8.0] communicate to WCF Server [.Net Framework 4.8] #5883

@josefsnirych

Description

@josefsnirych

Describe the bug
We are using WCF Server [.NET Framework 4.8] and WCF Client [.NET 8.0], and when there is a need to send a message http://schemas.xmlsoap.org/ws/2005/02/trust/RST/SCT/Renew, the message is not sent, and an exception occurs.
We are using Duplex channel with netTcpBinding.Security.Mode = SecurityMode.TransportWithMessageCredential and certificate.

To Reproduce
Steps to reproduce the behavior:

  1. I created a sample project to reproduce the issue. I used LINQPad (https://www.linqpad.net/Download.aspx) to create a server and a client; however, these LINQPad scripts can be easily modified to console applications. Just remove the extension '.txt', it didn't allowed me upload files with '.linq' extension
    Server LINQPad 5 - wcf_server_renew_problem.linq.txt
    Client LINQPad 9 - wcf_client_net8_renew_problem.linq.txt
    Run the server and the client, then wait for a maximum of 3 minutes. The error should appear.

  2. Full call stacks.

Expected behavior
I expect that the Renew message should be functional between the WCF Client [.NET 8.0] and the WCF Server [.NET Framework 4.8] by default, or there should be some switch or another way to send the Renew message in a way that the WCF Server [.NET Framework 4.8] understands.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions