Scheduler Service not starting
When attempting to start the scheduler service the following error is returned on the server:
System - The remote server returned an error: (401) Unauthorized. - at System.Net.HttpWebRequest.GetResponse() at CounterSoft.Gemini.WebServices.BaseService.ProcessResponse[T](String url, Object obj, RequestType requestType) at CounterSoft.Gemini.WebServices.BaseService.GetResponse[T](String url, Object o, RequestType r) at CounterSoft.Gemini.WebServices.BaseService.WhoAmI() at CounterSoft.Gemini.Scheduler.SchedulerService.GetServiceManager(String url, String username, String password)
Version 4.1.1 on Windows Server 2008 running Windows authentication. Have uninstalled and reinstalled to reset user and password. Gemini URL is http://Gemini in-house
User94653
· 1 |
|
Thursday, September 29, 2011, 3:02:17 PM |
0
|
Please make sure that:
|
||||
|
0
|
Now I get the following error from the service when starting: System - The underlying connection was closed: The connection was closed unexpectedly. - at System.Net.HttpWebRequest.GetResponse() at System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials credentials) at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) at System.Xml.XmlTextReaderImpl.OpenStream(Uri uri) at System.Xml.XmlTextReaderImpl.PushExternalEntity(SchemaEntity entity, Int32 entityId) at System.Xml.DtdParser.HandleEntityReference(XmlQualifiedName entityName, Boolean paramEntity, Boolean inLiteral, Boolean inAttribute) at System.Xml.DtdParser.GetToken(Boolean needWhiteSpace) at System.Xml.DtdParser.ParseSubset() at System.Xml.DtdParser.Parse(Boolean saveInternalSubset) at System.Xml.XmlTextReaderImpl.ParseDoctypeDecl() at System.Xml.XmlTextReaderImpl.ParseDocumentContent() at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.Load(Stream inStream) at CounterSoft.Gemini.Commons.Rest.Serializer.ConvertToObject[T](Stream stream) at CounterSoft.Gemini.WebServices.BaseService.GetObjectFromResponse[T](Stream stream, Int64 length) at CounterSoft.Gemini.WebServices.BaseService.ThrowResponseException(WebResponse response) at CounterSoft.Gemini.WebServices.BaseService.ProcessResponse[T](String url, Object obj, RequestType requestType) at CounterSoft.Gemini.WebServices.BaseService.GetResponse[T](String url, Object o, RequestType r) at CounterSoft.Gemini.WebServices.BaseService.WhoAmI() at CounterSoft.Gemini.Scheduler.SchedulerService.GetServiceManager(String url, String username, String password) |
||||
|
0
|
Did you remove the password completely or left it blank? |
||||
|
0
|
This is what is in the file: AuthenticationPassword="" TimezoneOffset="0" /> Also get another error in event logs: Error testing connectivity/authentication to client http://gemini. |
||||
|
0
|
Can you please start a browser on the actual server and try to navigate to the Gemini site? Does it work? |
||||
|
0
|
Testing that now, when I browse to http://Gemini I get a password prompt. When I enter any username and password combinition I eventually get the 401 page. I am entering the usernames with and without the Domain\ The accounts work from a workstation. |
||||
|
0
|
Can you try navigating to the IP address instead or localhost? |
||||
|
0
|
Navigating to the IP returns 404 error. The server uses a host header or binding for http://Gemini so only accessible via that URL. |
||||
|
0
|
If I update the IIS binding for the Gemini site to bind to the IP of the server then specify http://localhost in the scheduler config file the service starts and functions fine. This is not ideal as I need to bind this site to http://Gemini to leave the root IIS site open. |
||||
|
0
|
··· See if this helpsSaar CohenFriday, September 30, 2011, 8:14:19 PM
|
||||
|