HelloZeroNet / HelloZeroNet/ZeroNet-mac

bug ssl update

未关闭
#1 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
没有语言数据
星标
10
派生
8
PR 合并指标
30 天内没有已合并 PR

描述

Step 1: Please describe your environment

ZeroNet version: 0.6.4 rev3703
Operating system: macOS 10.14.3
Web browser: firefox or safari
Tor status: /always/
Opened port: no
Special configuration: ____
Step 2: Describe the problem:

```
[](Downloading from: https://github.com/HelloZeroNet/ZeroNet/archive/master.zip Error downloading update from https://github.com/HelloZeroNet/ZeroNet/archive/master.zip: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:661)
Downloading from: https://gitlab.com/HelloZeroNet/ZeroNet/repository/archive.zip?ref=master Error downloading update from https://gitlab.com/HelloZeroNet/ZeroNet/repository/archive.zip?ref=master: EOF occurred in violation of protocol (_ssl.c:661)
Downloading from: https://try.gogs.io/ZeroNet/ZeroNet/archive/master.zip Error downloading update from https://try.gogs.io/ZeroNet/ZeroNet/archive/master.zip: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:661)
Update error: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:661))
```
Steps to reproduce:

updating problem with sslv1

but on update manually this error:

SiNaPsE at null in /Applications/ZeroNet.app/Contents/Resources/core
$ python2 update.py
```
Update site path: /Users/SiNaPsE/Library/Application Support/ZeroNet/data/1UPDatEDxnvHDo7TXvq6AEBARfNkyfxsp, bad_files: 0
Downloading from: https://github.com/HelloZeroNet/ZeroNet/archive/master.zip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Downloaded.
Plugins enabled: ['Sidebar', 'ContentFilter', 'Bigfile', 'MergerSite', 'CryptMessage', 'Chart', 'Trayicon', 'FilePack', 'OptionalManager', 'UiConfig', 'TranslateSite', 'PeerDb', 'AnnounceLocal', 'Cors', 'AnnounceShare', 'Stats', 'Zeroname', 'AnnounceZero', 'Newsfeed'] disabled: ['DonationMessage', 'Dnschain', 'Zeroname-local', 'StemPort', 'UiPassword', 'Bootstrapper', 'Multiuser']
Extracting to /Applications/ZeroNet.app/Contents/Resources/core... . . . . . . . . . . . . . . . . . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . P . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done.
Press enter to exit

SiNaPsE at null in /Applications/ZeroNet.app/Contents/Resources/core
$ /Applications/ZeroNet.app/Contents/MacOS/ZeroNet
- Starting ZeroNet...
ERROR:root:Unhandled exception: signal only works in main thread
Traceback (most recent call last):
File "/Applications/ZeroNet.app/Contents/Resources/core/zeronet.py", line 16, in main
ValueError: signal only works in main thread
Exception in thread Thread-1:
Traceback (most recent call last):
File "threading.pyo", line 801, in __bootstrap_inner
File "threading.pyo", line 754, in run
File "/Applications/ZeroNet.app/Contents/Resources/boot.py", line 157, in main
File "/Applications/ZeroNet.app/Contents/Resources/core/zeronet.py", line 56, in main
ImportError: No module named Config

^CTraceback (most recent call last):
File "/Applications/ZeroNet.app/Contents/Resources/__boot__.py", line 81, in
_run()
File "/Applications/ZeroNet.app/Contents/Resources/__boot__.py", line 66, in _run
exec(compile(source, path, 'exec'), globals(), globals())
File "/Applications/ZeroNet.app/Contents/Resources/boot.py", line 179, in
gui()
File "/Applications/ZeroNet.app/Contents/Resources/boot.py", line 106, in gui
time.sleep(0.1)
KeyboardInterrupt
2019-02-01 16:11:58.506 ZeroNet[26769:266104] ZeroNet Error
2019-02-01 16:11:58.506 ZeroNet[26769:266104] ZeroNet Error
```

SiNaPsE at null in /Applications/ZeroNet.app/Contents/Resources/core
$

贡献指南

这个仓库没有索引到贡献指南

调研方向

Start with update.py and then trace startup through zeronet.py, boot.py, and __boot__.py using the logged Python 2 commands on macOS. Reproduce both the updater and post-update launch failures, keeping the SSL update error separate from the signal and Config errors. Done means the affected update and launch path works without these reported errors.

由索引模型根据 Issue 内容生成。

评估

技术栈
macos, python
领域
desktop, release
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。