thunderbird-android icon indicating copy to clipboard operation
thunderbird-android copied to clipboard

‘’Checking incoming server settings failed‘’ despite correct settings

Open sudwhiwdh opened this issue 1 year ago • 23 comments

Checklist

  • [x] I have used the search function to see if someone else has already submitted the same bug report.
  • [x] I will describe the problem with as much detail as possible.

App

Thunderbird for Android

App version

8.2

Where did you get the app from?

F-Droid

Android version

Custom ROM (Based on LineageOS 18.1)

Device model

No response

Steps to reproduce

  1. Start
  2. Add an email account now
  3. Entering my e-mail address
  4. Next
  5. ‘Configuration found’ → Expand: Both the IMAP and SMTP configurations are recognised as specified by the provider.
  6. Entering my password ( in the same way as I usually do on the service's web interface)
  7. Next
  8. The following error message appears: Image
  9. ‘Retry’ produces the same result.

Expected behavior

My e-mails are loaded. This works without any problems in the provider's webmailer. Using the same login credentials.

Actual behavior

The above error message appears. No e-mails are loaded.

Logs

No response

sudwhiwdh avatar Dec 18 '24 18:12 sudwhiwdh

I am having issues searching for an email , in thunderbird . it says remote search failed. using my gmail account

timzechman avatar Dec 20 '24 01:12 timzechman

Could you share some logs around the time this happened?

kewisch avatar Mar 11 '25 21:03 kewisch

Where can I find these logs?

sudwhiwdh avatar Mar 11 '25 21:03 sudwhiwdh

https://github.com/thunderbird/thunderbird-android/wiki/LoggingErrors

kewisch avatar Mar 12 '25 21:03 kewisch

I can't see how to get into the settings without my account being added.

sudwhiwdh avatar Mar 12 '25 21:03 sudwhiwdh

You don't need to go into the settings, it also says "If Thunderbird is crashing or you otherwise can't get to the settings screen, skip this step". In the later step, use the PC version and run adb logcat to get the logs.

kewisch avatar Mar 12 '25 21:03 kewisch

My answer already referred to step 3. https://github.com/thunderbird/thunderbird-android/wiki/LoggingErrors#using-the-app I don't use Thunderbird on my computer. So I can't read out the log files myself under Android if the issue already occurs in the account setup? I don't think this is a requirement for the desktop version, it's always possible to access the settings, isn't it? At least that's how it looks at first glance.

sudwhiwdh avatar Mar 12 '25 21:03 sudwhiwdh

Maybe there is a misunderstanding, I did not mean you need to use the PC version of Thunderbird. Rather, you need to follow the steps to execute adb using your PC. Explicitly:

  1. Install adb on your computer using https://github.com/thunderbird/thunderbird-android/wiki/Installing-adb
  2. Do whatever is necessary to trigger the error
  3. Attach the device to your PC and use the tool adb.
  • adb shell pgrep -f thunderbird or adb shell ps -A | findstr thunderbird depending on OS
  • adb logcat -d --pid=<PID> > thunderbird-log.txt with the PID from the previous command.

You don't need to go into settings this way.

kewisch avatar Mar 12 '25 22:03 kewisch

Thank you for taking the time to report this issue. It looks like we haven't heard back in a while, therefore we're closing this issue. If the problem persists in the latest version please open a new issue and reference this one so we can follow up more effectively.

thunderbird-botmobile avatar Apr 12 '25 00:04 thunderbird-botmobile

@kewisch The issue is still ongoing. I haven't had time to collect the data yet. Can you please reopen it?

sudwhiwdh avatar Apr 18 '25 12:04 sudwhiwdh

Thanks for checking in. Please let us know when you've had a chance.

kewisch avatar Apr 22 '25 08:04 kewisch

Currently I can't figure out how to find the exact path in Fedora where I can trigger adb shell pgrep -f thunderbird.

sudwhiwdh avatar Apr 23 '25 09:04 sudwhiwdh

sudo dnf install android-tools might get you there.

kewisch avatar Apr 23 '25 11:04 kewisch

It is already installed.

Package "android-tools-1:35.0.2-3.fc41.x86_64" is already installed.

sudwhiwdh avatar Apr 23 '25 11:04 sudwhiwdh

Alright, from there you should be able to just run adb. I don't know Fedora enough to help further unfortunately.

kewisch avatar Apr 23 '25 11:04 kewisch

Okay, I found the installation in /usr/bin/adb.

I was also able to start the daemon at tcp:5037 using sudo adb devices and then authorised my device.

However, adb shell pgrep -f thunderbird does not give me any feedback, but simply returns to prompt.

sudwhiwdh avatar Apr 23 '25 12:04 sudwhiwdh

Is Thunderbird running on your device? You can do adb shell ps I believe to get a full process list.

kewisch avatar Apr 23 '25 12:04 kewisch

I must have closed the app.

adb shell pgrep -f thunderbird now simply gives me a five-digit number. I assume this is the pid?

adb logcat -d --pid=five-digit number > thunderbird-log.txt returns a ‘bash: thunderbird-log.txt: Permission denied’.

sudo adb logcat -d --pid=five-digit number > thunderbird-log.txt returns a ‘bash: thunderbird-log.txt: Permission denied’ as well.

sudwhiwdh avatar Apr 23 '25 12:04 sudwhiwdh

I'm not sure how to help on this case, normally you should be able to write the logs. Without the logs it will be very difficult for me to help.

kewisch avatar May 20 '25 20:05 kewisch

I would like to continue looking at the logs.

Can you help me to solve my error message?

sudwhiwdh avatar May 21 '25 09:05 sudwhiwdh