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.




Reporting issues to gemini via email

web-app

I just upgraded to version 2.2.6 and installed Gemini Scheduler v1.7.1.
How do users report issues via email?

Also, after the new installation gemini no longer sends email notifications after an issue has been created or modified.

Thank you,

garifo
· 1
garifo
Replies (16)
helpful
0
not helpful


did you configure the scheduler to pop emails? Make sure you remvoed the XML comments for that section.

Please check the event log and Gemini error log for errors.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

in the configuration file.
   <Client WebServicesURL="http://myip/gemini/webservices" AuthenticationUsername="user" AuthenticationPassword="pw">

AuthenticationUsername  is this authentication user to the server or gemini admin?

thank you,,


this is my config file

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <configSections>
    <section name="Gemini" type="CounterSoft.Gemini.Scheduler.ServiceConfigSection, CounterSoft.Gemini.Scheduler" />
  </configSections>
  <Gemini>
    <Clients>
      <Client WebServicesURL="http://myip/gemini/webservices" AuthenticationUsername="user" AuthenticationPassword="password">
        <MailboxProcessors>
          <!-- Sample mailbox processor setup           -->
          <MailboxProcessor
            Name="MyPOP1"
            POPServer="smtp.themls.com"
            POPServerPort="110"
            AuthenticationMethod="AUTO"
            UseSSL="false"
            POPMailbox="geminitool@mydomain.com"
            POPUsername="myuser"
            POPPassword="mypassword"
            DeleteMessages="false"
            SubjectLikeRegExp=""
            SubjectNOTLikeRegExp=""
            ProjectID="1"
            UserID="1"
            ComponentID="1"
            IssueType="1"
            IssuePriority="1"
            DebugFile = "c:\GeminiPOP3log.txt"
            DebugMode = "false"
            />

          <!-- Authentication methods: AUTO, APOP, REGULAR, NONE  -->
          <!-- POP Server Port: usually 110 or 995 (secure) -->
        </MailboxProcessors>
        </Client>
    </Clients>
  </Gemini>
</configuration>

so...to create issues via email I would just email to geminitool@mydomain.com.  When I sent an email to geminitool@mydomain.com nothing gets logged in the gemini app.  I do receive the email though via Microsoft outlook.
I checked the webservices and its running.

thank you,


garifo
· 1
garifo
helpful
0
not helpful

The user name and password are for Gemini admin user.

Please check the windows application event log. Do you get any entries there?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

This are two errors logged:

Event Type:    Error
Event Source:    .NET Runtime 2.0 Error Reporting
Event Category:    None
Event ID:    5000
Date:        3/19/2008
Time:        10:03:00 AM
User:        N/A
Computer:    BUGTRACK
Description:
EventType clr20r3, P1 countersoft.gemini.scheduler.exe, P2 1.7.2860.31635, P3 4728bca6, P4 system, P5 2.0.0.0, P6 471ebf0d, P7 3832, P8 131, P9 system.componentmodel.win32, P10 NIL.


----------------------------------------------
and

Event Type:    Error
Event Source:    Mailbox Processor
Event Category:    None
Event ID:    0
Date:        3/19/2008
Time:        10:02:58 AM
User:        N/A
Computer:    BUGTRACK
Description:
MailBee.NET - Wrong account name and/or password. The server responded: -ERR Invalid userid/password. -    at a9.a(String A0, String A1, String A2)
   at cj.a(AuthenticationMethods A
0, AuthenticationMethods A1, SaslMethod A2, AuthenticationOptions A3, String A4, String A5, String A6)
   at bo.a(AuthenticationMethods A0, AuthenticationMethods A1, SaslMethod A2, AuthenticationOptions A3, String A4, String A5, String A6)
   at bo.b()
   at bl.d(Boolean A
0)
   at bl.b()
   at am.a0()
   at ex.a(Boolean A0, String A1, String A2, AuthenticationMethods A3, AuthenticationOptions A4, SaslMethod A5)
   at MailBee.Pop3Mail.Pop3.Login(String accountName, String password, AuthenticationMethods authMethods, AuthenticationOptions authOptions, SaslMethod authUserDefined)
   at CounterSoft.Gemini.Scheduler.MailboxProcessor.MailboxProcess.CheckEmails()
   at CounterSoft.Gemini.Scheduler.MailboxProcessor.MailboxProcess.Process()

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

i'm using my main email account and the correct user id and pw it set in the config file.



garifo
· 1
garifo
helpful
0
not helpful

