Home Home
  login

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.




Error starting Gemini Scheduler [3] (3.7.2.2784)

emails

Hi I've having troubles with the new Gemini 3.7 and Scheduler. It refuses to start the service, it seems to have a problem with a webservice called: CounterSoft.Gemini.WebServices.BaseService.WhoAmI() bei CounterSoft.Gemini.Scheduler.SchedulerService.OnStart(String[] args)

Any ideas?

Thanks Erik

Erik
· 1
Erik
Replies (6)
helpful
0
not helpful

Can post the full error message form the application log (event viewer)?
Did you configure the url, username and password?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Yes, i configured url, username und password. It worked before with Gemini 3.1.

Here is the full error message. (german) Windows Server 2008 R2

System - Die zugrunde liegende Verbindung wurde geschlossen: Die Verbindung wurde unerwartet getrennt.. - bei System.Net.HttpWebRequest.GetResponse() bei System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri, ICredentials credentials) bei System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) bei System.Xml.XmlTextReaderImpl.OpenStream(Uri uri) bei System.Xml.XmlTextReaderImpl.PushExternalEntity(SchemaEntity entity, Int32 entityId) bei System.Xml.DtdParser.HandleEntityReference(XmlQualifiedName entityName, Boolean paramEntity, Boolean inLiteral, Boolean inAttribute) bei System.Xml.DtdParser.GetToken(Boolean needWhiteSpace) bei System.Xml.DtdParser.ParseSubset() bei System.Xml.DtdParser.Parse(Boolean saveInternalSubset) bei System.Xml.XmlTextReaderImpl.ParseDoctypeDecl() bei System.Xml.XmlTextReaderImpl.ParseDocumentContent() bei System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) bei System.Xml.XmlDocument.Load(XmlReader reader) bei System.Xml.XmlDocument.Load(Stream inStream) bei CounterSoft.Gemini.Commons.Rest.Serializer.ConvertToObject[T](Stream stream) bei CounterSoft.Gemini.WebServices.BaseService.GetObjectFromResponse[T](Stream stream) bei CounterSoft.Gemini.WebServices.BaseService.ThrowResponseException(WebResponse response) bei CounterSoft.Gemini.WebServices.BaseService.ProcessResponse[T](String url, Object obj, RequestType requestType) bei CounterSoft.Gemini.WebServices.BaseService.GetResponse[T](String url, Object o, RequestType r) bei CounterSoft.Gemini.WebServices.BaseService.WhoAmI() bei CounterSoft.Gemini.Scheduler.SchedulerService.OnStart(String[] args)

Please notice I've de-activated the anonymous authentication in IIS. Wenn it is activated I have the following error: CounterSoft.Gemini.WebServices - Method requires authentication - bei CounterSoft.Gemini.WebServices.BaseService.ThrowResponseException(WebResponse response) bei CounterSoft.Gemini.WebServices.BaseService.ProcessResponse[T](String url, Object obj, RequestType requestType) bei CounterSoft.Gemini.WebServices.BaseService.GetResponse[T](String url, Object o, RequestType r) bei CounterSoft.Gemini.WebServices.BaseService.WhoAmI() bei CounterSoft.Gemini.Scheduler.SchedulerService.GetServiceManager(String url, String username, String password)

Should I run the service with a windows user (and not local system) which is also a gemini user?


Erik
· 1
Erik
helpful
0
not helpful

Are you using windows authentication? If so, run the service as a windows user.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Yes, we use win authentication and I just tried running the service as a windows user. Same error unfortunately.

I've tried the new API with following code: Dim ServiceManager As New CounterSoft.Gemini.WebServices.ServiceManager("http://gemini", String.Empty, String.Empty, String.Empty, True) Dim ui As CounterSoft.Gemini.Commons.Entity.UserEN ui = ServiceManager.IssuesService.WhoAmI

The UserEN is empty. No Username, IsAuthenticated = False. But I can retrieve an Issue ! Dim issue As CounterSoft.Gemini.Commons.Entity.IssueEN issue = ServiceManager.IssuesService.GetIssue(350)

works!

Any Light on this one? Thanks Erik


Erik
· 1
Erik
helpful
0
not helpful

Are you using the 3.7dlls? If so, please send an email to support at countersoft dot com and we will arrange a remote session to see if we can sort this out.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

2 Problems: 1. The ServiceManager needs the windows username as well (leave password blank). Please update your documentation at http://api.countersoft.com/Authentication.aspx 2. There is some sort of connection failure connecting to the gemini application at the same server the IIS is running on. I'll try to get that working and get back on this.

Thanks for your quick support!

Best regards Erik


Erik
· 1
Erik