Have you tried getting that URL from the command line of your server (e.g. with wget or PHP CLI) (to check that it's not firewalled or otherwise blocked)?
It's really unhelpful not knowing what the error was. To find out more, enable all errors and notices using error_reporting(E_ALL).
Also log your errors to a file somehow rather than outputting them (Hint: Ini settings display_errors off, error_log somewhere - set with ini_set or another way).
Mark