Giter Site home page Giter Site logo

Comments (6)

dgtlmoon avatar dgtlmoon commented on June 12, 2024 1

@kroese please make an issue at https://github.com/caronc/apprise and link this issue in the issue comment

from changedetection.io.

dgtlmoon avatar dgtlmoon commented on June 12, 2024

please try it first from the command line

echo hello|apprise mailto://10.0.0.195:2225/[email protected]&[email protected]

it is not a bug with changedetection but rather with apprise, does it work from the CLI?

and tell me the version of apprise installed pip3 list

from changedetection.io.

kroese avatar kroese commented on June 12, 2024

Its version 1.7.6 and when I execute that command I get:

ERROR: There are no service(s) to notify

but the Loaded E-Mail URL contains the IP like expected, while in the Change Notification log the IP is stripped from that line.

from changedetection.io.

dgtlmoon avatar dgtlmoon commented on June 12, 2024

So its a problem in 1.7.6 of apprise then...

pip3 install apprise==1.7.5

$ ls|apprise "mailto://10.0.0.195:2225/[email protected]&[email protected]" -v
2024-04-20 00:05:05,126 - WARNING - Connection error while submitting email to 10.0.0.195. Reason: [Errno 111] Connection refused

pip3 install apprise==1.7.6

$ ls|apprise "mailto://10.0.0.195:2225/[email protected]&[email protected]" -v
2024-04-20 00:05:57,440 - WARNING - Sending email to "[email protected]" failed. Reason: please run connect() first
2024-04-20 00:05:57,440 - ERROR - Unhandled Notification Exception
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/apprise/Apprise.py", line 582, in _notify_sequential
    result = server.notify(**kwargs)
  File "/usr/local/lib/python3.10/dist-packages/apprise/plugins/NotifyBase.py", line 382, in notify
    the_calls = [self.send(**kwargs2) for kwargs2 in send_calls]
  File "/usr/local/lib/python3.10/dist-packages/apprise/plugins/NotifyBase.py", line 382, in <listcomp>
    the_calls = [self.send(**kwargs2) for kwargs2 in send_calls]
  File "/usr/local/lib/python3.10/dist-packages/apprise/plugins/NotifyEmail.py", line 855, in send
    return self.submit(messages)
  File "/usr/local/lib/python3.10/dist-packages/apprise/plugins/NotifyEmail.py", line 921, in submit
    socket.quit()
  File "/usr/lib/python3.10/smtplib.py", line 1004, in quit
    res = self.docmd("quit")
  File "/usr/lib/python3.10/smtplib.py", line 431, in docmd
    self.putcmd(cmd, args)
  File "/usr/lib/python3.10/smtplib.py", line 378, in putcmd
    self.send(f'{s}{CRLF}')
  File "/usr/lib/python3.10/smtplib.py", line 365, in send
    raise SMTPServerDisconnected('please run connect() first')
smtplib.SMTPServerDisconnected: please run connect() first

@kroese please can you make an issue over at caronc/apprise? this is not our fault here

from changedetection.io.

kroese avatar kroese commented on June 12, 2024

Okay, thanks! I reported it and will take it further with them.

On a sidenote, do you have any idea why I dont see the button to test notifications in v0.45.20? I know you recently changed something in that area of the code, but I cant find it anywhere.

from changedetection.io.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.