Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Connection Changedetection ?? error while submitting email to smtp.gmail.com. Reason: [Errno 101] Network unreachable #1259

Open
ymurawski opened this issue Dec 19, 2024 · 4 comments
Labels

Comments

@ymurawski
Copy link

Hi, i am running Changedetection in Home Assitant as a Docker instance.
When i enter my notification credentials like:

mailto://XXXXXXXX:[email protected] (with 2 factor password and without spaces)

there is always an error:
2024/12/19 10:48:14,000 - SENDING - null
2024-12-19 10:48:29,540 - WARNING - Connection error while submitting email to smtp.gmail.com. Reason: [Errno 101] Network unreachable
2024-12-19 10:48:14,522 - DEBUG - Connecting to remote SMTP server...
2024-12-19 10:48:14,518 - DEBUG - Delivery: smtp.gmail.com:587
2024-12-19 10:48:14,518 - DEBUG - Login ID: [email protected]
2024-12-19 10:48:14,518 - DEBUG - Email To: [email protected]
2024-12-19 10:48:14,518 - DEBUG - Email From: "changedetection.io" [email protected]
2024-12-19 10:48:14,517 - DEBUG - Loaded E-Mail URL: mailtos://XXXXXXXXX:****@gmail.com/?format=html&overflow=upstream&cto=15&smtp=smtp.gmail.com&mode=starttls
2024-12-19 10:48:14,517 - INFO - Applying Google Mail Defaults

Any ideas ? Network is just working finde for everythin and no Firewall or other things.

@ymurawski ymurawski added the bug label Dec 19, 2024
@caronc
Copy link
Owner

caronc commented Dec 19, 2024

The error implies your container doesn't have access to DNS.

@ymurawski
Copy link
Author

The error implies your container doesn't have access to DNS.

if i change the Network for the Docker its working but when i use the standard network "hassio" it won't. Problem is that if you restart the Addon it always goes back to the "hassio" network in docker

Screenshot 2024-12-19 133354

@dgtlmoon
Copy link
Contributor

dgtlmoon commented Dec 29, 2024

not a problem in apprise, this looks more like a support request for your operating system for the discussions - please close this

@caronc
Copy link
Owner

caronc commented Jan 2, 2025

This is definitely not an issue with Apprise, bu keep in mind that Google is abandoning their Application Password 🙁 . I even rely on the GMail and it will cease to work pretty soon; see #1250 (as i hit a bit of a hurdle continuing this support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants