Hello,
On 01/03/2019 05:42, Gunter Königsmann wrote:
On 28.02.19 14:34, Robert Nicklin wrote:
I've been trying to solve this for some time. All works perfectly when
connected on wireless and when a PAYG sim is installed but K-9 will
not collect using 4G. I don't think it is a K-9 issue but Vodafone say
it is. Any ideas? Thanks in advance.
I have *exactly* this same problem, not on Vodafone network.
I'm using my phone in either Wifi+VPN setup, or 3/4G+VPN setup. The VPN
always succeeds, be it through Wifi or 3/4G. On Wifi, K9 does not have
any kind of problem. With 3/4G, sometimes everything works ok with K9,
other times all K9 to Dovecot connections fail.
Logcat (shortened here) shows a Java exception (TimeOut) :
01-06 17:47:06.915 6559 6585 I MessagingController: Running command
'getFolderUnread:User:INBOX', seq = 0 (foreground priority)
01-06 17:47:06.961 6559 6585 I MessagingController: Command
'getFolderUnread:User:INBOX' completed
01-06 17:47:30.705 6559 6585 I MessagingController: Running command
'synchronizeMailbox', seq = 1 (background priority)
01-06 17:47:30.706 6559 6585 I ImapSync: Synchronizing folder <User>:INBOX
01-06 17:47:30.707 6559 6585 D ImapSync: SYNC: About to process
pending commands for account User
01-06 17:47:30.710 6559 6585 V ImapSync: SYNC: About to get local
folder INBOX
01-06 17:47:30.718 6559 6585 D LocalFolder: Updated last UID for
folder INBOX to 99999
01-06 17:47:30.724 6559 6585 V ImapSync: SYNC: About to get remote
folder INBOX
01-06 17:47:30.724 6559 6585 V ImapSync: SYNC: About to open remote
folder INBOX
01-06 17:47:30.729 6559 6585 D ImapConnection: Connecting to
server.ourdomain.tld as server.ourdomain.tld/IP.IP.IP.IP
01-06 17:47:31.093 6559 6585 V ImapConnection: conn27021147 <<< #null#
[OK, [CAPABILITY, IMAP4rev1, LITERAL+, SASL-IR, LOGIN-REFERRALS, ID,
ENABLE, IDLE, STARTTLS, LOGINDISABLED], Dovecot ready.]
01-06 17:47:31.094 6559 6585 D ImapConnection: Saving [LITERAL+,
IMAP4REV1, LOGIN-REFERRALS, IDLE, LOGINDISABLED, SASL-IR, ID, ENABLE,
STARTTLS] capabilities for conn27021147
01-06 17:47:31.094 6559 6585 V ImapConnection: conn27021147>>> 1 STARTTLS
01-06 17:47:31.209 6559 6585 V ImapResponseParser: conn27021147<<<#1#
[OK, Begin TLS negotiation now.]
01-06 17:47:31.687 6559 6585 I ImapConnection: Updating capabilities
after STARTTLS for conn27021147
01-06 17:47:31.689 6559 6585 V ImapConnection: conn27021147>>> 2
CAPABILITY
01-06 17:47:31.845 6559 6585 V ImapResponseParser:
conn27021147<<<#null# [CAPABILITY, IMAP4rev1, LITERAL+, SASL-IR,
LOGIN-REFERRALS, ID, ENABLE, IDLE, AUTH=PLAIN]
01-06 17:47:31.846 6559 6585 V ImapResponseParser: conn27021147<<<#2#
[OK, Pre-login capabilities listed, post-login capabilities have more.]
01-06 17:47:31.846 6559 6585 D ImapConnection: Saving [AUTH=PLAIN,
LITERAL+, IMAP4REV1, LOGIN-REFERRALS, IDLE, SASL-IR, ID, ENABLE]
capabilities for conn27021147
01-06 17:47:31.848 6559 6585 V ImapConnection: conn27021147>>> 3
AUTHENTICATE PLAIN
01-06 17:47:32.007 6559 6585 V ImapConnection: conn27021147<<<#+# []
01-06 17:47:32.237 6559 6585 V ImapResponseParser: conn27021147<<<#3#
[OK, [CAPABILITY, IMAP4rev1, LITERAL+, SASL-IR, LOGIN-REFERRALS, ID,
ENABLE, IDLE, SORT, SORT=DISPLAY, THREAD=REFERENCES, THREAD=REFS, THRE
AD=ORDEREDSUBJECT, MULTIAPPEND, URL-PARTIAL, CATENATE, UNSELECT,
CHILDREN, NAMESPACE, UIDPLUS, LIST-EXTENDED, I18NLEVEL=1, CONDSTORE,
QRESYNC, ESEARCH, ESORT, SEARCHRES, WITHIN, CONTEXT=SEARCH, LIST-STATUS,
BINA
RY, MOVE, SNIPPET=FUZZY], Logged in]
01-06 17:47:32.239 6559 6585 D ImapConnection: Saving [URL-PARTIAL,
NAMESPACE, LIST-STATUS, THREAD=REFERENCES, BINARY, SASL-IR, WITHIN,
MULTIAPPEND, SEARCHRES, ESORT, CONDSTORE, I18NLEVEL=1, CATENATE, ID, SORT
=DISPLAY, QRESYNC, UNSELECT, ENABLE, THREAD=ORDEREDSUBJECT, UIDPLUS,
CHILDREN, LITERAL+, CONTEXT=SEARCH, MOVE, SNIPPET=FUZZY, IMAP4REV1,
LOGIN-REFERRALS, IDLE, ESEARCH, SORT, LIST-EXTENDED, THREAD=REFS] capabili
ties for conn27021147
01-06 17:47:32.239 6559 6585 I ImapConnection: pathPrefix is unset and
server has NAMESPACE capability
01-06 17:47:32.242 6559 6585 V ImapConnection: conn27021147>>> 4 NAMESPACE
01-06 17:47:32.376 6559 6585 V ImapResponseParser:
conn27021147<<<#null# [NAMESPACE, [[, .]], NIL, NIL]
01-06 17:47:32.380 6559 6585 V ImapResponseParser: conn27021147<<<#4#
[OK, Namespace completed (0.001 + 0.000 secs).]
01-06 17:47:32.387 6559 6585 D ImapConnection: Got path '' and
separator '.'
01-06 17:47:32.396 6559 6585 V ImapConnection: conn27021147>>> 5
EXAMINE "INBOX"
01-06 17:47:32.687 6559 6585 V ImapResponseParser:
conn27021147<<<#null# [FLAGS, [\Answered, \Flagged, \Deleted, \Seen,
\Draft, NonJunk, Junk, $label2, $label1, $label3, $label4, $label5,
a_lire, $Forwarded, $
MDNSent]]
01-06 17:47:32.688 6559 6585 V ImapResponseParser:
conn27021147<<<#null# [OK, [PERMANENTFLAGS, []], Read-only mailbox.]
01-06 17:47:32.688 6559 6585 V ImapResponseParser:
conn27021147<<<#null# [178, EXISTS]
01-06 17:47:32.689 6559 6585 V ImapResponseParser:
conn27021147<<<#null# [1, RECENT]
01-06 17:47:32.689 6559 6585 V ImapResponseParser:
conn27021147<<<#null# [OK, [UNSEEN, 2], First unseen.]
01-06 17:47:32.690 6559 6585 V ImapResponseParser:
conn27021147<<<#null# [OK, [UIDVALIDITY, 1367321942], UIDs valid]
01-06 17:47:32.690 6559 6585 V ImapResponseParser:
conn27021147<<<#null# [OK, [UIDNEXT, 118270], Predicted next UID]
01-06 17:47:32.690 6559 6585 V ImapResponseParser:
conn27021147<<<#null# [OK, [HIGHESTMODSEQ, 158162], Highest]
01-06 17:47:32.690 6559 6585 V ImapResponseParser: conn27021147<<<#5#
[OK, [READ-ONLY], Examine completed (0.154 + 0.000 + 0.153 secs).]
01-06 17:47:32.691 6559 6585 D ImapFolder: Got untagged EXISTS with
value 178 for User:INBOX/MessagingController/conn27021147
01-06 17:47:32.691 6559 6585 D ImapFolder: Got UidNext = 118270 for
User:INBOX/MessagingController/conn27021147
01-06 17:47:32.694 6559 6585 V ImapSync: SYNC: Remote message count
for folder INBOX is 178
01-06 17:47:32.694 6559 6585 V ImapSync: SYNC: About to get messages 1
through 178 for folder INBOX
01-06 17:47:32.695 6559 6585 V ImapConnection: conn27021147>>> 6 UID
SEARCH 1:178 NOT DELETED
01-06 17:48:32.762 6559 6585 E ImapFolder: IOException for
User:INBOX/MessagingController/conn27021147
01-06 17:48:32.762 6559 6585 E ImapFolder:
java.net.SocketTimeoutException: Read timed out
01-06 17:48:32.762 6559 6585 E ImapFolder: at
com.android.org.conscrypt.NativeCrypto.SSL_read(Native Method)
01-06 17:48:32.762 6559 6585 E ImapFolder: at
com.android.org.conscrypt.SslWrapper.read(SslWrapper.java:384)
01-06 17:48:32.762 6559 6585 E ImapFolder: at
com.android.org.conscrypt.ConscryptFileDescriptorSocket$SSLInputStream.read(ConscryptFileDescriptorSocket.java:541)
01-06 17:48:32.762 6559 6585 E ImapFolder: at
java.io.BufferedInputStream.fill(BufferedInputStream.java:248)
The Dovecot logs, if I remember properly, show the failed connections
are made *without* account/password. I will search our archives for the
data if anyone is interested.
Sincerely,
--
Pierre-Yves Bonnetain-Nesterenko
B&A Consultants - Sécurité informatique - www.ba-consultants.fr
Tel. : +33 (0) 563 277 241 - Fax : +33 (0) 567 737 829
--
You received this message because you are subscribed to the Google Groups "K-9
Mail" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.