This repository has been archived by the owner on May 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
Tranmission SSL error #24
Comments
SSL and Python has been a headache for some time. Can you try |
Same error this is the full error
'Traceback (most recent call last):
File "/usr/local/bin/autotorrent", line 11, in <module>
sys.exit(commandline_handler())
File "/usr/local/lib/python3.6/dist-packages/autotorrent/cmd.py", line 266,
in commandline_handler
proxy_test_result = client.test_connection()
File
"/usr/local/lib/python3.6/dist-packages/autotorrent/clients/transmission.py",
line 106, in test_connection
session_data = self.call('session-get')
File
"/usr/local/lib/python3.6/dist-packages/autotorrent/clients/transmission.py",
line 47, in call
r = self._call(method, **kwargs)
File
"/usr/local/lib/python3.6/dist-packages/autotorrent/clients/transmission.py",
line 41, in _call
return requests.post(self.url, data=json.dumps({'method': method,
'arguments': kwargs}), headers={'X-Transmission-Session-Id':
self._session_id})
File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 112, in
post
return request('post', url, data=data, json=json, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 58, in
request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line
508, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line
618, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line
506, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='127.0.0.1',
port=9093): Max retries exceeded with url: / (Caused by
SSLError(SSLError("bad handshake: Error([('SSL routines',
'ssl3_get_record', 'wrong version number')],)",),))'
…On Thu, Dec 20, 2018, 12:46 PM Anders Jensen ***@***.***> wrote:
SSL and Python has been a headache for some time.
Can you try autotorrent-env/bin/pip install ndg-httpsclient and see if
that fixes it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#24 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Ar4yzWVeT1HMltkiVcuzyHbqSYszZvnCks5u69segaJpZM4Zcml9>
.
|
Autotorrent uses Transmission Web to control Transmission and, as far as I can see, that one doesn't support SSL natively. So, try using http instead of https. If that doesn't work, make sure you're using the correct port. |
If this didn't fix it, feel free to re-open the issue. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
HTTPSConnectionPool(host='127.0.0.1', port=9093): Max retries exceeded with url: / (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_get_record', 'wrong version number')],)",),))
SSL is given via letsencrypt
URL = url = https://name:pass@127.0.0.1:9093
The text was updated successfully, but these errors were encountered: