Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




Scheduler Service not starting

emails

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
User94653
Replies (10)
helpful
0
not helpful

Please make sure that:

  1. Anonymous access is disabled for the Gemini site in IIS
  2. The Scheduler service is running under a domain account that is a Gemini administrator (log on tab in the services control panel).
  3. The username is set to DOMAIN\user (same user as #2) and password is left blank in the scheduler's config file.

Mark Wing
· 9108
Mark Wing
helpful
0
not helpful
  1. Anon was disabled
  2. Changed the service account to a domain account and added that user to Gemini Admin group
  3. Set the username in the XML file to the domin user account and removed the password.

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)


User94653
· 1
User94653
helpful
0
not helpful

Did you remove the password completely or left it blank?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

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.


User94653
· 1
User94653
helpful
0
not helpful

Can you please start a browser on the actual server and try to navigate to the Gemini site? Does it work?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

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.


User94653
· 1
User94653
helpful
0
not helpful

Can you try navigating to the IP address instead or localhost?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Navigating to the IP returns 404 error. The server uses a host header or binding for http://Gemini so only accessible via that URL.


User94653
· 1
User94653
helpful
0
not helpful

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.


User94653
· 1
User94653
helpful
0
not helpful
··· See if this helpsSaar CohenFriday, September 30, 2011, 8:14:19 PM

Saar Cohen
· 5000
Saar Cohen