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 POP3 Windows Integrated Security

emails

I am trying to setup the scheduler.  Due to other web sites on the server, gemini runs on a non-standard port.  So my IIS is setup like this:

WebSiteName = Gemini35, for all IP addresses, and TCP port 8082 (no host header) so the URL is http://myops:8082  I should add that gemini works fine from a user perspective.

I have gone through the process of adding "ALL verbs" for .ashx and "Anonymous access" is disabled.   In the web.config I set "windows" as the authentication mode.

The scheduler runs on the same server and is configured as: (where XXXXX is the domain, and YYYYY is the userid)

<?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://myops:8082" AuthenticationUsername="XXXXX\YYYYY" AuthenticationPassword="" />
    </Clients>
  </Gemini>
</configuration>

I then set the service CounterSoft Gemini Scheduler Service to login as the same userID and filled in the password.

I get no errors in the event viewer, just the messages that it ran.  My POP3 logs see's that it finds the emails:

[16:12:00.94] [INFO] Assembly version: 5.0.2.121.
[16:12:00.94] [INFO] Will resolve host "ZZZZZ".
[16:12:00.94] [INFO] Host "ZZZZZ" resolved to IP address(es) ZZZZZZ.
[16:12:00.94] [INFO] Will connect to host "ZZZZZ" on port 110.
[16:12:00.94] [INFO] Socket connected to IP address ZZZZZ on port 110.
[16:12:00.95] [RECV] +OK GroupWise POP3 server ready\r\n
[16:12:00.95] [INFO] Connected to mail service at host "ZZZZZ" on port 110 and ready.
[16:12:00.95] [INFO] Get the list of POP3 capabilities via CAPA command.
[16:12:00.97] [SEND] CAPA\r\n
[16:12:00.97] [RECV] +OK\r\nTOP\r\nUSER\r\nUIDL\r\n.\r\n
[16:12:00.97] [INFO] Will login as "YYYYY".
[16:12:00.97] [INFO] Will try regular USER/PASS authentication.
[16:12:00.97] [SEND] USER YYYYY\r\n
[16:12:01.25] [RECV] +OK\r\n
[16:12:01.25] [SEND] PASS **\r\n
[16:12:01.25] [RECV] +OK\r\n
[16:12:01.25] [INFO] Logged in as "YYYYY".
[16:12:01.25] [INFO] Download inbox statistics.
[16:12:01.25] [SEND] STAT\r\n
[16:12:01.44] [RECV] +OK 3 1352\r\n
[16:12:01.45] [INFO] Will download entire messages (startIndex=1, count=3).
[16:12:01.45] [SEND] RETR 1\r\n
[16:12:01.64] [RECV] +OK\r\n [Total 456 bytes received.]
[16:12:01.66] [SEND] RETR 2\r\n
[16:12:01.94] [RECV] +OK\r\n [Total 463 bytes received.]
[16:12:01.94] [SEND] RETR 3\r\n
[16:12:02.16] [RECV] +OK\r\n [Total 457 bytes received.]
[16:12:02.16] [INFO] Downloaded entire messages (startIndex=1, count=3).
[16:12:02.19] [SEND] QUIT\r\n
[16:12:02.27] [RECV] +OK GroupWise POP3 server signing off\r\n
[16:12:02.36] [INFO] Will disconnect from host "ZZZZZ".
[16:12:02.36] [INFO] Disconnected from host "ZZZZZ".

All this and NO emails are getting created in gemini. I validated that I can manually create issues.  Any ideas on where I can check to see what the issue is?

 

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

I went to the logs for the web site and found this, in case it helps:  ProjectID 6 is the project that the above emails should be going to.

 

