Cross-Origin Request Blocked

Found something wrong ?
Post Reply
Bedlore
Posts: 43
Joined: Thu Dec 29, 2011 7:39 am

Cross-Origin Request Blocked

Post by Bedlore » Fri May 02, 2014 12:27 am

While investigating very slow page reloads Firebug is reporting the following:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://www.sipsorcery.com/callmanager. ... bread;goto. This can be fixed by moving the resource to the same domain or enabling CORS.
https://www.sipsorcery.com/callmanager. ... bread;goto
Line 0

Can anyone advise why this has started happening today?

Aaron
Site Admin
Posts: 4652
Joined: Thu Jul 12, 2007 12:13 am

Re: Cross-Origin Request Blocked

Post by Aaron » Fri May 02, 2014 2:09 am

Almost certainly due to the web site move http://blog.sipsorcery.com/?p=1002.

It could be that your browser is loading the main page from the new server and connecting to the web services on the old server or vice-versa. It should clear itself up as DNS and caches entries expire. If you want to speed it up you could try restarting your browser and/or clearing its cache.

Bedlore
Posts: 43
Joined: Thu Dec 29, 2011 7:39 am

Re: Cross-Origin Request Blocked

Post by Bedlore » Fri May 02, 2014 2:16 am

Thank you for the explanation Aaron.

Bedlore
Posts: 43
Joined: Thu Dec 29, 2011 7:39 am

Re: Cross-Origin Request Blocked

Post by Bedlore » Mon May 05, 2014 1:43 am

I've waited several days and this is still not resolved itself.

From CLI this time:
$ curl 'https://www.sipsorcery.com/callmanager. ... bread;goto'
<string xmlns="http://schemas.microsoft.com/2003/10/Se ... on/">Sorry there was an unexpected error, the web callback was not initiated.</string>

using an IP instead gets a different result:
curl 'http://67.222.131.147/callmanager.svc/w ... bread;goto'
<head><title>Document Moved</title></head>
<body><h1>Object Moved</h1>This document may be found <a HREF="http://www.sipsorcery.com/mainsite/call ... </a></body>

Changing the URL as suggested to http://www.sipsorcery.com/mainsite/call ... ebcallback makes no difference.

I'm guessing I'm not the only webcallback user in the world, so there must be something wrong in how I'm doing it, can anyone help please?

Thanks

Aaron
Site Admin
Posts: 4652
Joined: Thu Jul 12, 2007 12:13 am

Re: Cross-Origin Request Blocked

Post by Aaron » Mon May 05, 2014 3:54 am

Sorry there was a firewall port that had not been opened for the web callback service. It's fixed now. Apologies for the confusion.

raj2ras
Posts: 139
Joined: Tue Nov 08, 2011 2:13 am

Re: Cross-Origin Request Blocked

Post by raj2ras » Mon Jan 06, 2020 10:46 pm

I am trying the WebCallback (via the AJAX portal) after a while and having strange errors in the console. Are the web callback service ports open?

Aaron
Site Admin
Posts: 4652
Joined: Thu Jul 12, 2007 12:13 am

Re: Cross-Origin Request Blocked

Post by Aaron » Tue Jan 07, 2020 9:40 am

Webcallback's are working ok for me so there is no issue with the ports.

If you open the `Console` with a filter of `event 53` in another browser tab and then try your web callback you should get some useful log messages.

Post Reply