Keyword

Feeds not valid that were

  • Bryan Teague
  • Bryan Teague's Avatar Topic Author
  • Offline
  • New Member
More
3 weeks 6 days ago #176533 by Bryan Teague
Feeds not valid that were was created by Bryan Teague
Hi,

I have a couple of feeds going into a site one of the feeds is from another page on the site and neither of these feeds are being picked up. I upgraded to V3.8 from v3.7 to see if that would resolve the problem but it is not. The feeds are listed below. I am getting the error Failed loading XML... previously with V3.7 I was getting that error along with something else that had since cleared up. The site is: madtrucker.com/ and the 2 feeds in question are below. I can use NetNewsWire and that is able to fetch and display both feeds.

madtrucker.com/our-stories/?format=feed&type=rss
www.trucknews.com/rss/

Any help on this would be great.

Thank you,
Mike

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
3 weeks 5 days ago #176536 by Fotis
Replied by Fotis on topic Feeds not valid that were
Try the one with the latest changes from the repo (directly): github.com/joomlaworks/simple-rss-feed-reader/archive/master.zip

Let me know.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

  • Bryan Teague
  • Bryan Teague's Avatar Topic Author
  • Offline
  • New Member
More
3 weeks 5 days ago - 3 weeks 5 days ago #176541 by Bryan Teague
Replied by Bryan Teague on topic Feeds not valid that were
Thank you, I downloaded that and gave it a try and I am still seeing the Failed loading XML... error message. When I installed the extension at the bottom it said: (Last update: March 29th, 2020 - version 3.8.0). FYI. I did go into the cache directory and clear that manually to be on the safe side.

Thank you,
Mike
Last edit: 3 weeks 5 days ago by Bryan Teague. Reason: added that I cleared the cache

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
3 weeks 5 days ago #176543 by Fotis
Replied by Fotis on topic Feeds not valid that were
Try each feed separately and after saving the module, clear your cache to remove the cached data from each feed.

Do this to find out which feed fails.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

  • Bryan Teague
  • Bryan Teague's Avatar Topic Author
  • Offline
  • New Member
More
3 weeks 5 days ago #176544 by Bryan Teague
Replied by Bryan Teague on topic Feeds not valid that were
Thank you for getting back to me, the only feed still failing is this one: madtrucker.com/our-stories/?format=feed&type=rss which opens in my RSS reader as it should. This is a feed out of page madtrucker.com/our-stories to get these onto the front page. This used to work fine, I think it might have started failing when I updated to V3.7 about a month or two back and we did not notice the problem as I failed to clear the cache, after updating the extension.

Mike

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
3 weeks 4 days ago #176549 by Fotis
Replied by Fotis on topic Feeds not valid that were
Just tested that feed and it works just fine for me. See this: jmp.sh/6a8JJmz

Perhaps it's some .htaccess rule or some other recent server change that's causing your own site to not be able to parse its own feeds...

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.

  • Bryan Teague
  • Bryan Teague's Avatar Topic Author
  • Offline
  • New Member
More
3 weeks 4 days ago #176553 by Bryan Teague
Replied by Bryan Teague on topic Feeds not valid that were
Thank you for checking that for me, I created a test page on my site and it works there too. I then cleared and then checked the logs on both sites after going to the page, on my site the log is empty and the page displays fine but on madtrucker.com/ I am getting the following errors. Does any of these message, help with letting me know where to look for the problem on my end?

Thank you,
Mike


[15-Jul-2020 16:23:17 UTC] PHP Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /home/tcl9uqn2nzcl/public_html/madtrucker.com/modules/mod_jw_srfr/helper.php on line 278
[15-Jul-2020 16:23:17 UTC] PHP Warning: file_get_contents(): Failed to enable crypto in /home/tcl9uqn2nzcl/public_html/madtrucker.com/modules/mod_jw_srfr/helper.php on line 278
[15-Jul-2020 16:23:17 UTC] PHP Warning: file_get_contents( madtrucker.com/our-stories/?format=feed&type=rss ): failed to open stream: operation failed in /home/tcl9uqn2nzcl/public_html/madtrucker.com/modules/mod_jw_srfr/helper.php on line 278
[15-Jul-2020 16:23:17 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/tcl9uqn2nzcl/public_html/madtrucker.com/modules/mod_jw_srfr/tmpl/default/default.php on line 25
[15-Jul-2020 16:23:23 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/tcl9uqn2nzcl/public_html/madtrucker.com/modules/mod_jw_srfr/tmpl/default/default.php on line 25
[15-Jul-2020 16:23:34 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/tcl9uqn2nzcl/public_html/madtrucker.com/modules/mod_jw_srfr/tmpl/default/default.php on line 25

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
3 weeks 3 days ago - 3 weeks 3 days ago #176558 by Fotis
Replied by Fotis on topic Feeds not valid that were
Indeed I did saw SSL issues when checking that feed using curl on a terminal, so ensure that your site is properly served over HTTPS.

My curl results for your reference:
$ curl -I "https://madtrucker.com/our-stories/?format=feed&type=rss"
curl: (60) SSL certificate problem: certificate has expired
More details here: https://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). If the default
 bundle file isn't adequate, you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.
HTTPS-proxy has similar options --proxy-cacert and --proxy-insecure.

Bypassing the certificate error, I also get a weird 403 error:
$ curl -Ik "https://madtrucker.com/our-stories/?format=feed&type=rss"
HTTP/2 403 
date: Thu, 16 Jul 2020 17:18:59 GMT
server: Apache
set-cookie: 673ea030266f802836c48f0882991c06=de429d48a69d3bf6420bd436e87578cd; path=/; HttpOnly
x-content-type-options: nosniff
vary: User-Agent
content-type: text/html; charset=UTF-8

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member
Last edit: 3 weeks 3 days ago by Fotis.

Please Log in or Create an account to join the conversation.

  • Bryan Teague
  • Bryan Teague's Avatar Topic Author
  • Offline
  • New Member
More
3 weeks 3 days ago #176561 by Bryan Teague
Replied by Bryan Teague on topic Feeds not valid that were
Thank you so much, that tells me where to look. The SSL is valid with a correct name, it might be the bundle or something was not installed correctly. I will look into that, the weird 403 was the site firewall blocking you for some reason. I will also look into that now that I know there is a problem.

Once again, thank you!
Mike

Please Log in or Create an account to join the conversation.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
3 weeks 3 days ago #176562 by Fotis
Replied by Fotis on topic Feeds not valid that were
True, the 403 error probably came up because I used curl on the terminal and did not specify a valid browser user-agent. The module DOES use a browser user-agent to bypass such restrictions, but in your case, file_get_contents() falls back to a default check of the site's SSL certificate and whether it's valid or not.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum