Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

On Firefox, CORS request gives error ":" (colon)

On Chrome, I'm having no troubles making a cross domain request, however on Firefox (Ubuntu 14.04), I get an error that consists only of a colon on the line that calls for the xmlhttprequest.

xmlhttp.open("GET", "http://x.x.x.x:xxxx/folder/file.xml", false);

The error message is just ":".

like image 789
Matt Avatar asked Aug 11 '14 14:08

Matt


1 Answers

Try Disabling AdBlock

I was having a similar issue where all of my XMLHttpRequests were going through except for a few very specific ones where even minor URL changes fixed the problem. And the only thing I was getting was a colon : in the console. In the end I realized that AdBlockPlus was blocking at least one these requests from going through (the request had 'Banners' in the URL).

So I'm not sure if this would have solved your problem, but I've encountered it multiple times.

like image 144
Adam Dally Avatar answered Sep 30 '22 06:09

Adam Dally