Closed gbrtrac closed 7 years ago
Can you please provide a debug log: https://github.com/k9mail/k-9/wiki/LoggingErrors
Can see the traceback in this file. Same error as before, search fails
Sending a file with 81990 bytes. If you do not see that many let me know
Please do not dismiss this as a problem trying to login. The login does work and I get messages in, though not like before the recent updates. If login does not work as part of search it is not a user error The IMAP connection happens (as it has since I started using K-9) over an forwarded SSH connection
Please don't open two issues for the same problem.
Yes there's nothing wrong with the file, it's the right size.
In one ticket you described the issue as a crash. In the second you describe it as 'failure and returning to the accounts screen'. None of your logs show evidence of an application crash. That's quite distinct in logs because you see something like:
01-21 21:26:06.939 19026-1885/com.fsck.k9.debug E/AndroidRuntime: FATAL EXCEPTION
4.
Here's all the 'errors' K-9 reports:
01-21 16:04:27.973 W/k9 ( 4536): Could not connect to /127.0.0.1
01-21 16:04:27.973 W/k9 ( 4536): java.net.ConnectException: failed to connect to /127.0.0.1 (port 143) after 30000ms: isConnected failed: ECONNREFUSED (Connection refused)
01-21 16:04:27.973 W/k9 ( 4536): at libcore.io.IoBridge.isConnected(IoBridge.java:224)
01-21 16:04:27.973 W/k9 ( 4536): at libcore.io.IoBridge.connectErrno(IoBridge.java:161)
01-21 16:04:27.973 W/k9 ( 4536): at libcore.io.IoBridge.connect(IoBridge.java:112)
01-21 16:04:27.973 W/k9 ( 4536): at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192)
Your tunnel refuses our connection.
1-21 16:04:27.973 E/k9 ( 4536): Caused by: java.net.ConnectException: failed to connect to /127.0.0.1 (port 143) after 30000ms: isConnected failed: ECONNREFUSED (Connection refused)
01-21 16:04:27.973 E/k9 ( 4536): at libcore.io.IoBridge.isConnected(IoBridge.java:224)
01-21 16:04:27.973 E/k9 ( 4536): at libcore.io.IoBridge.connectErrno(IoBridge.java:161)
01-21 16:04:27.973 E/k9 ( 4536): at libcore.io.IoBridge.connect(IoBridge.java:112)
01-21 16:04:27.973 E/k9 ( 4536): at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192)
01-21 16:04:27.973 E/k9 ( 4536): at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:459)
0
and again. For brevity I won't repeat each, but it happens 12 times in the log. That's the only error in the log. Now I'm not saying that search is working for you, but it isn't causing the app to crash or we'd see it.
And the problem is that nothing in the chain of software has changed except K-9. The tunnel software is the same. The IMAP server is the same. This all started with the recent "update" when the first issue was opened. What other information can I provide?
The problem with K-9 has not been resolved.
When you mentioned that the debug log is showing K-9 cannot connect to the IMAP server I am able to use telnet on my Android device and connect to the IMAP server without error
Please let me know what information I can provide to make this bug more clear
The tunnel is not failing. I am able to open a connection to the IMAP server while K-9 is not responding. The tunnel is not failing.
There's not much else we can do. The log didn't contain a reason why the connection would fail. It's basically up to you to figure out what's going wrong.
There's not much point in keeping this issue open unless more information is provided. So I'm closing it for now.
I fell back to 5.115 and the issue disappeared.
It was not a problem on my system -- it is a problem with code changed since 5.115
Expected behavior
Press the magnifying glass, enter search term
Actual behavior
App hangs with rotating circle and message Loading
Steps to reproduce
See above
Environment
K-9 Mail version: 5.202
Android version: 4.2.2
Account type (IMAP, POP3, WebDAV/Exchange): IMAP