Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- berl7n@DESKTOP-E4J3DI4:~/telegrambot$ python3 run.py
- Traceback (most recent call last):
- File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
- chunked=chunked)
- File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
- self._validate_conn(conn)
- File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
- conn.connect()
- File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 326, in connect
- ssl_context=context)
- File "/usr/lib/python3/dist-packages/urllib3/util/ssl_.py", line 329, in ssl_wrap_socket
- return context.wrap_socket(sock, server_hostname=server_hostname)
- File "/usr/lib/python3.6/ssl.py", line 407, in wrap_socket
- _context=self, _session=session)
- File "/usr/lib/python3.6/ssl.py", line 817, in __init__
- self.do_handshake()
- File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
- self._sslobj.do_handshake()
- File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
- self._sslobj.do_handshake()
- ssl.SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:847)
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/usr/lib/python3/dist-packages/requests/adapters.py", line 440, in send
- timeout=timeout
- File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
- _stacktrace=sys.exc_info()[2])
- File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 388, in increment
- raise MaxRetryError(_pool, url, error or ResponseError(cause))
- urllib3.exceptions.MaxRetryError: SOCKSHTTPSConnectionPool(host='api.telegram.org', port=443): Max retries exceeded with url: /bot761556338:AAHIl9OCFvwkudiWlfVxvk35CG86O_tZ0SU/getupdates (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:847)'),))
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "run.py", line 76, in <module>
- main()
- File "run.py", line 24, in main
- answer = botStatOtrsFunc.get_message()
- File "/home/berl7n/telegrambot/botStatOtrsFunc.py", line 44, in get_message
- data = check_message_data()
- File "/home/berl7n/telegrambot/botStatOtrsFunc.py", line 31, in check_message_data
- data = get_updates()
- File "/home/berl7n/telegrambot/botStatOtrsFunc.py", line 25, in get_updates
- r = requests.get(url, proxies=proxies)
- File "/usr/lib/python3/dist-packages/requests/api.py", line 72, in get
- return request('get', url, params=params, **kwargs)
- File "/usr/lib/python3/dist-packages/requests/api.py", line 58, in request
- return session.request(method=method, url=url, **kwargs)
- File "/usr/lib/python3/dist-packages/requests/sessions.py", line 508, in request
- resp = self.send(prep, **send_kwargs)
- File "/usr/lib/python3/dist-packages/requests/sessions.py", line 618, in send
- r = adapter.send(request, **kwargs)
- File "/usr/lib/python3/dist-packages/requests/adapters.py", line 506, in send
- raise SSLError(e, request=request)
- requests.exceptions.SSLError: SOCKSHTTPSConnectionPool(host='api.telegram.org', port=443): Max retries exceeded with url: /bot761556338:AAHIl9OCFvwkudiWlfVxvk35CG86O_tZ0SU/getupdates (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:847)'),))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement