No Code Attached Yet
avatar dautrich
dautrich
19 Oct 2023

Steps to reproduce the issue

  1. Choose an arbitrary RSS Feed (i.e. Stadt Wächtersbach, displayed in Thunderbird)

RSS_Feed

  1. In Joomla 5.0.0 backend, navigate to Components - News Feeds - Feeds

  2. Add a new Newsfeed as in the screenshots below

New_Newsfeed
grafik
Save and close

  1. Create a new menu item of type Single Newsfeed as in the screenshot below
    Create_Menuitem
    Save and close

  2. Open frontend and click on menu item "News Feed Wächtersbach"

Expected result

The first 5 posts from the newsfeed of Stadt Wächtersbach are displayed.

Actual result

An error message is displayed: "Error. Feed could not be retrieved. "

Frontend

System information (as much as possible)

Joomla 5.0.0
PHP 8.2.
MySQL 8.0.33

Fresh Joomla installation without any other content or extensions.

Additional comments

avatar dautrich dautrich - open - 19 Oct 2023
avatar joomla-cms-bot joomla-cms-bot - labeled - 19 Oct 2023
avatar joomla-cms-bot joomla-cms-bot - change - 19 Oct 2023
Labels Added: No Code Attached Yet
avatar dautrich dautrich - change - 19 Oct 2023
The description was changed
avatar dautrich dautrich - edited - 19 Oct 2023
avatar brianteeman
brianteeman - comment - 19 Oct 2023

Unable to replicate with multiple feeds including https://lorem-rss.herokuapp.com/

avatar dautrich
dautrich - comment - 19 Oct 2023

The issue seems to exist with the specific feed I used as an example. Using a feed created from one of my sites, the feed is displayed:
grafik

avatar brianteeman
brianteeman - comment - 19 Oct 2023

can you share a link to that feed then

avatar dautrich
dautrich - comment - 19 Oct 2023

Up to J4.4.0, the following feed works okay:
https://www.stadt-waechtersbach.de/service/news-feed-der-stadt-waechtersbach/rss.xml

Here the newsfeed item:
grafik

... leading to this display (with some CSS):
grafik

avatar dautrich
dautrich - comment - 19 Oct 2023

Here is the start of the feed:
grafik

avatar brianteeman
brianteeman - comment - 19 Oct 2023

Works fine from here
image

avatar dautrich
dautrich - comment - 19 Oct 2023

@brianteeman
So, what's wrong with my installations. The feed doesn't display under J5.0.0 on two completely different installations:

  • A freshly set up J5.0.0 with no other content,
  • My complex website updated to J5.0.0 (in a testdomain).
avatar brianteeman
brianteeman - comment - 19 Oct 2023

No idea as I am not sat in front of your computer. Could even be that the feed provider has blocked your ip address

avatar dautrich
dautrich - comment - 19 Oct 2023

@brianteeman

"Could even be that the feed provider has blocked your ip address"

No, I work closely together with them. I don't think that they would ever block an IP address.

avatar HLeithner
HLeithner - comment - 19 Oct 2023

hmm works for me too on a fresh joomla 5.0 installation same out put as brian.

Feed could not be retrieved could have several reasons, could you activate debug mode and see if you get any useful information?

avatar dautrich
dautrich - comment - 19 Oct 2023

@HLeithner
I can do so, but I'm not particularly good at interpreting debug mode displays. Would you like to look yourself? If yes, I can add a superuser account to both my testsites.

avatar brianteeman
brianteeman - comment - 19 Oct 2023

either way this is not a core joomla bug and should be closed here and moved elsewhere which is targetted at user support

avatar dautrich
dautrich - comment - 19 Oct 2023

@brianteeman
I don't completely agree. My setup has been working in numerous Joomla versions, up to and including J4.4.0. I didn't change the setup, only updated to J5.0.0. There must be a reason for that.
And I verified the issue in a fresh J5 installation.

avatar HLeithner
HLeithner - comment - 19 Oct 2023
avatar HLeithner
HLeithner - comment - 19 Oct 2023

