Hi Guys.
Our WSUS main server is broken and clients can't get updates anymore since mid-July.
http://localhost:8530/ClientWebService/client.asmx
or
http://localhost/ClientWebService/client.asmx
gives the following error
Server Error in '/ClientWebService' Application.
Could not find a base address that matches scheme https for the endpoint with binding BasicHttpBinding. Registered base address schemes are [http].
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: Could not find a base address that matches scheme https for the endpoint with binding BasicHttpBinding. Registered base address schemes are [http].
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[InvalidOperationException: Could not find a base address that matches scheme https for the endpoint with binding BasicHttpBinding. Registered base address schemes are [http].]
System.ServiceModel.ServiceHostBase.MakeAbsoluteUri(Uri relativeOrAbsoluteUri, Binding binding, UriSchemeKeyedCollection baseAddresses) +16319910
System.ServiceModel.Description.ConfigLoader.LoadServiceDescription(ServiceHostBase host, ServiceDescription description, ServiceElement serviceElement, Action`1 addBaseAddress, Boolean skipHost) +723
System.ServiceModel.ServiceHostBase.LoadConfigurationSectionInternal(ConfigLoader configLoader, ServiceDescription description, ServiceElement serviceSection) +99
System.ServiceModel.ServiceHostBase.ApplyConfiguration() +224
System.ServiceModel.ServiceHostBase.InitializeDescription(UriSchemeKeyedCollection baseAddresses) +203
System.ServiceModel.ServiceHost..ctor(Type serviceType, Uri[] baseAddresses) +166
System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(Type serviceType, Uri[] baseAddresses) +42
System.ServiceModel.HostingManager.CreateService(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) +1794
System.ServiceModel.HostingManager.ActivateService(ServiceActivationInfo serviceActivationInfo, EventTraceActivity eventTraceActivity) +65
System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) +741
[ServiceActivationException: The service '/ClientWebService/client.asmx' cannot be activated due to an exception during compilation. The exception message is: Could not find a base address that matches scheme https for the endpoint with binding BasicHttpBinding. Registered base address schemes are [http]..]
System.Runtime.AsyncResult.End(IAsyncResult result) +607194
System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +231
System.Web.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar) +177
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2106.0
We haven't setup SSL on it and bindings is only set for 8530 only
Strangely enough, the WSUS server continues to receive updates and the remote replica WSUS server has no issues at all. I've compared both C:\Program Files\Update Services\WebServices\ClientWebService\web.config from both sites and they match. I've tried
to reset IIS and rebooted but nothing.
<?xml version="1.0" encoding="utf-8" ?><configuration><!--For IIS 7 when virtual application is run in integrated mode--><system.webServer><handlers accessPolicy="Read, Script"><remove name="WebServiceHandlerFactory-Integrated-4.0"/><add name="ClientWebServiceAsmxHandler"
path="*.asmx"
verb="*"
type="System.ServiceModel.Activation.ServiceHttpHandlerFactory, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
preCondition="integratedMode,runtimeVersionv4.0" /></handlers></system.webServer><!--
This section is required for converting an ASMX web service to WCF
--><system.web><compilation><buildProviders><remove extension=".asmx" /><add extension=".asmx"
type="System.ServiceModel.Activation.ServiceBuildProvider, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/></buildProviders></compilation><!-- GLOBALIZATION
This section sets the globalization settings of the application.
--><globalization
requestEncoding="utf-8"
responseEncoding="utf-8"
/><!-- DOCUMENTATION
Turn off documentation by default
--><webServices><protocols><remove name="Documentation"/></protocols><!-- Run SOAP Header Filter with ClientWebService --><soapExtensionTypes><add type="Microsoft.UpdateServices.WUShield,WUShield"
priority="1"
group="0" /></soapExtensionTypes> </webServices><!-- MAXREQUESTLENGTH
Limit the size of incoming requests to 4096 kbytes.
--><httpRuntime maxRequestLength="4096" /></system.web><appSettings><!-- The maximim number of locales that a client can pass to GetExtendedUpdateInfo.
An InvalidParameters exception is thrown if this limit is exceeded.
--><add key="maxLocales" value="100"/><!-- The maximim number of update IDs that a client can pass to SyncUpdates,
SyncPrinterCatalogs, or RefreshCache.
An InvalidParameters exception is thrown if this limit is exceeded.
--><add key="maxCachedUpdates" value="22000"/><!-- The maximim number of installed prerequisites a client can pass to SyncUpdates
or SyncPrinterCatalog.
An InvalidParameters exception is thrown if this limit is exceeded.
--><add key="maxInstalledPrerequisites" value="400"/><!-- The maximum number of hardware IDs passed to spGetDriver. The web service trims
the system spec against the list of hardware IDs for which a driver exists in
the DB. Typically this results in a trimmed system spec containing only one or
two hardware IDs. Only the first maxPrunedHardwareIDs are submitted to the
driver query.
--><add key="maxPrunedHardwareIDs" value="20"/><!-- The order prerequisite clauses are sorted in the internal data-structures used by
SyncUpdates.
--><add key="detectoidTypes" value="ProductFamily;Product;Application Locale;Windows Locale"/><!--
The value of the following key is made part of the SQL connection's
ApplicationName property to improve sql tracing.
--><add key="ApplicationNameForDatabaseConnection" value="ClientWS"/></appSettings><system.serviceModel><diagnostics performanceCounters="All"><messageLogging logEntireMessage="false"
logMalformedMessages="false"
logMessagesAtServiceLevel="false"
logMessagesAtTransportLevel="false"
maxMessagesToLog="30000" /></diagnostics><services><service
name="Microsoft.UpdateServices.Internal.Client"
behaviorConfiguration="ClientWebServiceBehaviour"><!--
These 4 endpoint bindings are required for supporting both http and https
--><endpoint address=""
binding="basicHttpBinding"
bindingConfiguration="SSL"
contract="Microsoft.UpdateServices.Internal.IClientWebService" /><endpoint address="secured"
binding="basicHttpBinding"
bindingConfiguration="SSL"
contract="Microsoft.UpdateServices.Internal.IClientWebService" /><endpoint address=""
binding="basicHttpBinding"
bindingConfiguration="ClientWebServiceBinding"
contract="Microsoft.UpdateServices.Internal.IClientWebService" /><endpoint address="secured"
binding="basicHttpBinding"
bindingConfiguration="ClientWebServiceBinding"
contract="Microsoft.UpdateServices.Internal.IClientWebService" /></service></services><behaviors><serviceBehaviors><behavior name="ClientWebServiceBehaviour" ><serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" /><serviceDebug includeExceptionDetailInFaults="true" /></behavior></serviceBehaviors></behaviors><!--binding configuration schema reference http://msdn.microsoft.com/en-us/library/ms731399.aspx --><bindings><basicHttpBinding><!-- WCF buffer pool settings set to 1MB/128MB to handle RefreshCache load (see 310779) --><binding name="ClientWebServiceBinding"
closeTimeout="00:01:00"
openTimeout="00:01:00"
receiveTimeout="00:10:00"
sendTimeout="00:01:00"
maxReceivedMessageSize="1048576"
maxBufferSize="1048576"
maxBufferPoolSize="134217728"
messageEncoding="Text"
textEncoding="utf-8"><readerQuotas maxDepth="32"
maxStringContentLength="8192"
maxArrayLength="16384"
maxBytesPerRead="4096"
maxNameTableCharCount="16384" /><!--
The security mode should be Transport only when the service is available over https
--></binding><binding name="SSL"
closeTimeout="00:01:00"
openTimeout="00:01:00"
receiveTimeout="00:10:00"
sendTimeout="00:01:00"
maxReceivedMessageSize="1048576"
maxBufferSize="1048576"
maxBufferPoolSize="134217728"
messageEncoding="Text"
textEncoding="utf-8"><readerQuotas maxDepth="32"
maxStringContentLength="8192"
maxArrayLength="16384"
maxBytesPerRead="4096"
maxNameTableCharCount="16384" /><security mode="Transport"><transport clientCredentialType="None" /></security></binding></basicHttpBinding></bindings><!-- Requires AspNetCompatibility mode --><serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" /></system.serviceModel></configuration>
I've been browsing for quite a while looking for a solution and am now seeking help from the forum
Thanks in advance
Regards
Gaetan