mkuklis / phonegap-websocket

Websocket PhoneGap plugin for Android
203 stars 78 forks source link

socket.io fires error event on Ripple and when builded and installed #45

Open valtteri459 opened 10 years ago

valtteri459 commented 10 years ago

without ripple, it works just fine. also, on ripple it gives this error in the js console:

XMLHttpRequest cannot load https://rippleapi.herokuapp.com/xhr_proxy?tinyhippos_apikey=ABC&tinyhippos_rurl=http%3A//192.168.100.37%3A80/socket.io/1/%3Ft%3D1402652356902. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8020' is therefore not allowed access.

valtteri459 commented 10 years ago

and with normal WS, after built and installed, wont work at all

valtteri459 commented 10 years ago

ok, i got socket.io working by creating a whole new phonegap project and re-doing everything, but i still cant get normal websockets to work :C