-
-
Notifications
You must be signed in to change notification settings - Fork 422
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
[Nextcloud] Does not work in version 21 #371
Comments
Hi, There isn't a whole lot that changed in this service int he past 8 months. Can you provide me an example URL that you have that used to work (that doesn't now)? Please don't provide any secret/password information, but I'm wonder if it's just the URL's structure that is failing you? What kind of error message are you getting? |
Hi,
Thanks. |
Could you provide me with some logging of what is going on? Since you're coding this yourself, you can capture the logs like so: import apprise
apobj = apprise.Apprise()
apobj.add('nclouds://{}:{}@{}/{}'.format(cfg['admin_user'], cfg['token'], cfg['url'][8:], user))
# Prepare a LogCapture() that sets logging to DEBUG
with apprise.LogCapture(level=apprise.logging.DEBUG) as output:
# Send our notification
apobj.notify(title="hello", body="world")
# At this point of our code, we can have a look at our output
# to see all of the logging that surrounded our notification(s)
# Note that `output` is a StringIO object:
print(output.getvalue()) See here for some more details. Hopefully the output will shed a bit more light on the error you're getting. At this time my trial for NextCloud has long expired. But I will email them and see if i can have it temporarily re-instated. Or just have a new trial period to help debug the situation. But we can also use your existing account too to resolve this together.. Keep me posted |
I think it's probably related to this: nextcloud/notifications#877 Thanks for your work. |
I had a chance to follow all of the links you provided. You definitely hit the nail on the head here. I also see they reversed the |
📣 Notification Service(s) Impacted
Nextcloud 21
🪲 Describe the bug
It seems to connect, but the notification does not appear.
💻 Your System Details:
🔮 Additional context
The same code works correctly in version 20.
The text was updated successfully, but these errors were encountered: