Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Developer
peardox
Posts: 1,229
Registered: ‎03-20-2011
My Device: Playbook, Z10 LE, Dev Alpha B, 2x Dev Alpha C
Accepted Solution

Ripple trying to be over-helpful blocking browser bug

I'm doing layout tests in Ripple

 

Part of the app talks over WiFi to a Remote WiFi device

 

Rather annoyingly Ripple proxies ALL XHR requests ignoring the possibility of wanting to connect to a private network

 

So - I get this...

 

POST https://rippleapi.herokuapp.com/xhr_proxy?tinyhippos_apikey=ABC&tinyhippos_rurl=http%3A//192.168.0.1... 500 (Internal Server Error)

 

Its obvious from the IP I'm talking to a Class C network segment but Ripple decides to ignore this fact and "helps" me our with the XHR it thinks I'm trying to do .

 

It actually works (raises an exception but functions fine) in Chrome without Ripple but then I can't have BBui

 

Hack Ripple time methinks!

 




Click the like button if you find my posts useful!
BlackBerry Development Advisor
chadtatro
Posts: 623
Registered: ‎10-01-2009
My Device: Z10

Re: Ripple trying to be over-helpful blocking browser bug

I generally just disable all web-security while testing in Chrome and Ripple.

 

BUT

 

Have you tried to change the proxy settings in Ripple? If you click the Settings tab, then select Proxy you can choose from "Local" or "Remote".

Chad Tetreault | App Development Consultant | BlackBerry Developer Relations | developer.blackberry.com | @chadtatro
BlackBerry Development Advisor
chadtatro
Posts: 623
Registered: ‎10-01-2009
My Device: Z10

Re: Ripple trying to be over-helpful blocking browser bug

P.S. I could be wrong, but this setting may have changed in the last update. I don't recall the Remote/Local being there before. Could be wrong though :smileywink:

Chad Tetreault | App Development Consultant | BlackBerry Developer Relations | developer.blackberry.com | @chadtatro
Developer
peardox
Posts: 1,229
Registered: ‎03-20-2011
My Device: Playbook, Z10 LE, Dev Alpha B, 2x Dev Alpha C

Re: Ripple trying to be over-helpful blocking browser bug

Cool - just what I'm after

 

Nicely obscured from plain sight...




Click the like button if you find my posts useful!
Developer
peardox
Posts: 1,229
Registered: ‎03-20-2011
My Device: Playbook, Z10 LE, Dev Alpha B, 2x Dev Alpha C

Re: Ripple trying to be over-helpful blocking browser bug

Also not perfect

 

herokuapp server is very spotty and Ripple insitst on using it (security or not)

 

This leads to extended blocked non-starting of Ripple

 

I had to take the afternoon off simple cos Ripple wouldn't start - my artist needs something he can quickly see the changes in

 

 

 




Click the like button if you find my posts useful!