foss_warn icon indicating copy to clipboard operation
foss_warn copied to clipboard

Cannot add places any more after update to 1.0.0 and "ntfy.sh" is blocked

Open heapifyman opened this issue 1 year ago • 19 comments

Describe the bug The update to version 1.0.0 (from F-Droid store) did remove all my places (already reported in #227).

And now I cannot add any places anymore. I always get the error message:

Something went wrong. Can not subscribe. Please try again later. The server responded with RegisterAreaError: Invalid request

To Reproduce Steps to reproduce the behavior:

  1. Update to version 1.0.0
  2. Try to add a new place
  3. Error message is shown - place is not added

Expected behavior No error, place should be added to "My places"

Device :

  • Device: Pixel 6
  • OS: GrapheneOS (Android 16, security update October 1, 2025)
  • App-version: 1.0.0
  • Battery optimization: false

Screenshots

Image

heapifyman avatar Sep 13 '25 18:09 heapifyman

I had the same issue using ntfy as UnifiedPush provider, and initially as well using SunUp, but after several tries it works now. However, with this start I'm not really confident yet that it works reliably. I would have preferred if the update would leave the choice for push or pull to the user instead of just deleting the existing configuration.

h86 avatar Sep 13 '25 20:09 h86

I got a similar issue and the application appears to not work anymore. The following error appears when adding places:

Something went wrong. Can not subscribe. Please try again later. The server responded with RegisterAreaError: Your UnifiedPush ntfy.sh is blocked. We can not reliably deliver push notifications to this server. Please choose another one.


Device: Fairphone 6 OS: /e/OS v3.1.2 App version: 1.0.0

lightr4in avatar Sep 14 '25 08:09 lightr4in

I got a similar issue with the new update. I have the ntfy app installed, there is even a subscription for fosswarn, still it is not working:

Image

Device: Pixel 7A OS: GrapheneOS, Google Play services are deactivated

nocluewhatido avatar Sep 14 '25 13:09 nocluewhatido

Same Issue (See german Message in post before) here on samsung galaxy a53 5G with android 15 with latest security updates.

hoolgascht avatar Sep 14 '25 13:09 hoolgascht

I get the same message as @heapifyman with Conversations as a distributor on a Unihertz Titan Slim with Android 11 and on a Motorola Razr 50 Ultra with Android 15 (latest security update 1.7.25), both without FCM.

With ntfy and ntfy.sh, I get the same message as @nocluewhatido on the Motorola with Android 15. With ntfy and unifiedpush.kde.org, it works on the Motorola.

But I would like to use Conversations as a distributor.

dhwds avatar Sep 14 '25 16:09 dhwds

Thank you all for your reports. In this issue, we have a mix of different problems with different solutions. I will close this issue if there are no more new bug reports.

The first issue: "Your UnifiedPush Server ntfy.sh is blocked. We can not reliably deliver push notifications to this server. Please choose another one"

This error occurs if you want to subscribe with the ntfy distributor without changing the default server (ntfy.sh). You have to select another ntfy server in the ntfy app due to the rate limits of the ntfy default server.

So @nocluewhatido, @lightr4in, @hoolgascht, please read the short wikipage about that, check our ntfy server config, and try to subscribe again.

The second issue: Conversations as distributor.

This seems indeed to be a bug that needs further investigation. Currently, if you want to use Conversations as a distributor, you will get the error reported in #226. If you would like to add something to this discussion, please do so in the other issue. We will take a look at this and try to fix it soon.

@heapifyman, did you also use Conversations as a push distributor? If yes, please follow #226. The same applies to @dhwds

@h86 Both ntfy with another default server, as well as SunUp, should work without issues. If you notice any issues there, please open a new issue and add information there.

I hope this clears your questions. Feel free to ask more questions if something is still unclear.

nucleus-ffm avatar Sep 14 '25 18:09 nucleus-ffm

@nucleus-ffm : thank you for your clarification. after some fiddling around with ntfy and my setup i was able to change the default server as advised in the mentioned wiki-page. i've seen this at setup but wasn't able to solve it correctly. as writing this i was registering my location successfully. thanks for the effort. in my case, the "problem" ist fixed.

hoolgascht avatar Sep 14 '25 19:09 hoolgascht

@nucleus-ffm yes, I am also using Conversations. I will follow #226, then. Like @dhwds I would like to keep Conversations because I use it daily, and would like to avoid installing another push distributor just for FOSS Warn.

Both ntfy with another default server, as well as SunUp, should work without issues.

I wanted to try one of those and have two remarks:

  1. ntfy has not been updated for almost 3 years (in f-droid, at least). I am unfamiliar with the app but usually I would hesitate to install such an app, which appears to be unmaintained.
  2. So I tried SunUp but was unable to switch to it in FOSS Warn. I started the Welcome Dialog again from FOSS Warn settings but the Push Notifications page only shows the link "Learn more about UnifiedPush." There is no option to select a push distributor. Is there some other place in the app that I missed, where I can switch push distributors? If there isn't I would consider that a bug. Should I open another issue for that?

heapifyman avatar Sep 14 '25 19:09 heapifyman

@heapifyman

ntfy has not been updated for almost 3 years

That's true, but there is still an active community behind that. I guess there was not much to add, and therefore, there was no new release for some time. The last commit was three weeks ago, and the matrix room is active. But if you wonder, you might just ask them directly.

So I tried SunUp but was unable to switch to it in FOSS Warn...

This can indeed still be improved. Currently, you can troubleshoot the UnifiedPush setup in the developer options under "troubleshoot notifications". There, you can reset the push setup to switch the distributor.

nucleus-ffm avatar Sep 14 '25 19:09 nucleus-ffm

Currently, you can troubleshoot the UnifiedPush setup in the developer options under "troubleshoot notifications". There, you can reset the push setup to switch the distributor.

Thanks, I just now found that setting myself. I think this should be moved to the main settings because the app now requires all users to have at least a minimal understanding of how unified push works. So I would think it's safe to assume that a setting to reset and switch push distributors will not overwhelm them.

Note, when I opened the "Troubleshoot notifications" screen it showed:

Currently registered? true 
Current endpoint: <some conversations URL>

VAPID key and public key also had some values.

Not sure if that helps for resolving #226

Switching to SunUp then worked. Directly after switching, I got an error message in FOSS Warn saying something like "failed to register with push.services.mozilla.com". I then restarted FOSS Warn and was able to add / register a place.

heapifyman avatar Sep 14 '25 19:09 heapifyman

Image I still get this after changing the default server to the kde one

NovaMoon avatar Sep 15 '25 18:09 NovaMoon

I'm getting the same as @NovaMoon using a fresh install of ntfy using the kde server. I'm using a Fairphone 4 with e/os 3.1.1. This version of e/os also brings its own fork of ntfy which is disabled by default. I was trying that one (needed to do some adb magic to switch the server) and also a normal install of ntfy with the e/os one disabled. In both cases the RegisterAreaError occurred.

Edit: I tried UP-Example using the same ntfy installaton, this worked like a charm, so I can rule out my phone as a culprit.

kimmartin42 avatar Sep 16 '25 15:09 kimmartin42

Same issue here as @NovaMoon and @kimmartin42, also after resetting the push config and even reinstalling the app.

Error protocol:

2025-09-18 18:43:33.405483 | FileContext: subscription_handler.dart | ErrorContext: subscribe for area - RegisterAreaError | ErrorMessage: RegisterAreaError: invalid request

Still an entry in ntfy.sh is added, by the way.

obsti8383 avatar Sep 18 '25 16:09 obsti8383

I'm using also /e/OS 3.1.1 and have got also the issue with "ntfy.sh is blocked".

  • I installed the ntfy App and changed the server as described in your wikipage.
  • Then I disabled the Unified Push of /e/OS to force the use of the new installed ntfy.
  • I tested this setup with UP-Example and it worked as expected.

But in FOSS Warn it doesn't work. I still get the message about the blocked ntfy.sh server!

/e/OS is using the same name for its Unified Push: ntfy This can by seen when registering the distributor in UP-Example:

Image

The first is the /e/OS internal, the second the new installed.

Maybe this is the reason why FOSS Warn does not show up the "select push distributor" dialog!? And maybe it does in this case take the first one (which is still the /e/OS ntfy where I can't change the server)!?

@kimmartin42 May you please explain the "adb magic" how you managed it to change the server in /e/OS? (If you don't want to do it here due to off-topic then possibly in the /e/OS forum where there are also some Unified Push issues discussed).

indepemy avatar Sep 27 '25 14:09 indepemy

Update to my previous posting:

After playing around a bit more with the issue I discovered in the developer settings a bit hidden the possibility to reset the Push Setup. (In my opinion this should be available not only in the developer settings but in the "normal" settings because it might be required more often when users are changing their Unified Push setup.)

After resetting it I closed the App and restarted it. Now the dialog "Select push distrbutor" was shown and I was able to select the one with the server I set-up in the ntfy App. BTW: In contrast to the UP-Example App where just two times "ntfy" is displayed here a more meaningful name is displayed which makes it far easier to select the correct one. That's great!

Now I was able to add the desired place to the App and as far as I can see the App is working correctly. For test purposes I adjusted the warning levels to the lowest value now to see if the warnings will arrive...

indepemy avatar Sep 27 '25 17:09 indepemy

Since I saw that for some people it's now working I also tried adding a place again and now it works. I even got a warning since then, so it seems to work as it should. @nucleus-ffm Maybe there was something wrong with the kde server which has now been fixed?

@mstammberger As for the "adb magic", I did what has been described in this blog post.

I did not yet try to reuse the e/os ntfy instance.. but I guess there shouldn't be any reason for it to not work.

kimmartin42 avatar Sep 27 '25 20:09 kimmartin42

I also could add a place now using the KDE server. Interesting enough the FAQ talks about DDOS attacks on the KDE server, so this might have been the issue here.

obsti8383 avatar Sep 28 '25 05:09 obsti8383

Thanks for the feedback. I wasn't aware of a preinstalled ntfy version on /e/ OS, where you can not change the default server, which is really confusing. I will add that to the instructions. It's great to hear that you managed to set up the app even though. I added a note to the wiki page.

About the ntfy instance running at unifiedpush.kde.org, as stated in the wikipage, the server hasn't been reliable at all in the last weeks, so my trust in this server has been weakened. It had multiple outages - even for a longer period. I hope that the KDE team is working on a solution for that, but until then, I would recommend one of the other ntfy servers mentioned in the wiki.

If the push server isn't reachable for like 30 min in case our FOSS Public Alert Server wants to send a notification, the subscription is automatically removed. In FOSSWarn you will see a "Your subscription has expired". As we currently do not expire subscriptions based on the last heartbeat, the only way a subscription can expire is via a non-working push server. So if this happens, you may want to think about switching to another push server.

The "Troubleshoot notification" feature will be moved to the settings in the next version. I didn't expect that we would need that so often.

nucleus-ffm avatar Sep 28 '25 11:09 nucleus-ffm

This error occurs if you want to subscribe with the ntfy distributor without changing the default server (ntfy.sh). You have to select another ntfy server in the ntfy app due to the rate limits of the ntfy default server.

While I get this point, I think it should still be possible to add a place with a "blocked" UnifiedPush provider. Without changing the server, I'm not able to add any places to lookup warnings manually.

provokateurin avatar Jan 10 '26 10:01 provokateurin