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.




Gemini 4.1 SSL and Scheduler

scheduler

Hi, I'm running Gemini 4.1.1 and the Scheduler 4.1.1 on Windows 2008R2 in a DMZ (so not on a domain). I'm using Forms Authentication and have IIS anonymous login enabled. The site has an SSL-encrypted public IP resolving to the webserver's 192.168.x.x address. The scheduler server logs on as local system but is unable to connect, complaining that it's unable to connect or authenticate using the Gemini admin user account. The web site uses a dedicated application pool. When I try setting the scheduler config IP address (instead of the public FQDN), the error is that it can't resolve TLS/SSL which doesn't surprise me. So, I need to use the public URL but I don't think that the scheduler is able to connect. Manually logging in to that URL with the Gemini admin user works just fine. What is your advice? Thanks!

Log Name: Application Source: Error starting Gemini Scheduler [3] Date: 2/3/2012 8:44:50 PM Event ID: 0 Task Category: None Level: Error Keywords: Classic User: N/A Computer: LBSEXTRA01 Description: 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.DtdParserProxyPushExternalSubset(String systemId, String publicId) at System.Xml.DtdParser.ParseExternalSubset() 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.OnStart(String[] args) Event Xml: 0 2 0 0x80000000000000 91377 Application LBSEXTRA01 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.DtdParserProxyPushExternalSubset(String systemId, String publicId) at System.Xml.DtdParser.ParseExternalSubset() 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.OnStart(String[] args)

User99955
· 1
User99955
Replies (7)
helpful
0
not helpful

Can you manually use that url in a browser on the server that the scheduler is installed on?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Hi Mark, yes I can. It works in Internet Explorer on the Gemini web server and also outside of the DMZ. Cheers, Neil.


User99955
· 1
User99955
helpful
0
not helpful

Ok, can you try without SSL (http) to see if it works? Also, try to install it on your desktop PC (https) to see if it works from there.


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Hi Saar, I won't be able to try it without SSL in production but I can try SSL-enabling my test site. I'll let you know how I get on - thanks! I had another thought though which is can I *add a non-SSL binding in IIS only available internally and have the scheduler try to connect to that? (Perhaps that's what you meant?)

Cheers, Neil


User99955
· 1
User99955
helpful
0
not helpful

Hi Saar, I just tried it on my PC with no success. Do you think a second binding on IIS without the routing etc. that is involved with our DMZ is worth trying i.e. so the scheduler on the web server could access "localhost"? Cheers, Neil


User99955
· 1
User99955
helpful
0
not helpful

Yes, worth a go. If not can you check the response from the sever using Fiddler?


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Thanks guys, my IIS Application Pool was misconfigured. It was set to "Classic" pipeline but should instead have been "Integrated". I'm all set now. Cheers, Neil.


User99955
· 1
User99955