moralmunky / Home-Assistant-Mail-And-Packages

Home Assistant integration providing day of package counts and USPS informed delivery images.
MIT License
579 stars 70 forks source link

ISSUE: Configuring mail and packages with StartTLS crashes Home Assistant #932

Open Casuallynoted opened 1 week ago

Casuallynoted commented 1 week ago

Describe the bug When entering IMAP info on the latest version of mail and packages, if StartTLS is selected instead of SSL, it simply doesn't move to the next configuration screen and home assistant becomes inaccessible until the machine is restarted entirely.

Environment (please complete the following information):

Logs

Additional context

firstof9 commented 1 week ago

What email service are you attempting to use?

luke3butler commented 1 week ago

Same here. Also, restarting core using ha core restart isn't enough and that command just hangs. Having trouble finding anything relevant in the logs.

Attempted to sign in with iCloud using startTLS, as recommended by iCloud when SSL doesn't work (it didn't).

firstof9 commented 1 week ago

Previous startup would be in home-assistant.log.1

luke3butler commented 1 week ago

I've rebooted a few times now, unfortunately.

And I wouldn't be able to use my iCloud account after all, because of #181

geiseri commented 4 days ago

it seems Zoho IMAP has the same issue. I need to reenable to see the exact error, but it looked like a premature EOF. I started after a homeassistant update, so maybe an underlying dependency did it.

firstof9 commented 3 days ago

it seems Zoho IMAP has the same issue. I need to reenable to see the exact error, but it looked like a premature EOF. I started after a homeassistant update, so maybe an underlying dependency did it.

Zoho says use SSL not TLS:

Select the Advanced tab and configure the Settings as follows:
Incoming Server (IMAP): 993
Select SSL from the drop down menu for encrypted connection.

Source: https://www.zoho.com/mail/help/outlook-imap-access.html