Opened 7 months ago

Last modified 5 months ago

#33669 assigned defect

"Pluggable Transport process terminated" but Tor keeps on going (and of course doesn't work)

Reported by: arma Owned by: asn
Priority: Medium Milestone: Tor: 0.4.4.x-final
Component: Core Tor/Tor Version:
Severity: Normal Keywords: ux-team, anticensorship-wants, 044-should, postfreeze-ok
Cc: dcf, cohosh, phw, catalyst, ahf Actual Points:
Parent ID: #19001 Points:
Reviewer: Sponsor:

Description

In https://trac.torproject.org/projects/tor/ticket/33336#comment:20 I encountered the unfortunate situation where my snowflake client exited:

Feb 25 14:36:24.458 [warn] Pluggable Transport process terminated with status code 512

It still remains unclear whether snowflake had a bug that crashed it, or if Tor has a bug that made it close the socket to snowflake.

But either way, after this event Tor quietly cries to itself:

Feb 25 14:36:44.825 [warn] The connection to the SOCKS5 proxy server at 127.0.0.1:45527 just failed. Make sure that the proxy server is up and running.

and Tor Browser has no idea this is happening, or that trying to use Tor is now hopeless.

We should figure out something smarter that Tor should do in this situation. Perhaps it should exit, forcing the user to notice? Perhaps it should emit an event that Tor Browser picks up on? Maybe we have an even better idea?

Child Tickets

Change History (6)

comment:1 Changed 7 months ago by cohosh

Parent ID: #19001

comment:2 Changed 7 months ago by nickm

Cc: ahf added
Keywords: anticensorship-wants added
Milestone: Tor: 0.4.4.x-final

What version of Tor was this?

Adding ahf to the cc because I think he's worked on the "tor doesn't handle crashing pluggable transports right" problem before.

comment:3 in reply to:  2 Changed 7 months ago by arma

Replying to nickm:

What version of Tor was this?

I started with dcf's Tor Browser 9.5alpha5 variant from https://trac.torproject.org/projects/tor/ticket/33336#comment:17 but then I swapped in my own Tor binary, built from my branch debug33336.

So, Tor 0.4.4.0-alpha-dev based on adding commit 39f0c52a to commit c9bd3579.

comment:4 Changed 5 months ago by nickm

Keywords: 044-should added

Add 044-should to all foo-wants tickets in 044

comment:5 Changed 5 months ago by nickm

Keywords: postfreeze-ok added

Mark tickets which are important or safe enough to look at post-freeze for 0.4.4.

comment:6 Changed 5 months ago by nickm

Owner: set to asn
Status: newassigned
Note: See TracTickets for help on using tickets.