[tor-bugs] #31719 [Circumvention/Obfs4]: obfs4proxy should be more helpful if state file is empty
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu Sep 12 14:44:30 UTC 2019
#31719: obfs4proxy should be more helpful if state file is empty
-------------------------------------+--------------------
Reporter: phw | Owner: (none)
Type: enhancement | Status: new
Priority: Low | Milestone:
Component: Circumvention/Obfs4 | Version:
Severity: Minor | Keywords: ux
Actual Points: | Parent ID: #30471
Points: 0.5 | Reviewer:
Sponsor: |
-------------------------------------+--------------------
We had a user on IRC who ran into the following error message:
{{{
[warn] Server managed proxy encountered a method error. (obfs4 failed to
load statefile '/var/db/tor/pt_state/obfs4_state.json': unexpected end of
JSON input)
}}}
It turns out that the user's state file was empty. Removing the state file
and then having obfs4proxy re-create it fixed the problem. Obfs4proxy
should realise that the state file is empty (was opposed to corrupt) and
either re-create it itself or advise the user to delete it and try again.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31719>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list