You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding rate-limited feeds is failing due to the way NetNewsWire is adding these feeds. This problem is observed using these versions:
NetNewsWire 6.1.9 on macOS 15.3.1
NetNewsWire 6.1.8 on iOS/iPadOS 18.3.1
I wanted to add the feed of Rachelbythebays' writings (https://rachelbythebay.com/w/atom.xml) but it kept failing. I knew that Rachel is rate-limiting the feed. The rules are simple: you may do unconditional requests once every 24 hours and/or you may do conditional requests every hour. (As a side note: Rachel wrote a couple of very interesting posts about the (mis)behaviour of feed readers, which are worth while reading).
After waiting for almost 48 hours, I could still not add the feed, so I contacted Rachel to ask her what is going on. After all, I was way past the 'unconditional request time'. Rachel replied that the logs of her server show that NetNewsWire is doing two and sometimes three GETs while adding a feed ('ip' is my redacted home IP address):
As can be seen, the result of the second request is a 429 status (Too Many Requests): the rate-limiting is kicking in, since the second request comes too quickly. Rachel also stated that the requests above where unconditional requests. At least the second and subsequent requests should be conditionally (please see next paragraph).
To verify the behaviour, I spun up a Python webserver, serving a simple and small atom.xml, but not using rate-limiting. When adding this feed, the logs shows the two GETs as well. Obviously, adding this feed succeeds, since in this setup no rate-limiting is used. Subsequent request are in fact conditional requests, what is expected. I also tested if there is a difference in behaviour when adding the feed to iCloud or a local account, but the behaviour (the two GETs) is the same.
The main question is: why does NetNewsWire do two GETs when adding a feed?
Besides reporting this issue, I have a feature request: Please add the version number of NetNewsWire to the User-Agent string and preferably the kind of device (iOS, iPadOS, macOS) too.
Thanks,
Remy
The text was updated successfully, but these errors were encountered:
Adding rate-limited feeds is failing due to the way NetNewsWire is adding these feeds. This problem is observed using these versions:
I wanted to add the feed of Rachelbythebays' writings (https://rachelbythebay.com/w/atom.xml) but it kept failing. I knew that Rachel is rate-limiting the feed. The rules are simple: you may do unconditional requests once every 24 hours and/or you may do conditional requests every hour. (As a side note: Rachel wrote a couple of very interesting posts about the (mis)behaviour of feed readers, which are worth while reading).
After waiting for almost 48 hours, I could still not add the feed, so I contacted Rachel to ask her what is going on. After all, I was way past the 'unconditional request time'. Rachel replied that the logs of her server show that NetNewsWire is doing two and sometimes three GETs while adding a feed ('ip' is my redacted home IP address):
As can be seen, the result of the second request is a 429 status (Too Many Requests): the rate-limiting is kicking in, since the second request comes too quickly. Rachel also stated that the requests above where unconditional requests. At least the second and subsequent requests should be conditionally (please see next paragraph).
To verify the behaviour, I spun up a Python webserver, serving a simple and small atom.xml, but not using rate-limiting. When adding this feed, the logs shows the two GETs as well. Obviously, adding this feed succeeds, since in this setup no rate-limiting is used. Subsequent request are in fact conditional requests, what is expected. I also tested if there is a difference in behaviour when adding the feed to iCloud or a local account, but the behaviour (the two GETs) is the same.
The main question is: why does NetNewsWire do two GETs when adding a feed?
Besides reporting this issue, I have a feature request: Please add the version number of NetNewsWire to the User-Agent string and preferably the kind of device (iOS, iPadOS, macOS) too.
Thanks,
Remy
The text was updated successfully, but these errors were encountered: