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.




MailProcessor reporting MailBee.NET - Socket connection was aborted by remote host

web-app

For the first time I'm trying the scheduler. Downloaded the latest version yesterday and I am having troubles getting it to work.

The application log shows everything configuring correctly and then loads of errors showing the same problem for the MailProcessor:

MailBee.NET - Socket connection was aborted by remote host. -    at bo.b(String A0, dl A1, Boolean A2)
   at bo.a(String A
0, Boolean A1)
   at a9.a(String A
0, String A1, String A2)
   at cj.a(AuthenticationMethods A0, AuthenticationMethods A1, SaslMethod A2, AuthenticationOptions A3, String A4, String A5, String A6)
   at bo.a(AuthenticationMethods A
0, AuthenticationMethods A1, SaslMethod A2, AuthenticationOptions A3, String A4, String A5, String A6)
   at bo.b()
   at bl.d(Boolean A0)
   at bl.b()
   at am.a0()
   at a6.a(Boolean A
0, String A1, String A2, AuthenticationMethods A3, AuthenticationOptions A4, SaslMethod A_5)
   at MailBee.Pop3Mail.Pop3.Login(String accountName, String password)
   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've tried:

telnet mail.server 110

user user

pass password

from the same machine and it works okay. Here's the 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://192.168.0.10/gemini/webservices"

AuthenticationUsername="admin" AuthenticationPassword="admin" >
        <MailboxProcessors>
          <MailboxProcessor
            Name="Reader"
            POPServer="pop3.xyz.com"
            POPServerPort="110"
            UseAPOP="false"
            POPMailbox="gemini@xyz.com"
            POPUsername="gemini@xyz.com"
            POPPassword="pass"
            DeleteMessages="true"
            SubjectLikeRegExp="NEWIssue"
            SubjectNOTLikeRegExp=""
            ProjectID="3"
            UserID="13"
            ComponentID="30"
            IssueType="1"
            IssuePriority="1"
            />
        </MailboxProcessors>
        </Client>
    </Clients>
  </Gemini>
</configuration>

 

Any help would be appreciated.

Thanks,

Dave.

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

It might be a permissions or firewall issue. Remember that by default the service will run under local admin user account.


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

I'd thought much the same thing so I modified the service to RunAs the same account I'd tried the telnet mailserver 110 test. After a service restart still the same problem.

Is there any logging option so I can see at a more detailed level what point it's failing and/or any socket feedback?

OR

Is there an option to run the scheduler as a normal user application process to make it a little easier to pin-point if it's a permission problem associated with running it as a service?

Thanks,

Dave.


davevest
· 1
davevest
helpful
0
not helpful

Hi,

We have raised this issue with the SMTP/POP component provider and will post any information as we get it!


Harvey Kandola
· 212
Harvey Kandola
helpful
0
not helpful

Reply from MailBee.NET people:

"Are you sure mail server address and port are specified correctly in your application powered by MailBee.NET Objects? If so, please make sure that the host your application is trying to connect has a POP3 service running (try to connect through MS Outlook or another e-mail client).

Also, this exception may be caused by various reasons. For instance, the connection was aborted by the mail server due to a timeout (mail server's timeout which cannot be changed from client side) or smart firewall/antivirus/antispam system (installed on the workstation your application powered by MailBee.NET Objects installed on) intercepts and suddenly closes the connection, etc. So if you have a firewall/antivirus/antispam software installed on your workstation, please try to disable it for testing purpose. "

 


Harvey Kandola
· 212
Harvey Kandola
helpful
0
not helpful

I'm trying this out on Windows Server 2003. I'm pretty sure the settings are correct because a manual connection to the mail server using them works ok. What I can't be sure of is that running it as a NT service is not part of the problem. Is there any way I can run the MailProcessor as a regular user application?

 

Thanks,

Dave.


davevest
· 1
davevest
helpful
0
not helpful

Hi Dave,

Send an email to sales and we will send you the source code for the Scheduler -- that way you can debug and get to the bottom of this issue!

Is this ok?


Harvey Kandola
· 212
Harvey Kandola
helpful
0
not helpful

Problem sorted.

For anyone following this thread it was a problem with the MailProcessor (included in GeminiScheduler version 1.2 - Aug 07 2007) trying APOP authentication even though UseAPOP was set to false.

A new version has been released since then and I assume the problem has been fixed in that.

 

Thanks to CounterSoft support for helping resolve this issue.


davevest
· 1
davevest