Could not find a base address that matches scheme http for the endpoint with binding WSDualHttpBinding. Registered base address schemes are [https] RRS feed

  • Question

  • Hi,

    My host is a WPF app, and my binding is looks like below:

            var binding = new WSDualHttpBinding
              MaxBufferPoolSize = int.MaxValue,
              MaxReceivedMessageSize = int.MaxValue,
              OpenTimeout = OpenTimeout,
              SendTimeout = SendTimeout,
              CloseTimeout = CloseTimeout,
              ReceiveTimeout = ReceiveTimeout,
              MessageEncoding = WSMessageEncoding.Text,
              TextEncoding = Encoding.UTF8,
              ReaderQuotas = ReaderQuotas,
              TransactionFlow = true
            binding.ReliableSession.InactivityTimeout = InactivityTimeout;
            binding.Security.Mode = WSDualHttpSecurityMode.None;

    when i have a base address look like this: https://localhost:8089/Services/MyService/

    i got this error (title),

    what's your idea about this?


    Wednesday, March 9, 2011 3:36 PM


  • Hello,
    The dual http binding uses the HTTP scheme, not HTTPS. So change your base address to use HTTP.           

    • Marked as answer by VirtualWorld Thursday, March 10, 2011 5:29 AM
    Wednesday, March 9, 2011 4:19 PM