[spambayes-bugs] [ spambayes-Bugs-824589 ] sb_server.py doesn't recover after a 'connection timed out'

SourceForge.net noreply at sourceforge.net
Thu Oct 16 02:23:55 EDT 2003


Bugs item #824589, was opened at 2003-10-16 06:23
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=824589&group_id=61702

Category: pop3proxy
Group: Source code 1.0a6
Status: Open
Resolution: None
Priority: 5
Submitted By: Martin Rowe (dbg400)
Assigned to: Nobody/Anonymous (nobody)
Summary: sb_server.py doesn't recover after a 'connection timed out'

Initial Comment:
When the pop3 server doesn't respond in time,
sb_server.py gets a 'connection timed out' error. After
that no more mail can be collected until sb_server.py
is stopped and restarted. Is the time out period
configurable anywhere, or can this message be trapped?

Regards, Martin

mrowe at jamaro:~$ sb_server.py 
SpamBayes POP3 Proxy Beta3, version 0.3 (September 2003),
using SpamBayes POP3 Proxy Web Interface Alpha3,
version 0.03
and engine SpamBayes Beta2, version 0.2 (July 2003).

Loading database... Listener on port 8110 is proxying
pop.ntlworld.com:110
User interface url is http://localhost:8880/
error: uncaptured python exception, closing channel 
<__main__.ServerLineReader connected at 0x418079ac>
(socket.error:(110, 
'Connection timed out')
[/usr/lib/python2.3/asynchat.py|handle_read|88] 
[/usr/lib/python2.3/asyncore.py|recv|353])
Traceback (most recent call last):
  File "/usr/bin/sb_server.py", line 829, in ?
    run()
  File "/usr/bin/sb_server.py", line 823, in run
    start(state=state)
  File "/usr/bin/sb_server.py", line 763, in start
    main(state.servers, state.proxyPorts, state.uiPort,
state.launchUI)
  File "/usr/bin/sb_server.py", line 744, in main
    Dibbler.run(launchBrowser=launchUI)
  File
"/usr/lib/python2.3/site-packages/spambayes/Dibbler.py",
line 689, 
in run
    asyncore.loop(map=context._map)
  File "/usr/lib/python2.3/asyncore.py", line 193, in loop
    poll_fun(timeout, map)
  File "/usr/lib/python2.3/asyncore.py", line 108, in poll
    r, w, e = select.select(r, w, e, timeout)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=824589&group_id=61702



More information about the Spambayes-bugs mailing list