Re: Hang up reading Yandex mail box listing.

Charles Cazabon <[email protected]>
Newsgroups gmane.mail.getmail.user
Message-ID <[email protected]>
Viacheslav Chimishuk <[email protected]> wrote:
> getmail configuration:
>   getmail version 5.13
>   Python version 2.7.15 (default, Jan 10 2019, 23:20:52)
> [GCC 8.2.1 20181127]
>   retriever:  SimplePOP3SSLRetriever(ca_certs="None", certfile="None", delete_dup_msgids="False", getmaildir="/home/vchimishuk/.getmail/", keyfile="None", password="*", password_command="()", port="995", server="pop.yandex.ru", ssl_cert_hostname="None", ssl_ciphers="None", ssl_fingerprints="()", ssl_version="None", timeout="180", use_apop="False", username="vchimishuk")

Ok, so you are using the latest getmail with Python 2.7.15, which is only one
point-release behind current, and timeout is set to the default value.  That
takes care of my first guess at the cause.  Some earlier versions of Python
had a known incompatibility between SSL-wrapped sockets and socket timeout
functionality, but I believe those were fixed some time ago (Python 2.5
maybe?).

This must still be an SSL-interaction, though I don't know why it's coming up
for you now.  Do you know which version of OpenSSL your Python is linked
against?  I bet if you temporarily swith to the non-SSL POP3 retriever your
hangs go away.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon
GPL'ed software available at:               http://pyropus.ca/software/
-----------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.