phonegap / emulate.phonegap.com

Ripple emulation for PhoneGap's JavaScript environment
http://emulate.phonegap.com
Apache License 2.0
28 stars 18 forks source link

Cannot send remote request with Ripple Emulater #6

Closed marshluca closed 9 years ago

marshluca commented 11 years ago

Hi,

After I setup PhoneGap Emulater on localhost, I try to send a remote login request with emulater, but always failed.

It seems that Ripple proxy API can not works well.

brentlintner commented 11 years ago

@marshluca the xhr_proxy URL should be able to handle POST :-s. Hmm.. I don't have access to the Heroku application, myself, so check out the logs. Are you able to try this out with a local instance, to see what error is thrown? (you can npm install -g ripple-emulator && ripple proxy start, then set proxy to local in Settings pane).

mwbrooks commented 11 years ago

@brentlintner what's your heroku account? You should have access :)

brentlintner commented 11 years ago

@mwbrooks not for rippleapi.herokuapp.com, though (if that is what you mean?). Or.. well, it appears I still do ATM (now that I checked), lol, but I think that is.. not right (as I should no longer).

@marshluca I tested out that curl call (thanks for that) along with -X POST. However, I am seeing a Bad URI on [omitted], which does not seem to exist (anymore?). Not sure if things are working now, for you.

valtteri459 commented 10 years ago

i am having the same problem with my thingy, if i disable the emulator, it works fine (error occurs with socket.io)

marshluca commented 9 years ago

@brentlintner Thanks for your help, I have closed the issue. Could you help to remove the link in your last comment ? Thanks.