{"action":"closed","issue":{"url":"https://api.github.com/repos/Jesse-V/OnioNS-client/issues/16","labels_url":"https://api.github.com/repos/Jesse-V/OnioNS-client/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/Jesse-V/OnioNS-client/issues/16/comments","events_url":"https://api.github.com/repos/Jesse-V/OnioNS-client/issues/16/events","html_url":"https://github.com/Jesse-V/OnioNS-client/issues/16","id":99570906,"number":16,"title":"onions-ttb is incompatible with \"DisableNetwork 1\"","user":{"login":"Jesse-V","id":2314417,"avatar_url":"https://avatars.githubusercontent.com/u/2314417?v=3","gravatar_id":"","url":"https://api.github.com/users/Jesse-V","html_url":"https://github.com/Jesse-V","followers_url":"https://api.github.com/users/Jesse-V/followers","following_url":"https://api.github.com/users/Jesse-V/following{/other_user}","gists_url":"https://api.github.com/users/Jesse-V/gists{/gist_id}","starred_url":"https://api.github.com/users/Jesse-V/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jesse-V/subscriptions","organizations_url":"https://api.github.com/users/Jesse-V/orgs","repos_url":"https://api.github.com/users/Jesse-V/repos","events_url":"https://api.github.com/users/Jesse-V/events{/privacy}","received_events_url":"https://api.github.com/users/Jesse-V/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Jesse-V/OnioNS-client/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Jesse-V/OnioNS-client/milestones/4","html_url":"https://github.com/Jesse-V/OnioNS-client/milestones/0.4%20Beta","labels_url":"https://api.github.com/repos/Jesse-V/OnioNS-client/milestones/4/labels","id":1241431,"number":4,"title":"0.4 Beta","description":"This milestone marks the 0.4 release, a prototype containing the basic HS and client functionality with two servers on the backend.","creator":{"login":"Jesse-V","id":2314417,"avatar_url":"https://avatars.githubusercontent.com/u/2314417?v=3","gravatar_id":"","url":"https://api.github.com/users/Jesse-V","html_url":"https://github.com/Jesse-V","followers_url":"https://api.github.com/users/Jesse-V/followers","following_url":"https://api.github.com/users/Jesse-V/following{/other_user}","gists_url":"https://api.github.com/users/Jesse-V/gists{/gist_id}","starred_url":"https://api.github.com/users/Jesse-V/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jesse-V/subscriptions","organizations_url":"https://api.github.com/users/Jesse-V/orgs","repos_url":"https://api.github.com/users/Jesse-V/repos","events_url":"https://api.github.com/users/Jesse-V/events{/privacy}","received_events_url":"https://api.github.com/users/Jesse-V/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":6,"state":"open","created_at":"2015-08-05T04:47:07Z","updated_at":"2015-08-07T07:34:49Z","due_on":"2015-08-07T08:00:00Z","closed_at":null},"comments":1,"created_at":"2015-08-07T03:34:10Z","updated_at":"2015-08-07T07:34:49Z","closed_at":"2015-08-07T07:34:49Z","body":"The Tor Browser starts Tor with \"DisableNetwork 1\" to give the Tor Browser time to ask about bridges before Tor begins boostrapping and touching the Tor network. According to the [manual](https://www.torproject.org/docs/tor-manual.html.en), \"When this option is set, we don’t listen for or accept any connections other than controller connections, and we close (and don’t reattempt) any outbound connections.\" However, this option also means that our current approach of waiting until Tor's SOCKS port is open and then immediately trying to connect means that onions-client fails immediately, preventing onions-tbb from working properly.\r\n\r\nOne approach is to simply remove this option when we call torbin, but then we lose compatibility with bridge or proxy setups. Another approach is to listen for the event that Tor fires when it's fully boostrapped, and then launch onions-client. Yet another approach is to repeatedly try to make a connection until Tor allows it to go through. In any event, onions-tbb should be compatible with this flag since it's used in the Tor Browser."}}