The first two error mentioned before are now gone....now I only get

Event Type:    Error
Event Source:    Mailbox Processor
Event Category:    None
Event ID:    0
Date:        3/19/2008
Time:        11:00:12 AM
User:        N/A
Computer:    BUGTRACK
Description:
System.Web.Services - Server was unable to process request. ---> No row with the given identifier exists: 1, of class: CounterSoft.Gemini.Commons.ComponentEN -    at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at IssueServices.CreateIssue(IssueEN issue)
   at CounterSoft.Gemini.Scheduler.MailboxProcessor.MailboxProcess.CheckEmails()

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.


garifo
· 1
garifo
helpful
0
not helpful

Seems like you do not have a component with ID of 1. Can you check?


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Yep...that was the problem....so I changed the projid and component to a different porject, rebooted server and worked.

Thank you for the help.




garifo
· 1
garifo
helpful
0
not helpful

I'm having a VERY similar issue.  I'm running 2.2.6 and Scheduler 3.0.

I have edited the configuration file to reflect a Gemini administrator and password.  I have configured (and uncommented) the Mailbox parser section, and have restarted the service.  I've tried "regular" and "auto" for authentication.  I'm running www.hmailserver.com as my mailserver locally, and POP is enabled.

I see no events in the event log, and the pop3 debug file is not created, even though the service is run as the local system account and that account has full control of the target directory.

Here's my config.....

 

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <configSections>
    <section name="Gemini" type="CounterSoft.Gemini.Scheduler.ServiceConfigSection, CounterSoft.Gemini.Scheduler" />
  </configSections>
  <Gemini>
    <Clients>
      <Client WebServicesURL="http://localhost/Gemini/webservices" AuthenticationUsername="addomain\admin" AuthenticationPassword="passwordhere">
        <MailboxProcessors>
          <MailboxProcessor
            Name="MyPC"
            POPServer="127.0.0.1"
            POPServerPort="110"
            AuthenticationMethod="REGULAR"
            UseSSL="false"
            POPMailbox="geminiticket@domain.com"
            POPUsername="gemini
ticket@domain.com"
            POPPassword="password"
            DeleteMessages="false"
            SubjectLikeRegExp=""
            SubjectNOTLikeRegExp=""
            ProjectID="5"
            UserID="22"
            ComponentID="1"
            IssueType="1"
            IssuePriority="1"
            IssueSeverity="1"
            Visiblity="1"
            VisiblityMemberType="2"
            RiskLevel="1"
            DebugFile = "c:\Temp\GeminiPOP3log.txt"
            DebugMode = "true"
     />
          <!-- Sample mailbox processor setup
          <MailboxProcessor
            Name="MyPC"
            POPServer="localhost"
            POPServerPort="110"
            AuthenticationMethod="AUTO"
            UseSSL="false"
            POPMailbox=geminiticket@domain.com
            POPUsername="gemini
ticket@domain.com"
            POPPassword="password"
            DeleteMessages="false"
            SubjectLikeRegExp=""
            SubjectNOTLikeRegExp=""
            ProjectID="1"
            UserID="1"
            ComponentID="1"
            IssueType="1"
            IssuePriority="1"
            IssueSeverity="1"
            Visiblity="1"
            VisiblityMemberType="2"
            RiskLevel="1"
            DebugFile = "c:\GeminiPOP3log.txt"
            DebugMode = "false"
            />
          -->
          <!-- Authentication methods: AUTO, APOP, REGULAR, NONE  -->
          <!-- POP Server Port: usually 110 or 995 (secure) -->
        </MailboxProcessors>
        </Client>
    </Clients>
  </Gemini>
</configuration>

 

Any ideas where I should look for help?

 

Thanks!

 

Tom


TCooper
· 1
TCooper
helpful
0
not helpful

Is the scheduler working (sending alerts)?


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

No - the scheduler is not sending alerts. 

At this point, based on your email from yesterday I have installed WSE 3.0 and rebooted, and I cannot get Gemini to send emails using the mail plugin or scheduler service. 

I can telnet localhost 25 and connect to the mail server.  The mail server logs indicate that Gemini is not even attempting to connect to either the SMTP server or through POP.

The file c:\Temp\GeminiPOP3log.txt is not created, and the application event log has no information related to the scheduler service.

It doesn't matter whether I configure the notifications page to use the mail plugin or the scheduler, no messages are sent.  The test button never generates an email.

Any ideas what to look at next? 


TCooper
· 1
TCooper
helpful
0
not helpful

Double check you scheduler config is correct. You should see entries in the windows event viewer when it is starting etc..

also, check Gemini error log.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

MarkWing,
Thanks for the suggestion.  I think my scheduler config is correct - it's posted in this thread - can you please take a look and see if I've made any glaring errors?  The scheduler definitely starts and stays running, and definitely is not writing any entries to the Windows application event log.

Also, I'll look for the Gemini error log.


TCooper
· 1
TCooper
helpful
0
not helpful

The Gemini error log complained about not being able to write to the c:\GeminiSMTPLog.txt file, so I created it and granted "everyone" "full control" 

 

Good thing this instance only runs on my laptop. :)

 

Now using the mail plugin, messages arrive, but the scheduler still doesn't send them, nor does it pick up messages in the POP mailbox.

 

What next?


TCooper
· 1
TCooper
helpful
0
not helpful

Wow - getting MUCH closer.  VERY odd.

Here's what I did.  I created the debug file GeminiPOP3log.txt and granted everyone full control.  I stopped the scheduler service, cleared the application event log, and restarted it.

NOW I see the error in the application log - "Error testing connectivity/authentication to client "  Apparently it didn't like my AD credentials listed there.  I switched to a locally-defined user, and the scheduler started and processed messages from the POP mailbox.

I'm still not seeing messages from ticket updates being delivered. 


TCooper
· 1
TCooper
helpful
0
not helpful

Running out of RAM

 

I finally saw an error message in the log which makes sense.  The box (with 3GB of phsyical memory) eventually runs out of memory.  When I start the scheduler, I see two things happen.  The scheduler eats about 33 MB RAM, and then grows to about 900MB.  aspnetwp.exe grows in memory usage up to about 150MB, and the SQL server instance RAM usage grows to about 150MB.

It looks to me like switching to the scheduler wants to re-transmit all of the messages ever sent by the system.  Is that right?  How do I fix that?


Event Type: Information
Event Source: CounterSoft Gemini Scheduler
Event Category: None
Event ID: 0
Date:  10/29/2008
Time:  11:43:51 AM
User:  N/A
Computer: TCOOPER-LAP
Description:
http://localhost/Gemini/webservices
11891 issue alerts found.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

 

I see this in the error log:

 

Exception of type 'System.OutOfMemoryException' was thrown. 29/10/2008 11:36:55 SOURCE: mscorlib TARGETSITE: System.String GetStringForStringBuilder(System.String, Int32, Int32, Int32) STACKTRACE: at System.String.GetStringForStringBuilder(String value, Int32 startIndex, Int32 length, Int32 capacity) at System.Convert.ToBase64String(Byte[] inArray, Int32 offset, Int32 length, Base64FormattingOptions options) at System.Convert.ToBase64String(Byte[] inArray) at Microsoft.Web.Services3.Mime.XopNodeData.GetString() at Microsoft.Web.Services3.Mime.XopContentsNode.getData() at System.Xml.XmlText.WriteTo(XmlWriter w) at Microsoft.Web.Services3.Mime.XopContentsNode.WriteTo(XmlWriter w) at System.Xml.XmlElement.WriteContentTo(XmlWriter w) at System.Xml.XmlElement.WriteTo(XmlWriter w) at System.Xml.XmlElement.WriteContentTo(XmlWriter w) at System.Xml.XmlElement.WriteTo(XmlWriter w) at System.Xml.XmlElement.WriteContentTo(XmlWriter w) at System.Xml.XmlElement.WriteTo(XmlWriter w) at System.Xml.XmlElement.WriteContentTo

 

 

 

I also see this (hundreds of times - too many to count) in the event viewer

Event Type: Error
Event Source: CounterSoft Gemini Scheduler
Event Category: None
Event ID: 0
Date:  10/29/2008
Time:  11:43:59 AM
User:  N/A
Computer: TCOOPER-LAP
Description:
System.Xml - There is an error in XML document (1, 6). -    at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
   at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle)
   at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
   at CounterSoft.Gemini.Commons.GeminiHelper.GetIssueEN(Byte[] abData)
   at CounterSoft.Gemini.Scheduler.EmailAlertsProcess.ProcessIssueAlerts()

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Where do I go next?


TCooper
· 1
TCooper
helpful
0
not helpful

look at the issuealerts or gemini_issuealerts table, are there any records there?


Mark Wing
· 9108
Mark Wing