• Resolved oliverding1973

    (@oliverding1973)


    I have used Feedzy RSS for many years and was always content. Recently, I equipped some of the best-of playlist posts with a Feed, because I grouped them via decades. I wanted to display each post with an overview of playlist posts from the same decade. So I used this shortcode:

    [feedzy-rss feeds=“https://sockenseite.de/wordpress/tag/aughts/feed/“ max=“20″ refresh=“7″ feed_title=“no“ sort=“date_asc“ summary=“no“ “ target=“_self“]

    This seems to have led to some sort of DOS on the server with loads of Internal Server Errors, so my provider warned me. AFAICS the reference for the feed in the posting is no part of the displayed part of post, so I didn’t expect for this to happen.

    However, my only way of avoiding this loop is to remove the shortcode from all post items. Do you have an idea, how I can manage to make use of the decade feeds WITHOUT breaking the server?

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Mat

    (@mateithemeisle)

    Hello @oliverding1973,

    Thank you for using Feedzy and for reaching out!

    The problem is that you are trying to import a feed from your own website on your website and sometimes hosting environments don’t like that. Like in this case, you get internal server errors which in turn lead to not achieving the desired effect.

    However, if I understood correctly, you managed to find a solution to display the
    Decade list in the single post.(screenshot).

    Thank you and please let us know if you are still facing issues!

    Thread Starter oliverding1973

    (@oliverding1973)

    I removed the loop, like you found out. I had been using feeds from the own site on various hosts. The first time it ran into a problem whas after the update from early August. So I suspect it is not the host, but the recent change. The later update did not change the problem, as I ran into the same problem on another site (same provider).

    I can’t retrieve the logs for some reason I haven’t been able to sort out. So I can’t verify if it is the same error that is being created. In the original setting I got this from the log:

    "Undefined offset: 1 in /***/***/*******/****/****/wordpress/wp-content/plugins/feedzy-rss-feeds/includes/abstract/feedzy-rss-feeds-admin-abstract.php on line 712"

    Thread Starter oliverding1973

    (@oliverding1973)

    [06-Sep-2021 21:37:06] WARNING: [pool www] child 27336 said into stderr: "[06-Sep-2021 19:37:06 UTC] PHP Notice: A feed could not be found at''. Empty body. in /***/***/********/********/html/wp-includes/class-simplepie.php on line 1430"
    [06-Sep-2021 21:37:06] WARNING: [pool www] child 27336 said into stderr: "[06-Sep-2021 19:37:06 UTC] Feedzy RSS Feeds - related feed: https://piratenpartei-leverkusen.de/category/leverkusen/ideen-und-visionen/benutzbare-stadt/feed/ - Error message: WP HTTP Error: cURL error 28: Operation timed out after 10000 milliseconds with 0 bytes received"

    This causes the error. I have temporarily replaced Feedzy via the shortcoded RSS widget from WordPress. This does the job of showing the articles, but it is not that configurable. For instance it doesn’t show the selected post image.

    As I said before: It doesn’t seem to be caused by the host, as it hasn’t been a problem for months. It only started getting problematic after the update early August. And the RSS widget uses the same source. So it shouldn’t be the host that is causing timeouts when calling the feed’s source.

    Mat

    (@mateithemeisle)

    Hello @oliverding1973,

    Thank you for providing the above details!

    First thing is that the shortcode is not correct due to an extra ” that is placed right before the target tag and also becaue the refresh tag is not used properly. That tag has to look like 7_days or 7_hours etc. This is why it throws the cURL error and those logs.

    Thus please try the below-corrected shortcode and let us know if it worked for you!
    [feedzy-rss feeds="https://sockenseite.de/wordpress/tag/aughts/feed/" max="20" refresh="7_days" feed_title="no" sort="date_asc" summary="no" "target="_self"]

    Thank you and we’ll await your response!

    Thread Starter oliverding1973

    (@oliverding1973)

    I am using now the following shortcode:
    [feedzy-rss feeds=“https://sockenseite.de/wordpress/tag/aughts/feed/“ max=“20″ refresh=“7_days“ feed_title=“no“ sort=“date_asc“ summary=“no“ target=“_self“]

    However, it still breaks the feed of the tag.

    My interpretation is, that a feedback is caused by the fact, that the articles with the relevant tag include a link to the feed, in which they are included. However, the link to the feed is not in the part of the articles that is displayed. I think, there could be a solution to not include parts of the article that are not displayed in the creation of the output.

    Thread Starter oliverding1973

    (@oliverding1973)

    My hoster tells me:

    # grep 'Feedzy RSS Feeds' /home/ding/logs/error_log_php.{1..3} |wc -l
    301945

    There are loads of errors caused, when I activate the plugin. They suggest to set the CURLOPT_TIMEOUT to a number higher than 10,000 milliseconds.

    There is a timeout for the feed, which leads to PHP-FPM-Worker and Apache waiting for each other. Meanwhile, dozens of other ports are being blocked with new slots requesting the feed. They had to cancel 595 slots for the same URL.

    Mat

    (@mateithemeisle)

    Hello @oliverding197,

    Apologies for the delayed reply!

    From your shortcode, it seems like the quotes are still wrong thus I created a gist on GitHub to make sure no text formatting errors appear. You can access it here.

    Can you please copy the code from the gist and see if it works now?

    If it still doesn’t work we’ll troubleshoot further but it’s imperative that we remove this small but yet damaging formatting error.

    Thank you and we’ll await your answer!

    Thread Starter oliverding1973

    (@oliverding1973)

    [feedzy-rss feeds="https://sockenseite.de/wordpress/tag/aughts/feed/" max="20" refresh="7_days" feed_title="no" sort="date_asc" summary="no" "target="_self"]
    is what’s been in there. I can see no difference, as the hyphen has been removed and was not the cause of the problems. There are no such hyphensv in between in the other shortcodes.

    Still there is a problem with request floods caused by the Plugin. I tried to repair it by adding

     CURLOPT_TIMEOUT => 30,
     CURLOPT_TIMEOUT_MS => 30000,

    to lines 723 to 732 of /wp-content/plugins/feedzy-rss-feeds/includes/abstract/feedzy-rss-feeds-admin-abstract.php. But this didn’t help.

    My hoster tells me there are still unrevoked request caused by the Plugin. They guess it is a combination of SimplePie, Feedzy RSS and their PHP-FPM setup. There should be a way to tell SimplePie not to send out more CURL requests when there are unanswered requests from the plugin.

    Mat

    (@mateithemeisle)

    Hello @oliverding1973 ,

    Thank you for the details and apologies for the delayed response!

    Are you encountering the same errors or issues with other feeds too? Or it just happens in this scenario?

    I have tried re-creating the issue at hand and I cannot replicate it under any circumstances thus your specific environment affects the outcome somehow.

    Thank you and we’ll await your answer!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Possible feedback loop in feed’ is closed to new replies.