meteorhacks / kadira

Performance Monitoring for Meteor
https://kadira.io/platform/kadira-apm/overview
MIT License
217 stars 110 forks source link

Cordova Support #89

Open boustanihani opened 9 years ago

boustanihani commented 9 years ago

Does Kadira support Cordova ?

I am using meteor build --debug ... to generate a APK file and install it on my android phone. When I inspect my app (using USB Debugging & Chrome) I see the following error on my console:

GET http://192.168.2.111:39455/undefined/simplentp/sync 404 (Not Found)

When using a regular desktop or mobile browser everything goes fine...

arunoda commented 9 years ago

Thanks for informing. We've not tested it yet with Cordova.

Our server stuff will work without any issues. This is regarding our client side component. I'll make a fix very soon.


Arunoda Susiripala I curate Meteor Weekly - Check it out! http://meteorhacks.com/meteor-weekly/?utm_source=email-footer&utm_medium=email&utm_campaign=meteorweekly

On Tue, Sep 30, 2014 at 11:44 PM, boustanihani notifications@github.com wrote:

Does Kadira support Cordova ?

I am using meteor build --debug ... to generate a APK file and install it on my android phone. When I inspect my app (using USB Debugging & Chrome) I see the following error on my console:

GET http://192.168.2.111:39455/undefined/simplentp/sync 404 (Not Found)

When using a regular desktop or mobile browser everything goes fine...

— Reply to this email directly or view it on GitHub https://github.com/meteorhacks/kadira/issues/89.

arunoda commented 9 years ago

Hey, can you please try now. We've made kadira fully available on cordova with the latest release (2.11.0)

boustanihani commented 9 years ago

After upgrading to 2.11.0 I am getting the following error in the browser console:

XMLHttpRequest cannot load https://engine.kadira.io/. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://<subdomain>.meteor.com' is therefore not allowed access. 

This the case when running a local meteor dev-server and also when deploying to meteor.com

arunoda commented 9 years ago

Let me check that.


Arunoda Susiripala

@arunoda http://twitter.com/arunoda http://gplus.to/arunodahttps://github.com/arunoda http://www.linkedin.com/in/arunoda

On Fri, Oct 3, 2014 at 1:39 PM, boustanihani notifications@github.com wrote:

After upgrading to 2.11.0 I am getting the following error in the browser console:

XMLHttpRequest cannot load https://engine.kadira.io/. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://.meteor.com' is therefore not allowed access.

This the case when running a local meteor dev-server and also when deploying to meteor.com

— Reply to this email directly or view it on GitHub https://github.com/meteorhacks/kadira/issues/89#issuecomment-57767182.

thani-sh commented 9 years ago

I got this.

arunoda commented 9 years ago

fixed that :D

boustanihani commented 9 years ago

This was the quickest fix I have ever seen :)

When will the new fix get published ?

arunoda commented 9 years ago

in few minutes :)


Arunoda Susiripala

@arunoda http://twitter.com/arunoda http://gplus.to/arunodahttps://github.com/arunoda http://www.linkedin.com/in/arunoda

On Fri, Oct 3, 2014 at 2:50 PM, boustanihani notifications@github.com wrote:

This was the quickest fix I have ever seen :)

When will the new fix get published ?

— Reply to this email directly or view it on GitHub https://github.com/meteorhacks/kadira/issues/89#issuecomment-57772586.

arunoda commented 9 years ago

Hey, can you please check that. I published the package.


Arunoda Susiripala

@arunoda http://twitter.com/arunoda http://gplus.to/arunodahttps://github.com/arunoda http://www.linkedin.com/in/arunoda

On Fri, Oct 3, 2014 at 2:50 PM, Arunoda Susiripala < arunoda.susiripala@gmail.com> wrote:

in few minutes :)


Arunoda Susiripala

@arunoda http://twitter.com/arunoda http://gplus.to/arunodahttps://github.com/arunoda http://www.linkedin.com/in/arunoda

On Fri, Oct 3, 2014 at 2:50 PM, boustanihani notifications@github.com wrote:

This was the quickest fix I have ever seen :)

When will the new fix get published ?

— Reply to this email directly or view it on GitHub https://github.com/meteorhacks/kadira/issues/89#issuecomment-57772586.

boustanihani commented 9 years ago

Issue solved, I will now test this with Cordova

boustanihani commented 9 years ago

I still need some time to give valuable feedback due to some issues with iron:router@1.0.0-pre3 support for Cordova, will be back soon...

arunoda commented 9 years ago

great.


Arunoda Susiripala

@arunoda http://twitter.com/arunoda http://gplus.to/arunodahttps://github.com/arunoda http://www.linkedin.com/in/arunoda

On Sat, Oct 4, 2014 at 6:13 PM, boustanihani notifications@github.com wrote:

I still need some time to give valuable feedback due to some issues with iron:router@1.0.0-pre3 support for Cordova, will be back soon...

— Reply to this email directly or view it on GitHub https://github.com/meteorhacks/kadira/issues/89#issuecomment-57904254.

xumx commented 9 years ago

Got this on iOS Cordova This issue is related to #148 It is gone after I've set the whitelist

[Error] Failed to load resource: Origin http://meteor.local is not allowed by Access-Control-Allow-Origin. (errors, line 0)
[Error] XMLHttpRequest cannot load https://engine.kadira.io/errors. Origin http://meteor.local is not allowed by Access-Control-Allow-Origin. (m, line 0)
arunoda commented 9 years ago

Thanks @xumx for updating. I hope we can't automatically add this to the app? Do you know a way to whitelist this automatically?

AlbinoGeek commented 8 years ago
XMLHttpRequest cannot load https://enginex.kadira.io/simplentp/sync.
No 'Access-Control-Allow-Origin' header is present on the requested resource.
The response had HTTP status code 522.

On Meteor 1.1.0.3 [release] meteorhacks:kadira 2.23.0

(It has started happening again.)

arunoda commented 8 years ago

We had a downtime. Sorry about the issue. Now everything is back online :)

On Sat, Aug 8, 2015 at 5:12 AM Damon Blais notifications@github.com wrote:

XMLHttpRequest cannot load https://enginex.kadira.io/simplentp/sync. No 'Access-Control-Allow-Origin' header is present on the requested resource. The response had HTTP status code 522.

On Meteor 1.1.0.3 [release] meteorhacks:kadira 2.23.0

— Reply to this email directly or view it on GitHub https://github.com/meteorhacks/kadira/issues/89#issuecomment-128859758.