none
The message with To ''cannot be processed at the receiver, due to an AddressFilter mismatch at the EndpointDispatcher RRS feed

  • Question

  • Hi,

    I meet  the following error:
    The message with To ''cannot be processed at the receiver, due to an AddressFilter mismatch at the EndpointDispatcher.  Check that the sender and receiver's EndpointAddresses agree.

    Monday, July 29, 2013 3:34 AM

Answers

  • Hi,

    When occur this problem, it seems the endpoint url used at client is not matching the one at the service-side. This is a common problem when the client access the service through an intermediate node.

    When self-hosted, the EndpointAddress of the service comes from the IIS base address (host headers).  In this case, it appears to be the "our-server" address.  By default, WCF ensures that the To of each Message matches the intended address.  
    If the service just has this one endpoint, a quick workaround would be to use 
    [ServiceBehavior(AddressFilterMode=AddressFilterMode.Any)]which turns off the address filter.  Otherwise, ensure the IIS host headers contain the 'public facing base address' that you want clients to connect to, so that messages will be properly addressed to the service.

    #ServiceBehaviorAttribute.AddressFilterMode:

    http://msdn2.microsoft.com/en-us/library/system.servicemodel.servicebehaviorattribute.addressfiltermode.aspx .

    Best Regards.


    Amy Peng
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.


    Tuesday, July 30, 2013 1:36 AM
    Moderator