Notify icon indicating copy to clipboard operation
Notify copied to clipboard

Unable to receive message from a reserved topic

Open GrassBlock1 opened this issue 1 year ago • 3 comments

I have set up a ntfy server with the following acl: image And I add the grassblock user in the preference page: image

But when I subscribe the reserved topic me, I can't receive the message with continually "connecting": image

Sending message is OK though, but the message list can't be updated.

GrassBlock1 avatar Nov 14 '24 13:11 GrassBlock1

I have the same issue.

Notify version: 0.1.6 ntfy.sh version: 2.11.0

Self-hosted ntfy.sh instance behind Cloudflare Tunnel.

Added account credentials under Preferences with username and password. Subscribed to available topic from custom server.

The topics all show Degraded and won't receive any notifications.

I opened the application using CLI with

flatpak run com.ranfdev.Notify

The output shows these errors:

Topic monitor had no notifications yet

Caused by:
    expected value at line 1 column 1
2025-01-08T06:45:15.962887Z  INFO ntfy_daemon::topic_listener: restarting delay=2s
2025-01-08T06:45:15.962920Z  INFO recv_and_forward: ntfy_daemon::topic_listener: listening topic=monitor
2025-01-08T06:45:15.962935Z ERROR ntfy_daemon::topic_listener: error=can't parse the minimum set of required fields from the message error code: 524

While typing this message, I tried again, but this time I entered the URL for the custom server without the trailing slash.

Now the notifications come flooding in.

I am fairly sure that I have tried both with and without trailing slash and none worked. Will report back if I identify any more issues.

bannert1337 avatar Jan 08 '25 06:01 bannert1337

@GrassBlock1 can you try to enter the URL for the custom server without trailing slash?

bannert1337 avatar Jan 08 '25 06:01 bannert1337

can you try to enter the URL for the custom server without trailing slash?

my initial setup was a server without trailing slash... I tried this setup with another server and a topic not reserved and it seems ok.

GrassBlock1 avatar Jan 09 '25 12:01 GrassBlock1