You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Dave Harms <da...@clarionmag.com> on 2005/08/04 16:08:18 UTC
POP3Handler read timed out - can't get email
I installed James about six weeks ago, and for the most part it's worked
well. But I've been away on vacation and I have a large number of emails
waiting for me on the server which I cannot retrieve (using
Thunderbird). Accounts with few emails work properly.
The only relevant information I can find is in the pop3 log:
04/08/05 09:42:49 INFO pop3server: Connection from
S0106000d88984025.wp.shawcable.net (24.77.13.87)
04/08/05 09:44:19 ERROR pop3server: Exception during connection from
S0106000d88984025.wp.shawcable.net (24.77.13.87) :
Read timed out
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:116)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:220)
at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
at
sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:404)
at
sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:442)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:179)
at java.io.InputStreamReader.read(InputStreamReader.java:167)
at java.io.BufferedReader.fill(BufferedReader.java:136)
at java.io.BufferedReader.read(BufferedReader.java:157)
at
org.apache.james.util.CRLFTerminatedReader.readLine(CRLFTerminatedReader.java:98)
at
org.apache.james.pop3server.POP3Handler.readCommandLine(POP3Handler.java:415)
at
org.apache.james.pop3server.POP3Handler.handleConnection(POP3Handler.java:266)
at
org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.run(ServerConnection.java:417)
at
org.apache.james.util.thread.ExecutableRunnable.execute(ExecutableRunnable.java:55)
at
org.apache.james.util.thread.WorkerThread.run(WorkerThread.java:90)
Thing is, once in a while everything does work - I have been able to get
messages for one account with about 200 waiting emails.
Any suggestions?
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: POP3Handler read timed out - can't get email
Posted by "Rafal Adamczyk (sent by Nabble.com)" <li...@nabble.com>.
Hi!
I've got simiilar problem with JAMES.
I'm using JAMES on win2000 with mysql-db mail storage and server breaks the connection after about 60 seconds, and what is more changing connection timeout value in conf do not change this.
It happens when having more than ~20000 messages in inbox.
Rafal
--
Sent from the James - Users forum at Nabble.com:
http://www.nabble.com/POP3Handler-read-timed-out---can%27t-get-email-t198711.html#a603823
Re: POP3Handler read timed out - can't get email
Posted by David Harms <ja...@clarionmag.com>.
Stefano Bagnara wrote, On 06/08/05 11:28 AM:
> Are you using db repository or file repository?
db - MySQL
>Does the exception occour in connection , while loggin in, or during the
>download of the messages?
>
It appears that the login is failing. At the moment I have all my
accounts working again, and one possible reason is I switched
Thunderbird from leaving emails on the server for 30 days to deleting
after download. But what I noticed even before making this change is
that the exception did not always occur - sometimes after a number of
attempts I would be able to connect and download messages.
I also suspect that in day to day use I might never have noticed the
problem. I was on vacation last month and only downloaded emails about
once a week. Accounts with less than 100 emails always worked - several
with > 300 emails gave me this problem.
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: POP3Handler read timed out - can't get email
Posted by Stefano Bagnara <ap...@bago.org>.
Hi Dave,
Are you using db repository or file repository?
Does the exception occour in connection , while loggin in, or during the
download of the messages?
Stefano
> -----Messaggio originale-----
> Da: Dave Harms [mailto:david.harms@clarionmag.com]
> Inviato: giovedì 4 agosto 2005 16.08
> A: server-user@james.apache.org
> Oggetto: POP3Handler read timed out - can't get email
>
> I installed James about six weeks ago, and for the most part
> it's worked well. But I've been away on vacation and I have a
> large number of emails waiting for me on the server which I
> cannot retrieve (using Thunderbird). Accounts with few
> emails work properly.
>
> The only relevant information I can find is in the pop3 log:
>
> 04/08/05 09:42:49 INFO pop3server: Connection from
> S0106000d88984025.wp.shawcable.net (24.77.13.87)
> 04/08/05 09:44:19 ERROR pop3server: Exception during
> connection from S0106000d88984025.wp.shawcable.net (24.77.13.87) :
> Read timed out
> java.net.SocketTimeoutException: Read timed out
> at java.net.SocketInputStream.socketRead0(Native Method)
> at java.net.SocketInputStream.read(SocketInputStream.java:116)
> at
> java.io.BufferedInputStream.read1(BufferedInputStream.java:220)
> at
> java.io.BufferedInputStream.read(BufferedInputStream.java:277)
> at
> sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:404)
> at
> sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:442)
> at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:179)
> at java.io.InputStreamReader.read(InputStreamReader.java:167)
> at java.io.BufferedReader.fill(BufferedReader.java:136)
> at java.io.BufferedReader.read(BufferedReader.java:157)
> at
> org.apache.james.util.CRLFTerminatedReader.readLine(CRLFTermin
> atedReader.java:98)
> at
> org.apache.james.pop3server.POP3Handler.readCommandLine(POP3Ha
> ndler.java:415)
> at
> org.apache.james.pop3server.POP3Handler.handleConnection(POP3H
> andler.java:266)
> at
> org.apache.james.util.connection.ServerConnection$ClientConnec
> tionRunner.run(ServerConnection.java:417)
> at
> org.apache.james.util.thread.ExecutableRunnable.execute(Execut
> ableRunnable.java:55)
> at
> org.apache.james.util.thread.WorkerThread.run(WorkerThread.java:90)
>
> Thing is, once in a while everything does work - I have been
> able to get messages for one account with about 200 waiting emails.
>
> Any suggestions?
>
> Dave
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org