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

Can't Parse URL with hyphen in domain name. #92

Open
todall opened this issue Nov 19, 2023 · 4 comments
Open

Can't Parse URL with hyphen in domain name. #92

todall opened this issue Nov 19, 2023 · 4 comments

Comments

@todall
Copy link

todall commented Nov 19, 2023

I'm not sure if this is a mailrise issue or an apprise issue but I'm running the mailrise docker. Actual URL and token have been changed below:

mailrise config:

"[email protected]":
urls:
- gotifys://gotify.first-last.net/2349sSDJfjk3jk21d

Docker Log:
[2023-11-19 21:41:35] ERROR:apprise:Unparseable Gotify URL gotify://gotify.first-last.net:2349sSDJfjk3jk21d
[2023-11-19 21:41:35] WARNING:apprise:Unparseable URL gotify://gotify.first-last.net:2349sSDJfjk3jk21d, entry #1
[2023-11-19 21:41:35] WARNING:apprise:Failed to load Apprise configuration from memory://
[2023-11-19 21:41:35] ERROR:apprise:There are no service(s) to notify
[2023-11-19 21:41:35] WARNING:mailrise.skeleton:Notification failed: address: [ [no sender] ➤ [email protected] ] subject: [ Test Subject ] body: [ This is a test (0.0K) ]
[2023-11-19 21:46:27] WARNING:apprise:No message body or attachment was specified.
[2023-11-19 21:46:27] WARNING:mailrise.skeleton:Notification failed: address: [ "Test Sender" ➤ [email protected] ] subject: [ Test Subject ] body: [ (0.0K) ]
[2023-11-19 21:47:11] WARNING:mail.log:('192.168.0.116', 63711) unrecognised: SSH-2.0-PUTTY_RELEASE_0.76
[2023-11-19 21:48:10] WARNING:apprise:Failed to send Gotify notification: Verification Failed., error=401.
[2023-11-19 21:48:10] WARNING:mailrise.skeleton:Notification failed: address: [ [no sender] ➤ [email protected] ] subject: [ [no subject] ] body: [ Testing (0.0K) ]

I am able to use discord and pushover notifcations from the same mailrise docker. Only the gotify fails. I don't use the hyphenated URL for discord or pushover.

@AlBundy33
Copy link

afaik you only have to use " if your mail contains "special-characters" (e.g. "*@*")
maybe [email protected] works

because mailrise.xyz is the default-domain it should be enough to specify gotify

@AlBundy33
Copy link

Have you tried to put the url in doublequotes?

@todall
Copy link
Author

todall commented Aug 3, 2024

No, I just used the ip address.

@AlBundy33
Copy link

maybe it was just a typo?

url: gotifys://gotify.first-last.net/2349sSDJfjk3jk21d
log:  gotify://gotify.first-last.net:2349sSDJfjk3jk21d

url gotifys with / and log gotify (without s) and : instead of /

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants