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

'wxpusher://' is not a valid AppRise URL. #2771

Open
hebpta opened this issue Nov 9, 2024 · 5 comments
Open

'wxpusher://' is not a valid AppRise URL. #2771

hebpta opened this issue Nov 9, 2024 · 5 comments
Assignees
Labels

Comments

@hebpta
Copy link

hebpta commented Nov 9, 2024

Bug Description:
I noticed that WxPusher is supported in apprise, but when I try to enter a URL that starts with wxpusher:// into the notification settings, it throws an error.

Error Message: 'wxpusher://{app_token}@{topic}' is not a valid AppRise URL.

Version:
Exact version displayed in the top right corner: 0.47.06

To Reproduce:

1.Go to 'settings'
2.Click on 'notifications'
3.Enter the AppRise WxPusher URL 'wxpusher://{app_token}@{topic}'
4.An error occurs when trying to save, stating "Error: 'wxpusher://{app_token}@{topic}' is not a valid AppRise URL."

! ALWAYS INCLUDE AN EXAMPLE URL WHERE IT IS POSSIBLE TO RE-CREATE THE ISSUE - USE THE 'SHARE WATCH' FEATURE AND PASTE IN THE SHARE-LINK!

Expected Behavior:
If apprise supports it, the test notification should be effective.

Screenshots:
If applicable, add screenshots to help explain your problem.

Desktop Environment:

OS: Windows 11 Professional Edition
Browser: Microsoft Edge
Version: 130.0.2849.80 (64-bit)

Additional context
Add any other context about the problem here.

@dgtlmoon
Copy link
Owner

i guess you are not using docker, right? can you upgrade apprise? pip3 install apprise --upgrade ?

@hebpta
Copy link
Author

hebpta commented Nov 11, 2024

i guess you are not using docker, right? can you upgrade apprise? pip3 install apprise --upgrade ?

Deployed by Docker, I just pulled dgtlmoon/changedetection.io:latest again, and the error 'wxpusher://AppToken@Topic1/Topic2/Topic3' is not a valid AppRise URL. is still being reproduced.

Terminal execution log
# pip3 install apprise --upgrade Requirement already satisfied: apprise in /usr/local (1.9.0) Requirement already satisfied: certifi in /usr/local (from apprise) (2024.8.30) Requirement already satisfied: requests in /usr/local (from apprise) (2.32.3) Requirement already satisfied: requests-oauthlib in /usr/local (from apprise) (2.0.0) Requirement already satisfied: click>=5.0 in /usr/local (from apprise) (8.1.7) Requirement already satisfied: markdown in /usr/local (from apprise) (3.7) Requirement already satisfied: PyYAML in /usr/local (from apprise) (6.0.2) Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local (from requests->apprise) (3.4.0) Requirement already satisfied: idna<4,>=2.5 in /usr/local (from requests->apprise) (3.10) Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local (from requests->apprise) (1.26.19) Requirement already satisfied: oauthlib>=3.0.0 in /usr/local (from requests-oauthlib->apprise) (3.2.2)

@dgtlmoon
Copy link
Owner

dgtlmoon commented Nov 11, 2024


$ apprise wxpusher://apptoken/123/343/UID_ABCD
2024-11-11 10:30:58,270 - ERROR - Could not load WxPusher URL: wxpusher://apptoken/123/343/U...D
You must specify at least one server URL or populated configuration file.
Try 'apprise --help' for more information.


$ apprise --version
Apprise v1.9.0

yeah something up in apprise maybe?

@dgtlmoon
Copy link
Owner

# Assuming our {app_key} is AT_12345
# Assuming our {topic} is 987
apprise -vv -t "Test Message Title" -b "Test Message Body" -n failure  \
   wxpusher://AT_12345/987

this works for me, using / instead of @ https://github.com/caronc/apprise/wiki/Notify_wxpusher#example

does it solve it for you?

@hebpta
Copy link
Author

hebpta commented Nov 11, 2024

# Assuming our {app_key} is AT_12345
# Assuming our {topic} is 987
apprise -vv -t "Test Message Title" -b "Test Message Body" -n failure  \
   wxpusher://AT_12345/987

this works for me, using / instead of @ https://github.com/caronc/apprise/wiki/Notify_wxpusher#example

does it solve it for you?

'wxpusher://apptoken/123/343/' is not a valid AppRise URL.

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

2 participants