uProxy-p2p icon indicating copy to clipboard operation
uProxy-p2p copied to clipboard

Proxying should only be set and shown in the UI when P2P data channel for proxying is working

Open iislucas opened this issue 12 years ago • 2 comments

This is a meta-bug for a product behavior. In particular, proxying should only be set when 1. the UI shows it is set and 2. when a P2P data channel to a consenting peer exists.

This issues shows up in many forms:

  • When Chrome exits/restarts, uProxy should unset chrome proxy settings as it will no longer work.
  • Proxy settings should happen only after a P2P data channel is successfully established, as opposed to as soon as the user clicks start.
  • Errors should be shown.

iislucas avatar May 28 '14 15:05 iislucas

@iislucas, @dborkan – is there any kind of error message that is displayed when the user attempts to start proxying but it doesn't work?

Not setting Chrome's proxy settings until webrtc is ready is a great start – but we need to give feedback to the user, too.

Should I file this as a separate issue? (Or do we already have one open that I can't find?)

scouttle avatar Jun 03 '14 14:06 scouttle

Right now there is no error message displayed, but if setting up the proxy fails the Start button will continue to display Start (before it would switch to Stop even if proxying failed). I just created issue https://github.com/uProxy/uProxy/issues/159 to display an error message

On Tue, Jun 3, 2014 at 10:35 AM, scouttle [email protected] wrote:

@iislucas https://github.com/iislucas, @dborkan https://github.com/dborkan – is there any kind of error message that is displayed when the user attempts to start proxying but it doesn't work?

Not setting Chrome's proxy settings until webrtc is ready is a great start – but we need to give feedback to the user, too.

Should I file this as a separate issue? (Or do we already have one open that I can't find?)

— Reply to this email directly or view it on GitHub https://github.com/uProxy/uProxy/issues/149#issuecomment-44972267.

dborkan avatar Jun 03 '14 14:06 dborkan