[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #31307 [Applications/GetTor]: Gettor doesn't seem to be responding to email requests
#31307: Gettor doesn't seem to be responding to email requests
---------------------------------+------------------------
Reporter: pili | Owner: (none)
Type: defect | Status: closed
Priority: Very High | Milestone:
Component: Applications/GetTor | Version:
Severity: Normal | Resolution: fixed
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
---------------------------------+------------------------
Changes (by phw):
* status: new => closed
* resolution: => fixed
Comment:
I believe that the problem is now fixed. It looks like the script
`~/gettor/scripts/add_lins_to_db` was the culprit. In particular
[https://gitweb.torproject.org/gettor.git/tree/scripts/add_lins_to_db?id=007da31780d0de514d6b36b435d2d8e900122f48#n56
lines 56-58]. The script assumes a list of length 12 but the page over at
https://www.torproject.org/projects/torbrowser/RecommendedTBBVersions/
currently returns `[ "8.5.4", "8.5.4-MacOS", "8.5.4-Linux",
"8.5.4-Windows", "9.0a4", "9.0a4-MacOS", "9.0a4-Linux", "9.0a4-Windows"
]`, a list that counts only 8 elements. I added an emergency fix that
changes
{{{
version = versions.split(",")[-12]
}}}
to
{{{
version = versions.split(",")[0]
}}}
I was able to re-generate the database and restart GetTor.
Besides, boklm mentions on IRC that RecommendedTBBVersions is not a good
way to learn about the current Tor Browser version:
{{{
20:46 boklm│ RecommendedTBBVersions is not a good way to get the current
Tor Browser version
20:47 boklm│
https://aus1.torproject.org/torbrowser/update_3/release/downloads.json is
better
20:48 boklm│ for example with: wget -q -O -
https://aus1.torproject.org/torbrowser/update_3/release/downloads.json |
jq -r .version
}}}
I'll file a separate ticket to make GetTor more robust in this regard.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31307#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs