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

Can't start proxying from Chrome 40.0.2214.28.

Open lucyhe opened this issue 12 years ago • 4 comments

Running the same build, I can use Chrome 39.0.2171.71 to get access from another instance of 39.0.2171.71 or from an instance of 40.0.2214.28. I can not use Chrome 40 to get access from either 39 or 40.

I noticed this in the app background page of 40 (but not in 39): *[PeerConnection](11/4 21:19:44.550) D: socksRtc: negotiateConnection_: dodging.

It seems like in 40, the negotiateConnection function returns prematurely, following from this logic: if (this.pc.localDescription && this.pc.remoteDescription) { { this.pc.localDescription, this.pc.localDescription; } return log.debug(this.peerName + ": negotiateConnection: dodging."), _this.onceConnected; } (from line 511 in uproxy-core-env.js) Right after this block of code is a call to createOffer, which is therefore never reached.

When running Chrome 39, localDescription and remoteDescription are null, but in 40 they're both equal to RTCSessionDescription {sdp: "", type: ""}.

lucyhe avatar Dec 05 '14 02:12 lucyhe

@lucyhe: Are you still seeing this? @mollyling @bemasc are probably the right people to debug, if this is repeatable.

willscott avatar Dec 11 '14 03:12 willscott

Yep, I just tried the combinations again: If 39 is getting from a 39 or 40 giver, proxying works. If 40 is getting from a 39 or 40 giver, proxying does not work.

lucyhe avatar Dec 11 '14 03:12 lucyhe

Making this P1 for webstore launch as it's preventing Chrome users from proxying.

dborkan avatar Dec 16 '14 21:12 dborkan

Thanks for the detailed description, @lucyhe.

It seems pretty clear that we'll need to wait for version 41 so I'm going to close this for now. If that changes, we can re-open: https://github.com/uProxy/uproxy/issues/615

trevj avatar Jan 06 '15 19:01 trevj