HelloZeroNet / HelloZeroNet/ZeroNet

Tor unable to start?

オープン
#2,077 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
18.8k
フォーク
2.3k
PR マージ指標
30日以内にマージされた PR はありません

説明

### Step 1: Please describe your environment

* ZeroNet version: 0.6.5
* Operating system: https://i.imgur.com/AcSHem5.png
* Web browser: FireFox
* Tor status: Unconfigured, Default
* Opened port: no
* Special configuration: Default

### Step 2: Describe the problem:
Trying to use the windows command line bundle thing,

https://github.com/HelloZeroNet/ZeroBundle/raw/master/dist/ZeroBundle-win.zip
and when i try to run it, i get a issue with tor
#### Steps to reproduce:

#### Observed Results:

```log
- Starting ZeroNet...
[12:46:09] - OpenSSL loaded, version: 0100020CF
[12:46:09] - Version: 0.6.5 r3866, Python 2.7.12 (v2.7.12:d33e0cf91556, Jun 27 2016, 15:19:22) [MSC v.1500 32 bit (Intel)], Gevent: 1.1.2
[12:46:09] - Creating FileServer....
[12:46:09] FileServer IPv6 not supported: [Errno 10051] [Error 10051] A socket operation was attempted to an unreachable network.
[12:46:09] - Creating UiServer....
[12:46:10] - Removing old SSL certs...
[12:46:10] - Starting servers....
[12:46:10] Ui.UiServer --------------------------------------
[12:46:10] Ui.UiServer Web interface: http://127.0.0.1:43110/
[12:46:10] Ui.UiServer --------------------------------------
[12:46:10] - Opening browser: default_browser...
[12:46:10] - Failed to modify max files open limit: No module named win32file
[12:46:13] TorManager Connecting to Tor Controller 127.0.0.1:9051
[12:46:14] Ui.UiServer Added 127.0.0.1:43110 as allowed host
[12:46:15] TorManager Tor controller connect error: error: [Errno 10061] [Error 10061] No connection could be made because the target machine actively refused it. in TorManager.py line 190 > _socket2.py line 228
[12:46:15] TorManager Starting self-bundled Tor, due to Tor proxy port 127.0.0.1:9050 check error: No connection
[12:46:15] TorManager Downloading Tor...
[12:46:16] PeerPortchecker Trying to open port using UpnpPunch...
[12:46:16] - Redirect to: https://www.torproject.org/download
[12:46:17] - Redirect to: https://www.torproject.org/download/
[12:46:18] TorManager Error starting Tor client: AttributeError: 'NoneType' object has no attribute 'group' in TorManager.py line 93 > TorManager.py line 135
[12:46:19] ConnServer Server port opened ipv4: False, ipv6: None
```

#### Expected Results:

Not to give error

honestly not knowing what im looking at here.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

TorManager.py の93、135、190行目に記録された失敗から始め、Windows bundle が Tor のダウンロードとコントローラー接続をどのように処理しているかを調べてください。ZeroNet 0.6.5 とリンクされた ZeroBundle アーカイブを使って起動失敗を再現してください。bundle が AttributeError を発生させずに Tor を起動し、Tor コントローラーに接続できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
networking
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
20/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。