Jump to content

New to HAP - red cross on services activated - can anyone help?


Recommended Posts

Posted

Hi,

 

In the process of setting up HAP. Really hoping to get this up and running.

 

I have a red cross on 'Services Activated'

 

This is the error message when browsing to http://nwhsvmserver/hap/api/setup : -

 

Thanks in advance for any help

 

Server Error in '/HAP' Application.

--------------------------------------------------------------------------------

 

Could not find a base address that matches scheme https for the endpoint with binding WebHttpBinding. 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 WebHttpBinding. 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 WebHttpBinding. Registered base address schemes are [http].]

System.ServiceModel.ServiceHostBase.MakeAbsoluteUri(Uri relativeOrAbsoluteUri, Binding binding, UriSchemeKeyedCollection baseAddresses) +16527313

System.ServiceModel.Description.ConfigLoader.ConfigureEndpointAddress(ServiceEndpointElement serviceEndpointElement, ServiceHostBase host, ServiceEndpoint endpoint) +117

System.ServiceModel.Description.ConfigLoader.ConfigureEndpoint(StandardEndpointElement standardEndpointElement, ServiceEndpointElement serviceEndpointElement, ContextInformation context, ServiceHostBase host, ServiceDescription description, ServiceEndpoint& endpoint, Boolean omitSettingEndpointAddress) +937

System.ServiceModel.Description.ConfigLoader.LookupEndpoint(ServiceEndpointElement serviceEndpointElement, ContextInformation context, ServiceHostBase host, ServiceDescription description, Boolean omitSettingEndpointAddress) +8716119

System.ServiceModel.Web.WebServiceHost.AddAutomaticWebHttpBindingEndpoints(ServiceHost host, IDictionary`2 implementedContracts, String multipleContractsErrorMessage, String standardEndpointKind) +982

System.ServiceModel.Web.WebServiceHost.OnOpening() +311

System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) +612

System.ServiceModel.HostingManager.ActivateService(String normalizedVirtualPath) +287

System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) +1132

 

[serviceActivationException: The service '/HAP/api/setup' 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 WebHttpBinding. Registered base address schemes are [http]..]

System.Runtime.AsyncResult.End(IAsyncResult result) +900320

System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +189278

System.Web.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar) +136

Posted

Thanks very much, that worked. Suppose I should have really done that straight away as would obviously be running on SSL.

 

Cheers.

 

Gary

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...