Description
In deployments where Cyara uses Active Directory users to impersonate services the following exception may be generated while attempting to start Speech Engine and/or Cyara Voice Scheduler Service:
2017-11-10 13:53:03.749 FATAL [5] DistributedSpeechService - OnStart exception for RecognitionService
System.ServiceModel.AddressAccessDeniedException: HTTP could not register URL http://+:8324/RecognitionService/. Your process does not have access rights to this namespace (see http://go.microsoft.com/fwlink/?LinkId=70353 for details). ---> System.Net.HttpListenerException: Access is denied
at System.Net.HttpListener.AddAllPrefixes()
at System.Net.HttpListener.Start()
at System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()
--- End of inner exception stack trace ---
at System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()
at System.ServiceModel.Channels.TransportManager.Open(TransportChannelListener channelListener)
at System.ServiceModel.Channels.TransportManagerContainer.Open(SelectTransportManagersCallback selectTransportManagerCallback)
at System.ServiceModel.Channels.TransportChannelListener.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.HttpChannelListener`1.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open()
at Cyara.Speech.DistributedSpeechService.OpenHost[T](ServiceHost`1& host, T service, String id)
Solution
The reason for the issue insufficient privileges granted to AD Service Account user. To fix it follow simple steps:
- Run Command Prompt (cmd.exe) as administrator
- Execute following commands:
Speech Engine
netsh http add urlacl url=http://+:8324/RecognitionService user=domain\cyara_user
netsh http add urlacl url=http://+:8627/AudioGenerationService user=domain\cyara_user
netsh http add urlacl url=http://+:8928/MosCalculationService user=domain\cyara_user
Voice Scheduler
netsh http add urlacl url=http://+:8882/SchedulerService/ user=domain\user
Comments
0 comments
Please sign in to leave a comment.