RSS Feed - 401 unauthorized

I'm trying to fetch update news from rss feed every hour.
Unfortunately, I sometimes get the following error:

Code Block
simplexml_load_file(https://developer.apple.com/news/releases/rss/releases.rss): failed to open stream: HTTP request failed! HTTP/1.0 401 Unauthorized


I do not need to login to access that feed directly in my browser. But for some reason, my server runs into some problems with this.

Anyone has an idea how to fix this?

Thank you
RSS Feed - 401 unauthorized
 
 
Q