it's likely not a joomla issue but if it works on the same server with 4.4 and not with 5.0 looks like a regression, we will see.

avatar HLeithner
HLeithner - comment - 22 Oct 2023

I checked your site and get the following out of curl for debugging:

*   Trying 80.69.201.211:443...
* Connected to www.stadt-waechtersbach.de (80.69.201.211) port 443 (#0)
* ALPN, offering http/1.1
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use http/1.1
* Server certificate:
*  subject: CN=www.stadt-waechtersbach.de
*  start date: Dec 29 00:00:00 2022 GMT
*  expire date: Dec 29 23:59:59 2023 GMT
*  subjectAltName: host "www.stadt-waechtersbach.de" matched cert's "www.stadt-waechtersbach.de"
*  issuer: C=GB; ST=Greater Manchester; L=Salford; O=Sectigo Limited; CN=Sectigo RSA Domain Validation Secure Server CA
*  SSL certificate verify ok.
> GET /service/news-feed-der-stadt-waechtersbach/rss.xml HTTP/1.1
Host: www.stadt-waechtersbach.de
Accept: */*

* old SSL session ID is stale, removing
* Mark bundle as not supporting multiuse
< HTTP/1.1 303 See Other
< Date: Sun, 22 Oct 2023 11:02:27 GMT
< Server: Apache
< Set-Cookie: AL_SESS-S=AfdxOn42YIXV6YjZBTKK3jLuvl67Y5EFkZL6eTyPkJW3DtAymFTTOuSbj3N3dBgaJbr8; Path=/; Secure; HttpOnly; SameSite=Lax
< Content-Length: 123
< Location: /error_path/400.html?al_req_id=ZTUBQ0A6qMbMvXDVcQ7kGgAAA1M
< Content-Type: text/html
< 
* Ignoring the response-body
* Connection #0 to host www.stadt-waechtersbach.de left intact
* Issue another request to this URL: 'https://www.stadt-waechtersbach.de/error_path/400.html?al_req_id=ZTUBQ0A6qMbMvXDVcQ7kGgAAA1M'
* Found bundle for host www.stadt-waechtersbach.de: 0x7f9f8ddff7f0 [serially]
* Re-using existing connection! (#0) with host www.stadt-waechtersbach.de
* Connected to www.stadt-waechtersbach.de (80.69.201.211) port 443 (#0)
> GET /error_path/400.html?al_req_id=ZTUBQ0A6qMbMvXDVcQ7kGgAAA1M HTTP/1.1
Host: www.stadt-waechtersbach.de
Accept: */*

* Mark bundle as not supporting multiuse
< HTTP/1.1 400 Bad Request
< Date: Sun, 22 Oct 2023 11:02:27 GMT
< Server: Apache
< Cache-Control: no-cache
< Pragma: no-cache
< Connection: close
< Transfer-Encoding: chunked
< Content-Type: text/html
< 
* Closing connection 0

I'm not sure where the problem is but it looks more server like... I tried XMLReader directly, HTTPFactory (which I would expect use curl), curl directly see debug output and file_get_contents. All functions fails on this server...

Can you install me a 4.4 on the same server please and send me the login data?

avatar dautrich
dautrich - comment - 22 Oct 2023

@HLeithner

I don't know whether you got two e-mails that I sent to your business mail address. I've attached those mails to a response mail to this post.

The first mail gives you superuser access to my test site. The second one shows the result of checking the RSS feed with the W3C validator.

Give me some time to prepare a J4 site for you. I'll come back to you later.

avatar HLeithner HLeithner - change - 22 Oct 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-10-22 15:39:24
Closed_By HLeithner
avatar HLeithner HLeithner - close - 22 Oct 2023
avatar HLeithner
HLeithner - comment - 22 Oct 2023

I'm closing this for now, because it looks like an issue on the server (hoster or xml provider) which blocks the request. If you find out that the issues is part of joomla please feel free to reopen the issue.

Add a Comment

Login with GitHub to post a comment