You could check the network tab of your browser to see additional details on the response. Maybe a response header could give more information.
One possibility would be if your url in config.php doesn't match the current url and the request gets blocked for cross-domain reasons.