Cross-Origin Request Blocked

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

Cross-Origin Request Blocked

Postby 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?

User avatar
Aaron
Site Admin
Posts: 4547
Joined: Thu Jul 12, 2007 12:13 am

Re: Cross-Origin Request Blocked

Postby 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: 18
Joined: Thu Dec 29, 2011 7:39 am

Re: Cross-Origin Request Blocked

Postby Bedlore » Fri May 02, 2014 2:16 am

Thank you for the explanation Aaron.

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

Re: Cross-Origin Request Blocked

Postby 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.svc/webcallback?user=myaccountname&number=dbread;goto'
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">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/webcallback?user=myaccountnam&number=dbread;goto'
<head><title>Document Moved</title></head>
<body><h1>Object Moved</h1>This document may be found <a HREF="http://www.sipsorcery.com/mainsite/callmanager.svc/webcallback">here</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

User avatar
Aaron
Site Admin
Posts: 4547
Joined: Thu Jul 12, 2007 12:13 am

Re: Cross-Origin Request Blocked

Postby 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.


Return to “Report a bug”

Who is online

Users browsing this forum: No registered users and 1 guest