Raid-Toolbox icon indicating copy to clipboard operation
Raid-Toolbox copied to clipboard

Error with raid-toolbox

Open cuj opened this issue 4 years ago • 8 comments

Hi, I was gonna try raid toolbox, but I ran into some errors, so here's when the Raid-ToolBox started when I did python 3 rtb.py:

Error 1: (HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /DeadBread76/Raid-Toolbox/master/version/ (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1123)'))))

Screenshot of error 1: fvdjkhfdgfdfg

And I ran into another error too (output error in cmd):

  File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packa
ges\Python39\site-packages\urllib3\connectionpool.py", line 696, in urlopen
    self._prepare_proxy(conn)
  File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packa
ges\Python39\site-packages\urllib3\connectionpool.py", line 964, in _prepare_proxy
    conn.connect()
  File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packa
ges\Python39\site-packages\urllib3\connection.py", line 359, in connect
    conn = self._connect_tls_proxy(hostname, conn)
  File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packa
ges\Python39\site-packages\urllib3\connection.py", line 496, in _connect_tls_proxy
    return ssl_wrap_socket(
  File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packa
ges\Python39\site-packages\urllib3\util\ssl_.py", line 432, in ssl_wrap_socket
    ssl_sock = _ssl_wrap_socket_impl(sock, context, tls_in_tls)
  File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packa
ges\Python39\site-packages\urllib3\util\ssl_.py", line 474, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock)
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.496.0_x64__qbz5n2kfra8p0\lib\ssl.py", line
500, in wrap_socket
    return self.sslsocket_class._create(
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.496.0_x64__qbz5n2kfra8p0\lib\ssl.py", line
1040, in _create
    self.do_handshake()
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.496.0_x64__qbz5n2kfra8p0\lib\ssl.py", line
1309, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1123)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packa
ges\Python39\site-packages\requests\adapters.py", line 439, in send
    resp = conn.urlopen(
  File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packa
ges\Python39\site-packages\urllib3\connectionpool.py", line 755, in urlopen
    retries = retries.increment(
  File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packa
ges\Python39\site-packages\urllib3\util\retry.py", line 573, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='ffmpeg.zeranoe.com', port=443): Max retries exceeded with ur
l: /builds/win64/static/ffmpeg-4.1.3-win64-static.zip (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong
 version number (_ssl.c:1123)')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\User\OneDrive\Documents\Raid-Toolbox-1.2.5\RTB.py", line 1018, in <module>
    ff = download_file("https://ffmpeg.zeranoe.com/builds/win64/static/ffmpeg-4.1.3-win64-static.zip")
  File "C:\Users\User\OneDrive\Documents\Raid-Toolbox-1.2.5\RTB.py", line 829, in download_file
    with requests.get(url, stream=True) as r:
  File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packa
ges\Python39\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packa
ges\Python39\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packa
ges\Python39\site-packages\requests\sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packa
ges\Python39\site-packages\requests\sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packa
ges\Python39\site-packages\requests\adapters.py", line 514, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='ffmpeg.zeranoe.com', port=443): Max retries exceeded with url: /
builds/win64/static/ffmpeg-4.1.3-win64-static.zip (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong ver
sion number (_ssl.c:1123)')))```

cuj avatar Jan 28 '21 13:01 cuj

btw im using python 3.9

cuj avatar Jan 28 '21 14:01 cuj

@hidden-r4d so I just uninstalled python 3.9 and used python 3.7, but same error.

cuj avatar Jan 31 '21 07:01 cuj

are you opening rtb by double clicking the rtb.py file, or are you opening it from a command prompt?

in cmd as admin, I did python3 rtb.py

cuj avatar Jan 31 '21 09:01 cuj

What does python3 --version return?

I'm having the same issue as cuj. when i do the command it says I have Python 3.7.2.

smqieh avatar Feb 02 '21 06:02 smqieh

Issue has been solved: don't install python msix package from store.rg-adguard.net or from anywhere because the python msix package from store.rg-adguard might have ssl issues, instead install python from python's official website, if that's done and want to run python in cmd, don't do python, do the following: %USERPROFILE%\AppData\Local\Programs\Python\Python36\python.exe also don't do pip, instead do %USERPROFILE%\AppData\Local\Programs\Python\Python36\Scripts\pip.exe.

example:

%USERPROFILE%\AppData\Local\Programs\Python\Python36\Scripts\pip.exe install -r requirements.txt %USERPROFILE%\AppData\Local\Programs\Python\Python36\python.exe rtb.py

example for python 3.7.3 users:

%USERPROFILE%\AppData\Local\Programs\Python\Python37\Scripts\pip.exe install -r requirements.txt %USERPROFILE%\AppData\Local\Programs\Python\Python37\python.exe rtb.py

you can install python from ms store without ssl errors

cuj avatar Feb 02 '21 06:02 cuj