I get this when I call my application
XMLHttpRequest cannot load http://tracker.ushahidi.com/piwik/piwik.php?idsite=36439&rec=1. Origin http://maps.zgb.de is not allowed by Access-Control-Allow-Origin.
I don´t mind the application being tracked, it´s just that I don´t know why this is a problem.
any comments would be welcome,
yours,
Rob
What happens is the domain where Piwik is installed is not the same as where the app is.
valipour has a pretty good explanation about this here
https://stackoverflow.com/a/11281976/421042
Related
I have cloned the click-to-call repository and followed the steps as mentioned. I am able to login with said created user but then get stuck at /rtc API.I got some error in network panel. and "General SSL engine problem in console which is not correct. SSL certificates are all correct." Let me know where i went wrong. Please check the screenshot below :
I have had a talk with nexmo team, they said it is the ssl issue.
https://help.nexmo.com/hc/en-us/articles/207051767-Certificate-for-nexmo-com
Now I am unable to find where to import the certificate to my app?
I am the JavaScript Developer Advocate at Vonage (Nexmo).
You also filed an issue at https://github.com/nexmo-community/client-sdk-click-to-call correct? Thanks for that. I will also post my response here.
From your issue, it looks as if the Conversation Id is not being sent.
We recently merged some changes to the repo.
In your .env file, do you have SUPPORT_PHONE_NUMBER? That should be NEXMO_NUMBER.
Also, when calling the server, previously the code in the client.js around line 34 was application.callServer(); it is now application.callServer(application.me.name);
Let me know if this works for you.
Check with Nexmo - either you are out of balance or your account has been been marked inactive for some reason. Most of the time its because of insufficient balance.
I have an AngularJS / Strongloop project. The AngularJS part of the code is not hosted at the same location as the Strongloop project and as a result I'm running into a CORS issue. I have done a lot of reading on this issue, however I can't figure out how to solve it.
As far as I can tell, my issue is on the server side. See picture below.
I can't figure out how to configured Strongloop to be set to...
"Access-Control-Allow-Origin": "*"
Should I be trying to solve this a different way using Strongloop's built into ACL? Can someone point me to where I can correct the header for the API in Strongloop?
Below are some relevant article to the issue as I understand it.
http://blogs.telerik.com/kendoui/posts/11-10-03/using_cors_with_all_modern_browsers
how to handling CORS over $http in Angularjs1.3
So as frustrating as this was, I got it figured out. Turns out a detail I left out in my original post was that this application was built using two separate instances of Cloud 9 (http:c9.io), one for the client side and one for the server. I did this because it modeled the way the application was going to be installed in it's production environment. The issue was something to do with Cloud 9, when I ported this application to two different servers (that are un-related to Cloud 9), the issue was immediately resolve with no code changes at all to Strongloop or AngularJS.
That is really too bad, because up until this point I had been loving using Cloud 9. Guess I'll try codebox.
Below is a screen shot of the response header when ported to a non-Clould 9 instance. As you can see there is no longer the restriction on the Access-Control-Allow-Origin which was causing the problem
I am finalizing my Joomla-site with a Siteground host and encounter the following problem: my site shows the IP-adress instead of the url. Although I type in the url (www.nooitmeerfile.be by the way), it shows the IP-adress.
Could someone please give me a step-by-step explanation on how to fix this? I happen to find a lot of fragmented answers cluttered around the web. I am a novice user, and I'm stuck :-)
Thanks!
Possible steps to debug your issue:
Check configuration.php public $live_site = ''; and try to add your
domain (without trailing slash).
Check if .htaccess file is not altered and try to download and use a fresh copy.
Check if you are using 3rd party sef components / plugins and try to disable them.
Clear your joomla and browser cache.
Contact your hosting provider if something in your hosting is misconfigured.
Hope this helps
I am facing problem with Google App Engine location headers. For some reason it is not getting the details correctly.
Sometimes City/Region are coming as "?", sometimes as "unknown". At this moment Country is always "US".
Is there any particular reason for this? May be with proxy systems when users tried or something.
Please suggest on this.
Thanks in advance.
Does anyone know if it is possible to discover that a response from a WCF call in Silverlight resulted in a 302 (temporary redirect).
The 302 is generated because our service is behind ISA and the user session timesout. The Silverligt app remains loaded in the browser and the usre interacts to make a WCF call which fails. I can get a Not Found error but this is also reported for a number of different issues so not really a solution. I want to specifically target a 302 and refresh the page to get the user to reauthenticate.
I faced similar problem and luckily found a solution: to be able to retrieve StatusCode of a web request other than 200 or 404 you should use
var request = WebRequestCreator.ClientHttp.Create(uri)
instead of
var request = WebRequest.Create(uri) as HttpWebRequest;
I wrote a post on this issue recently, you can take a look here.
I was looking for an answer to the same question, but have decided not to use this approach to solve the problem I was dealing with, so I don't have a compelte solution for you, but if you are using Silverlight 3, then you may be able to solve it. I got as far as using the alternate Http stack as discussed at the bottom of this page:
http://developers.de/blogs/damir_dobric/archive/2009/08/22/soap-faults-and-new-network-stack-in-silverlight-3.aspx
This at least allowed me to gain access to SOAP faults, but I don't know if/how you can access HTTP 302 responses, since when I tried to do so, I found that Silverlight appeared to actually follow the redirect and re-issue my SOAP request there rather than report it back to my application.
What I did start investigating though is how this might be changed using behaviors. I didn't get very far with this investigation though so don't know if its feasible or not!