Skip to content
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.

API Requests over Tor #73

Open
samuelcouch opened this issue Sep 14, 2016 · 4 comments
Open

API Requests over Tor #73

samuelcouch opened this issue Sep 14, 2016 · 4 comments
Labels

Comments

@samuelcouch
Copy link
Contributor

Update checks get rate limited over Tor sometimes.

@micahflee
Copy link
Contributor

screen shot 2016-09-09 at 9 35 15 am

@micahflee micahflee added the bug label Nov 18, 2016
@micahflee micahflee added this to the 0.1.2 milestone Nov 18, 2016
@micahflee
Copy link
Contributor

I think the first thing we should do is detect this "API rate limit exceeded" github response and handle it a little more gracefully. Like, we could choose to just skip that day of checking for updates, or we could try to check for updates using a different Tor circuit a few times before finally giving up?

@micahflee
Copy link
Contributor

I'm implementing update checks in OnionShare to work in a similar way that they work in GPG Sync. Only instead of loading a URL from github, it loads http://elx57ue5uyfplgva.onion/latest-version.txt (which is just the onion service URL for https://onionshare.org/latest-version.txt, since all of OnionShare's traffic goes over Tor).

Because I'm not using github, but rather querying the website, OnionShare doesn't have any rate limiting problems. Maybe instead GPG Sync should query something like https://code.firstlook.media/gpgsync/latest-version.txt. This means part of the GPG Sync release process will include deploying an update to the First Look Code website. What do you think @agillette @jefforulez ?

@micahflee micahflee modified the milestones: 0.1.2, 0.1.3 Jun 2, 2017
@ageis
Copy link

ageis commented Feb 21, 2018

Wrong issue/context for previous comments.

@micahflee micahflee modified the milestones: 0.1.3, 0.2.1 Jun 22, 2018
@micahflee micahflee removed this from the 0.2.1 milestone Oct 15, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants