HelloZeroNet / HelloZeroNet/ZeroNet

Tor problem with latest PySocks

Đang mở
#893 5 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
JavaScript
Star
18.8k
Fork
2.3k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

For some unknown reason most (70-80%) of the socket connection immediately fails with latest PySocks. It can be Tor socks server or gevent incompatibility.
```
[2017-04-08 22:04:42,749] DEBUG FileServer Conn# 1 boot3rdez4rzn36x.onion [?] > Connecting...
[2017-04-08 22:04:42,749] DEBUG TorManager Creating new Tor socket to boot3rdez4rzn36x.onion:15441
[2017-04-08 22:04:42,750] DEBUG FileServer Conn# 2 boot.zeronet.io [?] > Connecting...
[2017-04-08 22:04:45,809] DEBUG Site:1iD5ZQ..duGz Try to get listModifications from peers: [, , , , , , , , , , , , , , , , , , , , , , , , ], connected: 0, since: 1491577157.08
[2017-04-08 22:04:45,811] DEBUG FileServer Conn# 3 x.x.x.x [?] > Connecting...
[2017-04-08 22:04:45,812] DEBUG FileServer Conn# 4 x.x.x.x [?] > Connecting...
[2017-04-08 22:04:45,812] DEBUG FileServer Conn# 5 x.x.x.x [?] > Connecting...
[2017-04-08 22:04:45,815] DEBUG FileServer Conn# 4 x.x.x.x [?] > Closing connection: x.x.x.x Connect error: SOCKS5Error: 0x01: General SOCKS server failure in ConnectionServer.py line 139 > Connection.py line 100 > socks.py line 96 > socks.py line 813 > socks.py line 477 > socks.py line 552, waiting_requests: 0, sites: 0, buff: 0...
[2017-04-08 22:04:45,815] DEBUG FileServer Conn# 6 x.x.x.x [?] > Connecting...
[2017-04-08 22:04:45,815] DEBUG FileServer Conn# 3 x.x.x.x [?] > Closing connection: x.x.x.x Connect error: SOCKS5Error: 0x01: General SOCKS server failure in ConnectionServer.py line 139 > Connection.py line 100 > socks.py line 96 > socks.py line 813 > socks.py line 477 > socks.py line 552, waiting_requests: 0, sites: 0, buff: 0...
[2017-04-08 22:04:45,815] DEBUG FileServer Conn# 7 x.x.x.x [?] > Connecting...
[2017-04-08 22:04:45,816] DEBUG FileServer Conn# 5 x.x.x.x [?] > Closing connection: x.x.x.x Connect error: SOCKS5Error: 0x01: General SOCKS server failure in ConnectionServer.py line 139 > Connection.py line 100 > socks.py line 96 > socks.py line 813 > socks.py line 477 > socks.py line 552, waiting_requests: 0, sites: 0, buff: 0...
[2017-04-08 22:04:45,818] DEBUG FileServer Conn# 8 x.x.x.x [?] > Connecting...
[2017-04-08 22:04:45,819] DEBUG FileServer Conn# 6 x.x.x.x [?] > Closing connection: x.x.x.x Connect error: SOCKS5Error: 0x01: General SOCKS server failure in ConnectionServer.py line 139 > Connection.py line 100 > socks.py line 96 > socks.py line 813 > socks.py line 477 > socks.py line 552, waiting_requests: 0, sites: 0, buff: 0...
[2017-04-08 22:04:45,819] DEBUG FileServer Conn# 9 x.x.x.x [?] > Connecting...
[2017-04-08 22:04:45,819] DEBUG FileServer Conn# 7 x.x.x.x [?] > Closing connection: x.x.x.x Connect error: SOCKS5Error: 0x01: General SOCKS server failure in ConnectionServer.py line 139 > Connection.py line 100 > socks.py line 96 > socks.py line 813 > socks.py line 477 > socks.py line 552, waiting_requests: 0, sites: 0, buff: 0...
[2017-04-08 22:04:45,819] DEBUG FileServer Conn#10 x.x.x.x [?] > Connecting...
[2017-04-08 22:04:45,821] DEBUG FileServer Conn# 8 x.x.x.x [?] > Closing connection: x.x.x.x Connect error: SOCKS5Error: 0x01: General SOCKS server failure in ConnectionServer.py line 139 > Connection.py line 100 > socks.py line 96 > socks.py line 813 > socks.py line 477 > socks.py line 552, waiting_requests: 0, sites: 0, buff: 0...
[2017-04-08 22:04:45,822] DEBUG FileServer Conn#11 x.x.x.x [?] > Connecting...
[2017-04-08 22:04:45,822] DEBUG FileServer Conn# 9 x.x.x.x [?] > Closing connection: x.x.x.x Connect error: SOCKS5Error: 0x01: General SOCKS server failure in ConnectionServer.py line 139 > Connection.py line 100 > socks.py line 96 > socks.py line 813 > socks.py line 477 > socks.py line 552, waiting_requests: 0, sites: 0, buff: 0...
[2017-04-08 22:04:45,825] DEBUG FileServer Conn#12 x.x.x.x [?] > Connecting...
[2017-04-08 22:04:45,828] DEBUG Ui.UiServer x.x.x.x - - [2017-04-08 22:04:45] "GET http://zero/1HeLLo4uzjaLetFx6NH3PMwFP3qbRbTf3D/img/loading-circle.gif HTTP/1.1" 200 2643 0.002000
[2017-04-08 22:04:45,828] DEBUG FileServer Conn#10 x.x.x.x [?] > Closing connection: x.x.x.x Connect error: SOCKS5Error: 0x01: General SOCKS server failure in ConnectionServer.py line 139 > Connection.py line 100 > socks.py line 96 > socks.py line 813 > socks.py line 477 > socks.py line 552, waiting_requests: 0, sites: 0, buff: 0...
[2017-04-08 22:04:45,829] DEBUG FileServer Conn#13 x.x.x.x [?] > Connecting...
[2017-04-08 22:04:45,831] DEBUG FileServer Conn#11 x.x.x.x [?] > Closing connection: x.x.x.x Connect error: SOCKS5Error: 0x01: General SOCKS server failure in ConnectionServer.py line 139 > Connection.py line 100 > socks.py line 96 > socks.py line 813 > socks.py line 477 > socks.py line 552, waiting_requests: 0, sites: 0, buff: 0...
[2017-04-08 22:04:45,831] DEBUG FileServer Conn#14 x.x.x.x [?] > Connecting...
[2017-04-08 22:04:45,832] DEBUG FileServer Conn#12 x.x.x.x [?] > Closing connection: x.x.x.x Connect error: SOCKS5Error: 0x01: General SOCKS server failure in ConnectionServer.py line 139 > Connection.py line 100 > socks.py line 96 > socks.py line 813 > socks.py line 477 > socks.py line 552, waiting_requests: 0, sites: 0, buff: 0...
[2017-04-08 22:04:45,832] DEBUG FileServer Conn#15 x.x.x.x [?] > Connecting...
[2017-04-08 22:04:45,834] DEBUG FileServer Conn#13 x.x.x.x [?] > Closing connection: x.x.x.x Connect error: SOCKS5Error: 0x01: General SOCKS server failure in ConnectionServer.py line 139 > Connection.py line 100 > socks.py line 96 > socks.py line 813 > socks.py line 477 > socks.py line 552, waiting_requests: 0, sites: 0, buff: 0...
[2017-04-08 22:04:45,835] DEBUG FileServer Conn#16 x.x.x.x [?] > Connecting...
[2017-04-08 22:04:45,835] DEBUG FileServer Conn#14 x.x.x.x [?] > Closing connection: x.x.x.x Connect error: SOCKS5Error: 0x01: General SOCKS server failure in ConnectionServer.py line 139 > Connection.py line 100 > socks.py line 96 > socks.py line 813 > socks.py line 477 > socks.py line 552, waiting_requests: 0, sites: 0, buff: 0...
[2017-04-08 22:04:45,835] DEBUG FileServer Conn#17 x.x.x.x [?] > Connecting...
[2017-04-08 22:04:45,835] DEBUG FileServer Conn#15 x.x.x.x [?] > Closing connection: x.x.x.x Connect error: SOCKS5Error: 0x01: General SOCKS server failure in ConnectionServer.py line 139 > Connection.py line 100 > socks.py line 96 > socks.py line 813 > socks.py line 477 > socks.py line 552, waiting_requests: 0, sites: 0, buff: 0...
[2017-04-08 22:04:45,836] DEBUG FileServer Conn#18 x.x.x.x [?] > Connecting...
[2017-04-08 22:04:45,838] DEBUG FileServer Conn#16 x.x.x.x [?] > Closing connection: x.x.x.x Connect error: SOCKS5Error: 0x01: General SOCKS server failure in ConnectionServer.py line 139 > Connection.py line 100 > socks.py line 96 > socks.py line 813 > socks.py line 477 > socks.py line 552, waiting_requests: 0, sites: 0, buff: 0...
[2017-04-08 22:04:45,838] DEBUG FileServer Conn#19 x.x.x.x [?] > Connecting...
[2017-04-08 22:04:45,838] DEBUG FileServer Conn#18 x.x.x.x [?] > Closing connection: x.x.x.x Connect error: SOCKS5Error: 0x01: General SOCKS server failure in ConnectionServer.py line 139 > Connection.py line 100 > socks.py line 96 > socks.py line 813 > socks.py line 477 > socks.py line 552, waiting_requests: 0, sites: 0, buff: 0...
[2017-04-08 22:04:45,838] DEBUG FileServer Conn#20 x.x.x.x [?] > Connecting...
[2017-04-08 22:04:45,841] DEBUG FileServer Conn#17 x.x.x.x [?] > Closing connection: x.x.x.x Connect error: SOCKS5Error: 0x01: General SOCKS server failure in ConnectionServer.py line 139 > Connection.py line 100 > socks.py line 96 > socks.py line 813 > socks.py line 477 > socks.py line 552, waiting_requests: 0, sites: 0, buff: 0...
[2017-04-08 22:04:45,842] DEBUG FileServer Conn#21 x.x.x.x [?] > Connecting...
[2017-04-08 22:04:45,854] DEBUG FileServer Conn#20 x.x.x.x [?] > Closing connection: x.x.x.x Connect error: SOCKS5Error: 0x01: General SOCKS server failure in ConnectionServer.py line 139 > Connection.py line 100 > socks.py line 96 > socks.py line 813 > socks.py line 477 > socks.py line 552, waiting_requests: 0, sites: 0, buff: 0...
[2017-04-08 22:04:45,855] DEBUG FileServer Conn#22 x.x.x.x [?] > Connecting...
[2017-04-08 22:04:45,855] DEBUG FileServer Conn#19 x.x.x.x [?] > Closing connection: x.x.x.x Connect error: SOCKS5Error: 0x01: General SOCKS server failure in ConnectionServer.py line 139 > Connection.py line 100 > socks.py line 96 > socks.py line 813 > socks.py line 477 > socks.py line 552, waiting_requests: 0, sites: 0, buff: 0...
[2017-04-08 22:04:45,857] DEBUG FileServer Conn#23 x.x.x.x [?] > Connecting...
[2017-04-08 22:04:45,858] DEBUG FileServer Conn#21 x.x.x.x [?] > Closing connection: x.x.x.x Connect error: SOCKS5Error: 0x01: General SOCKS server failure in ConnectionServer.py line 139 > Connection.py line 100 > socks.py line 96 > socks.py line 813 > socks.py line 477 > socks.py line 552, waiting_requests: 0, sites: 0, buff: 0...
[2017-04-08 22:04:45,858] DEBUG FileServer Conn#24 x.x.x.x [?] > Connecting...
[2017-04-08 22:04:45,859] DEBUG FileServer Conn#24 x.x.x.x [?] > Closing connection: x.x.x.x Connect error: SOCKS5Error: 0x01: General SOCKS server failure in ConnectionServer.py line 139 > Connection.py line 100 > socks.py line 96 > socks.py line 813 > socks.py line 477 > socks.py line 552, waiting_requests: 0, sites: 0, buff: 0...
[2017-04-08 22:04:45,861] DEBUG FileServer Conn#25 x.x.x.x [?] > Connecting...
[2017-04-08 22:04:45,861] DEBUG FileServer Conn#23 x.x.x.x [?] > Closing connection: x.x.x.x Connect error: SOCKS5Error: 0x01: General SOCKS server failure in ConnectionServer.py line 139 > Connection.py line 100 > socks.py line 96 > socks.py line 813 > socks.py line 477 > socks.py line 552, waiting_requests: 0, sites: 0, buff: 0...
[2017-04-08 22:04:45,861] DEBUG FileServer Conn#26 x.x.x.x [?] > Connecting...
[2017-04-08 22:04:45,861] DEBUG FileServer Conn#22 x.x.x.x [?] > Closing connection: x.x.x.x Connect error: SOCKS5Error: 0x01: General SOCKS server failure in ConnectionServer.py line 139 > Connection.py line 100 > socks.py line 96 > socks.py line 813 > socks.py line 477 > socks.py line 552, waiting_requests: 0, sites: 0, buff: 0...
[2017-04-08 22:04:45,861] DEBUG FileServer Conn#27 x.x.x.x [?] > Connecting...
[2017-04-08 22:04:45,864] DEBUG FileServer Conn#25 x.x.x.x [?] > Closing connection: x.x.x.x Connect error: SOCKS5Error: 0x01: General SOCKS server failure in ConnectionServer.py line 139 > Connection.py line 100 > socks.py line 96 > socks.py line 813 > socks.py line 477 > socks.py line 552, waiting_requests: 0, sites: 0, buff: 0...
[2017-04-08 22:04:45,864] DEBUG FileServer Conn#26 x.x.x.x [?] > Closing connection: x.x.x.x Connect error: SOCKS5Error: 0x01: General SOCKS server failure in ConnectionServer.py line 139 > Connection.py line 100 > socks.py line 96 > socks.py line 813 > socks.py line 477 > socks.py line 552, waiting_requests: 0, sites: 0, buff: 0...
[2017-04-08 22:04:45,865] DEBUG FileServer Conn#27 x.x.x.x [?] > Closing connection: x.x.x.x Connect error: SOCKS5Error: 0x01: General SOCKS server failure in ConnectionServer.py line 139 > Connection.py line 100 > socks.py line 96 > socks.py line 813 > socks.py line 477 > socks.py line 552, waiting_requests: 0, sites: 0, buff: 0...
[2017-04-08 22:04:45,865] DEBUG Site:1iD5ZQ..duGz Queried listModifications from: [] in 0.057s
[2017-04-08 22:04:45,973] DEBUG Site:1TaLkF..jipT Signing 1491681886 for boot.zeronet.io#f36ca555bee6ba216b14d10f38c16f7769ff064e0e37d887603548cc2e64191d:15441 to add 6 onions
[2017-04-08 22:04:47,596] DEBUG Site:1Gfey7..fcdp Announced types ['onion'] in mode startup to 5 trackers in 1.047s, errors: [], slow: ['1.05s http://tracker1.wasabii.com.tw:6969/announce']
```

Until we find solution for it I reverted back to old one

- [ ] Reproduce
- [ ] Fix

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.