mail_fetcher socket error

J

James Testa

Hi,
I am using the mail_fetcher from

rubyforge.org/var/svn/slantwise/fetcher

as described in Advanced Rails Recipes,
Recipe 40.

It works great, but every once in a while
I get a SocketError and it dies with the
error output:

/script/../config/../vendor/plugins/fetcher/lib/fetcher/../vendor/secure_pop.rb
:98:in `initialize': getaddrinfo: Name or service not known
(SocketError)
from
/script/../config/../vendor/plugins/fetcher/lib/fetcher/../vendor/
secure_pop.rb:98:in `do_start'
from /usr/lib/ruby/1.8/timeout.rb:56:in `timeout'
from /usr/lib/ruby/1.8/timeout.rb:76:in `timeout'
from
/script/../config/../vendor/plugins/fetcher/lib/fetcher/../vendor/
secure_pop.rb:98:in `do_start'
from /usr/lib/ruby/1.8/net/pop.rb:432:in `start'
from
/script/../config/../vendor/plugins/fetcher/lib/fetcher/pop.rb:21:
in `establish_connection'
from
/script/../config/../vendor/plugins/fetcher/lib/fetcher/base.rb:31
:in `fetch'
from script/mail_fetcher:16:in `start'
from script/mail_fetcher:15:in `start'
from ./script/../config/../lib/daemon.rb:55:in `start'
from ./script/../config/../lib/daemon.rb:45:in `start'
from ./script/../config/../lib/daemon.rb:32:in `daemonize'
from ./script/../config/../lib/daemon.rb:14:in `daemonize'
from script/mail_fetcher:27


Does anyone know what causes this error?

Thanks,

Jim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,775
Messages
2,569,601
Members
45,182
Latest member
alexanderrm

Latest Threads

Top