Feed cannot be added in iOS app
Hello,
First of all thanks for the great work on the iOS app!
I am not able to add the feed https://ledrenche.ouest-france.fr/feed/ in the iOS app (version 6.0.2 Build 610 - iOS 15.0.2) whereas the feed is displayed correctly in my browser (Firefox with Want my RSS extension).
The error message is: The feed couldn't be found and can't be added..
Is it a known bug?
Thank you in advance!
What kind of account are you using to sync with?
None. I try to add the feed in a folder which is in the category "On my iPhone".
It will add the feed if you remove the trailing slash.
I'm sorry but it didn't work even without the trailing slash. (You meant https://ledrenche.ouest-france.fr/feed right?)
Yeah, but without the trailing space.

Very strange that it worked for you whereas it didn't for me.
The values I tried:
- https://ledrenche.ouest-france.fr/feed (without trailing space)
- https://ledrenche.ouest-france.fr/feed/
The same error is reported for each of them.
@vincode-io any idea what I could try to solve my problem?
Would reinstalling the app help?
Thanks in advance!
The only thing I can think of is that the server is redirecting you based on your locale or language settings. If you set your locale and language on your iPhone to US English are you able to add it then?
This is a real long shot, but I'm grasping at straws here. I've been able to add that feed multiple times without problem on the exact same version of NNW that you are using.
Thanks for the new suggestion but it didn't help to set region and language to US English...
Is there a way to turn on debug logs or something similar to get more information about the error?
Have you tried the new 6.1 Beta yet? Maybe it will help. Again, I am just grasping at straws here.
We don't have any way to capture that kind of info via logs at this time.
Thanks again to keep on trying to fix my problem!
I installed 6.1 beta but I was still not able to add the feed. Then I deleted the app completely (with all its data), reinstalled the 6.1 beta but still no luck 🙁
I will try on other devices and I will post back here.
(By the way it was not easy to find the Test Flight link to install the beta: I used a link in an old blog post (from September). Maybe you should add the Test Flight link to subscribe to beta versions in the Readme of this repository as people checking the source code are usually also interested in installing beta versions 😉)
I tested on another iPhone running on iOS 15.0.1 with NetNewsWire 6.0.2 and I got the same error as on my phone. This iPhone is configured with French as language and France as region so maybe it is related to locale as you guessed since it works on your phone.
But it is very strange that it doesn't work with French locale as it is a French-only feed.
Language and region don't seem to be the problem. I changed them to French/France and was able to still subscribe to the feed.
You mentioned that you might be browsing the code. Are you a developer? If so, can you snoop the http requests using Proxyman, Charles, or some other kind of http monitor? That could tell us what we are getting back from the server. It might be blocking you based on IP or something.
@thombet Did you ever get a solution to your problem?
Nope. Just tried again with 6.1 build 6104 and there is still the problem on my phone.
I didn't take the time to try what you suggested in your last comment.
Are you still seeing this bug?
Yes. I tried again with version 6.1.1 (build 6114) and iOS 15.4.1 and the same error appears.
Would you go into Terminal, copy-and-paste the following, then hit return…
curl -I https://ledrenche.ouest-france.fr/feed/
…then reply here with what it says?
(The above command gets the HTTP response header from the server for that feed.)
This is the response:
HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Thu, 09 Mar 2023 23:18:45 GMT
Content-Type: text/html
Content-Length: 162
Connection: keep-alive
Location: https://ledrenche.fr/feed/
But how does it relate to the iOS app?
The redirect response is not surprising (and is fine). Let’s try it again with the new URL:
curl -I https://ledrenche.fr/feed/
It returns:
HTTP/1.1 403 Forbidden
Date: Fri, 10 Mar 2023 08:04:31 GMT
Content-Type: text/html; charset=iso-8859-1
X-Request-ID: 575963303
Cache-Control: no-cache
Vary: Accept-Encoding
X-CDN-Pop: rbx1
X-CDN-Pop-IP: 51.254.41.128/25
X-Cacheable: Cacheable
Connection: keep-alive
May I ask how the response on my machine may be different than the response on your machine?
When I try that on my Mac, I get:
HTTP/2 403
date: Sat, 11 Mar 2023 04:30:49 GMT
content-type: text/html; charset=iso-8859-1
server: Apache
â¦but I can also add the feed to NetNewsWire on that same Mac! And I can add it to NetNewsWire on iOS.
Hereâs my theory: their server is looking at some combination of things â user agent, IP address (maybe determining location), and who knows what else â and is returning a 403 in some cases.
Thereâs nothing we can do about it â itâs a bug on their end, unfortunately. I wish I could help more!