HelloZeroNet / HelloZeroNet/ZeroNet
bug SSL update
- Lenguaje dominante
- JavaScript
- Estrellas
- 18.8k
- Forks
- 2.3k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
### 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
$
```
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Start with update.py and trace the update flow into zeronet.py and boot.py. Reproduce the reported Python 2 command and inspect the SSL download failure alongside the later signal and missing Config errors. Done means the macOS update completes and ZeroNet starts without these reported errors.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- release
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100