changedetection.io icon indicating copy to clipboard operation
changedetection.io copied to clipboard

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

Open cnqp opened this issue 1 year ago • 5 comments

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.

cnqp avatar Nov 09 '24 03:11 cnqp

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

dgtlmoon avatar Nov 10 '24 08:11 dgtlmoon


$ 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 avatar Nov 11 '24 09:11 dgtlmoon

# 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?

dgtlmoon avatar Nov 11 '24 09:11 dgtlmoon

$ apprise -vv -t "Test Message Title" -b "Test Message Body" -n failure   wxpusher://AT_12345/987

2025-01-06 22:53:05,175 - WARNING - Failed to send WxPusher notification, code=200/1001: appToken不正确

$ pip3 list|grep apprise
apprise                                        1.9.1

the works for me..

dgtlmoon avatar Jan 06 '25 21:01 dgtlmoon