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

Failed to send Nextcloud notification:Page not found., error=404 #395

Closed
leon1995 opened this issue Jun 2, 2021 · 11 comments
Closed

Failed to send Nextcloud notification:Page not found., error=404 #395

leon1995 opened this issue Jun 2, 2021 · 11 comments
Labels

Comments

@leon1995
Copy link

leon1995 commented Jun 2, 2021

Question
Hi,

when using apprise with nextcloud, I get the following errors:

$ apprise -vv -t "Test Message Title" -b "Test Message Body" nclouds://admin:<censored>@<censored>/<username>
2021-06-02 14:47:01,612 - INFO - Notifying 1 service(s) asynchronously.
2021-06-02 14:47:02,311 - WARNING - Failed to send Nextcloud notification:Page not found., error=404.

I have notifications installed on my nextcloud (version 21.0.2) and used an app-password without filesystem access.

Do you have any suggestion how I can fix it?

@amitsax
Copy link

amitsax commented Jun 2, 2021

Is you nextcloud instance installed as nextcloud.example.com or example.com/nextcloud -- i.e. as direct domain (or sub-domain) or as subfolder?

@leon1995
Copy link
Author

leon1995 commented Jun 2, 2021

It is directly installed as sub-domain, e.g. cloud.example.com

@amitsax
Copy link

amitsax commented Jun 2, 2021

It is directly installed as sub-domain, e.g. cloud.example.com

ok.. I got the similar error "Failed to send Nextcloud notification:Page not found., error=404." but I am using nextcloud in a subfolder structure, so I suspect that might be throwing apprise off in my case.

@leon1995
Copy link
Author

leon1995 commented Jun 3, 2021

Ok thx for the info. Sadly, this is not why its not working for me.

@PhilippHomann
Copy link

@caronc
Copy link
Owner

caronc commented Jun 8, 2021

Hi guys, the accompanying issue to this is #371.

It seems like Next Cloud changed their API for a version and then changed it back in the master branch.

I"m not sure if you want me to patch Apprise so that it accommodates just v21 (of Next Cloud), but then acts the normal way for <= v21 and >= v22? See here for the issue

Thoughts?

@caronc
Copy link
Owner

caronc commented Jul 9, 2021

It's been about a month now; do you guys want me to keep this ticket open and do anything? I'm almost tempted to let Nextcloud get their version fixed and add in the documentation that Apprise won't work with V21. Not sure if a lot of if/else overhead should be written int the Apprise code to handle an upstream error. But this is always still an option.

I'll close this ticket in another week if i don't hear anything back.

@caronc
Copy link
Owner

caronc commented Jul 28, 2021

Just closing this ticket since there has been no further feedback. Please feel free to open another ticket if you still have any questions or concerns.

@amitsax
Copy link

amitsax commented Mar 4, 2022

Just a note, for those with 404 error; if you are using LDAP for user authentication check your intended username where you intend to send the message at: https:///settings/users
it may be a big string of UUID instead of your 'login id'.

also with "/?version=nn" fix - new NC versions =>21 are working now with #432 . Wiki does not have details of that variable yet.

@caronc
Copy link
Owner

caronc commented Mar 4, 2022

Great point @amitsax ! Fixed

@jamincollins
Copy link

if you are using LDAP for user authentication check your intended username where you intend to send the message at: https:///settings/users
it may be a big string of UUID instead of your 'login id'

HUGE thank you! This should likely be mentioned in the documentation.

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

5 participants