2009-10-20 21:02:07 W3SVC912295134 192.168.120.33 GET /api/admin.ashx/configuration - 8082 - 192.168.120.33 - 401 2 2148074254
2009-10-20 21:02:07 W3SVC912295134 192.168.120.33 GET /api/admin.ashx/configuration - 8082 - 192.168.120.33 - 401 1 0
2009-10-20 21:02:07 W3SVC912295134 192.168.120.33 GET /api/admin.ashx/configuration - 8082 XXXXX\YYYYY 192.168.120.33 - 200 0 0
2009-10-20 21:02:07 W3SVC912295134 192.168.120.33 GET /api/users.ashx/users/username/XXXXX/YYYYY - 8082 - 192.168.120.33 - 401 2 2148074254
2009-10-20 21:02:07 W3SVC912295134 192.168.120.33 GET /api/users.ashx/users/username/XXXXX/YYYYY - 8082 - 192.168.120.33 - 401 1 0
2009-10-20 21:02:07 W3SVC912295134 192.168.120.33 GET /api/users.ashx/users/username/XXXXX/YYYYY - 8082 XXXXX\YYYYY 192.168.120.33 - 200 0 0
2009-10-20 21:02:07 W3SVC912295134 192.168.120.33 GET /api/admin.ashx/configuration - 8082 - 192.168.120.33 - 401 2 2148074254
2009-10-20 21:02:07 W3SVC912295134 192.168.120.33 GET /api/admin.ashx/configuration - 8082 - 192.168.120.33 - 401 1 0
2009-10-20 21:02:07 W3SVC912295134 192.168.120.33 GET /api/admin.ashx/configuration - 8082 XXXXX\YYYYY 192.168.120.33 - 200 0 0
2009-10-20 21:02:07 W3SVC912295134 192.168.120.33 GET /api/admin.ashx/configuration - 8082 - 192.168.120.33 - 401 2 2148074254
2009-10-20 21:02:07 W3SVC912295134 192.168.120.33 GET /api/admin.ashx/configuration - 8082 - 192.168.120.33 - 401 1 0
2009-10-20 21:02:07 W3SVC912295134 192.168.120.33 GET /api/admin.ashx/configuration - 8082 XXXXX\YYYYY 192.168.120.33 - 200 0 0
2009-10-20 21:02:07 W3SVC912295134 192.168.120.33 GET /api/alerts.ashx/alerts - 8082 - 192.168.120.33 - 401 2 2148074254
2009-10-20 21:02:07 W3SVC912295134 192.168.120.33 GET /api/alerts.ashx/alerts - 8082 - 192.168.120.33 - 401 1 0
2009-10-20 21:02:07 W3SVC912295134 192.168.120.33 GET /api/alerts.ashx/alerts - 8082 XXXXX\YYYYY 192.168.120.33 - 200 0 0
2009-10-20 21:02:08 W3SVC912295134 192.168.120.33 GET /api/admin.ashx/mailbox - 8082 - 192.168.120.33 - 401 2 2148074254
2009-10-20 21:02:08 W3SVC912295134 192.168.120.33 GET /api/admin.ashx/mailbox - 8082 - 192.168.120.33 - 401 1 0
2009-10-20 21:02:08 W3SVC912295134 192.168.120.33 GET /api/admin.ashx/mailbox - 8082 XXXXX\YYYYY 192.168.120.33 - 200 0 0
2009-10-20 21:02:09 W3SVC912295134 192.168.120.33 GET /api/projects.ashx/projects/6 - 8082 - 192.168.120.33 - 401 2 2148074254
2009-10-20 21:02:09 W3SVC912295134 192.168.120.33 GET /api/projects.ashx/projects/6 - 8082 - 192.168.120.33 - 401 1 0
2009-10-20 21:02:09 W3SVC912295134 192.168.120.33 GET /api/projects.ashx/projects/6 - 8082 XXXXX\YYYYY 192.168.120.33 - 200 0 0


walsham
· 1
walsham
helpful
0
not helpful

Is the scheduler service set to run under the named user account? (not local admin)


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Yes. The service runs as the same domain user who is specified in the config file. Who is also setup as a Gemini admin.


walsham
· 1
walsham
helpful
0
not helpful

Here is what I get when I navigate to the last page the above logs requests: http://myops:8082/api/projects.ashx/projects/6/

  <?xml version="1.0" encoding="utf-8" ?> - <ProjectEN xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">   <TimeStamp>AAAAAAADI1k=</TimeStamp>   <DateCreated>2006-11-20T09:01:52</DateCreated>   <State>NoChange</State>   <ProjectID>6</ProjectID>   <ProjectCode>HELP</ProjectCode>   <ProjectName>Help Desk</ProjectName>   <ProjectDesc>ECT Help Desk</ProjectDesc>   <ProjectReadOnlyS>N</ProjectReadOnlyS>   <ProjectArchivedS>N</ProjectArchivedS>   <SchemeID>5</SchemeID>   <GlobalSchemeID>5</GlobalSchemeID>   <IssueTypeSchemeID>2</IssueTypeSchemeID>   <IssuePrioritySchemeID>1</IssuePrioritySchemeID>   <IssueSeveritySchemeID>1</IssueSeveritySchemeID>   <IssueWorkflowID>1</IssueWorkflowID>   <FieldVisibilitySchemeID>0</FieldVisibilitySchemeID>   <ResourceAssignmentMode>Single</ResourceAssignmentMode>   <ComponentAssignmentMode>Single</ComponentAssignmentMode>   <UserID>-1</UserID>   <ProjectLeadName>* Anonymous User *</ProjectLeadName>   <ComponentCount>5</ComponentCount>   <VersionCount>1</VersionCount>   <UserCount>0</UserCount>   <ProjectLabelId xsi:nil="true" />   <ProjectLabel />   <ProjectReadOnly>false</ProjectReadOnly>   <ProjectArchived>false</ProjectArchived>   </ProjectEN>

 

 


walsham
· 1
walsham
helpful
0
not helpful

The issue related to our email system groupwise.  The code used to determine the date of the email is

msg.DateReceived

however groupwise returned a value of 1/1/0001 for that.  I changed the code to

msg.Date

 

and the issue went away.


walsham
· 1
walsham
helpful
0
not helpful

Issue logged and will be fixed for the next release: http://gemini.countersoft.com/Default.aspx?p=7&i=3317


Saar Cohen
· 5000
Saar Cohen