I noticed a strange caution message when looking at downloaded resources using Google chrome inspector (F12):
Caution provisional headers a
Here is another solution.
If you encounter this issue with $ajax() call, add http:// before your serverhost will solve your problem.
http://
var requestURL = "http://" + serverHost; $.ajax({ dataType: "json", url: requestURL, data: data, success: success });