Imported RSS Feed Curl Error

This looks to be a server configuration issue so not something we can provide support with directly.

But I came across this issue https://github.com/curl/curl/issues/2324 which implies that it could be related to a misconfigured http_proxy or https_proxy value in /etc/environment.

Your host would be the first port of call in this instance.
 
That was just one possible solution. Either way, the issue is happening because curl is failing the SSL handshake to the remote server. The handling is entirely out of our hands at that point so troubleshooting your cURL and server configuration is what is required.
 
turns out that all server configuration is working as it should. there's two other website running rss without issues, only xen rss feature appears to have issue issue with curl. we found that the guzzle app is outdated. and does not require curl as a part of there software. other alternative was implemented on there new updates.
 
It is true that the version of Guzzle we are using (6.x - which is still supported) requires cURL. There is a newer version (7.x) which doesn't require cURL as a prerequisite, though it is still preferred and will still be used if it is available. In other words, even with Guzzle 7.x, cURL will still be used in the sheer majority of cases.

However, this is the first time we're seeing any reports of issues with cURL, Guzzle and our RSS feature so this really does still point to a server configuration (or server software version) issue or other server-specific issue otherwise we'd have had many other reports of it. Have you resolved the issue, at this point?
 
It is true that the version of Guzzle we are using (6.x - which is still supported) requires cURL. There is a newer version (7.x) which doesn't require cURL as a prerequisite, though it is still preferred and will still be used if it is available. In other words, even with Guzzle 7.x, cURL will still be used in the sheer majority of cases.

However, this is the first time we're seeing any reports of issues with cURL, Guzzle and our RSS feature so this really does still point to a server configuration (or server software version) issue or other server-specific issue otherwise we'd have had many other reports of it. Have you resolved the issue, at this point?


it was pointed out that during the import using the "xenforo importer" it imported the url but added the ":80" after the domain url, see image after adjusting the url it went through without issue. so server configration was never the issue but an importer issue.

Capture.webp
 
There is nothing in our code or the importer code that would append :80 to the feed URLs so this may have existed in the original database.
 
I am having the same problem while importing RSS feeds. I have 4 of which 2 are not working and return the same error code shown above.
What is weird so it's 2 out of 4 don't work but they were working a few days ago and nothing has changed since.
In my case I don't see the :80 appended to URLs that don't work.
 
Update :
feeds receives this error: cURL error 60: SSL certificate problem: certificate has expired (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)
 
Working :
https://www.courrierinternational.com/feed/category/8224/rss.xml
https://www.france24.com/fr/france/rss

Not working :
https://la1ere.francetvinfo.fr/actu/rss
https://regions-france.org/feed/
 
Those feed URLs work fine for me.

I think this is something to do with your local cURL CA bundle being expired. This may indicate an old version of cURL. Because of how the RSS reader works it doesn't use the same HTTP client as other requests in XF which automatically use an up-to-date CA bundle that we provide.

You can fix this yourself with a change to your php.ini file:

Code:
curl.cainfo="/path/to/xenforo/src/XF/Http/ca-bundle.crt"

Replace /path/to/xenforo with the path on the server to the root of your XF installation.

After restarting Apache/nginx and/or PHP that should work.
 
I’m on dedicated server i don’t think i can do that…
why some feeds are working well and others not ? And why suddenly 2 of them doesn’t work anymore ?
Thanks.
My server works with php8
 
I'm not entirely certain why it would be but you can see for yourself the advice when others have experienced similar issues:

There's another proposed fix here:
 
Thank you @Chris D but i’m not a back-end developer and more i can’t access to server settings on my dedicated server.
I’m just a xenforo customer which have problem with native XenForo rss importer.
So what i can do now to fix this ? Open a ticket ?
Thanks.
 
Top Bottom