Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Ronster's avatar

XML feeds URL works in browser but get timeout when using CURL

Hi,

I have access to a few XML feeds which I can access via the browser with success. however when trying to request them via PHP and cURL I get a connection timed out error. it's the exact same URL which worked a few hours ago.

are there any global DNS issues? or does somebody have an Idea what to check?

thanks

0 likes
2 replies
ohffs's avatar

If you use a plain php file_get_contents, does that work ok?

Please or to participate in this conversation.