title: SSL handshake failure on Google Translate
body: <p>I have successfully been using the gTTS module in order to get audio from Google Translate for a while. I use it quite sparsely (I must have made 25 requests in total), and don't believe I could have hit any kind of limit that would cause my address to be blocked from using the service.</p>
  
  <p>However, today, after trying to use it (I haven't used it in 1-2 months), I got the following program:</p>
  
  <pre><code>from gtts import gTTS
  
  tts = gTTS('hallo', 'de')
  tts.save('hallo.mp3')
  </code></pre>
  
  <p>To cause an error. I tracked down the problem, and I managed to see that even this simple program:</p>
  
  <pre><code>import requests
  response = requests.get("https://translate.google.com/")
  </code></pre>
  
  <p>Causes the following error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "C:\...\lib\site-packages\urllib3\connectionpool.py", line 601, in urlopen
      chunked=chunked)
    File "C:\...\lib\site-packages\urllib3\connectionpool.py", line 346, in _make_request
      self._validate_conn(conn)
    File "C:\...\lib\site-packages\urllib3\connectionpool.py", line 850, in _validate_conn
      conn.connect()
    File "C:\...\lib\site-packages\urllib3\connection.py", line 326, in connect
      ssl_context=context)
    File "C:\...\lib\site-packages\urllib3\util\ssl_.py", line 329, in ssl_wrap_socket
      return context.wrap_socket(sock, server_hostname=server_hostname)
    File "C:\...\lib\ssl.py", line 407, in wrap_socket
      _context=self, _session=session)
    File "C:\...\lib\ssl.py", line 814, in __init__
      self.do_handshake()
    File "C:\...\lib\ssl.py", line 1068, in do_handshake
      self._sslobj.do_handshake()
    File "C:\...\lib\ssl.py", line 689, in do_handshake
      self._sslobj.do_handshake()
  ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:777)
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "C:\...\lib\site-packages\requests\adapters.py", line 440, in send
      timeout=timeout
    File "C:\...\lib\site-packages\urllib3\connectionpool.py", line 639, in urlopen
      _stacktrace=sys.exc_info()[2])
    File "C:\...\lib\site-packages\urllib3\util\retry.py", line 388, in increment
      raise MaxRetryError(_pool, url, error or ResponseError(cause))
  urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='translate.google.com', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:777)'),))
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "main2.py", line 2, in &lt;module&gt;
      response = requests.get("https://translate.google.com/")
    File "C:\...\lib\site-packages\requests\api.py", line 72, in get
      return request('get', url, params=params, **kwargs)
    File "C:\...\lib\site-packages\requests\api.py", line 58, in request
      return session.request(method=method, url=url, **kwargs)
    File "C:\...\lib\site-packages\requests\sessions.py", line 508, in request
      resp = self.send(prep, **send_kwargs)
    File "C:\...\lib\site-packages\requests\sessions.py", line 618, in send
      r = adapter.send(request, **kwargs)
    File "C:\...\lib\site-packages\requests\adapters.py", line 506, in send
      raise SSLError(e, request=request)
  requests.exceptions.SSLError: HTTPSConnectionPool(host='translate.google.com', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:777)'),))
  </code></pre>
  
  <p>I would like to know if anyone has an idea what the issue could be. I can get on the Google Translate website without any problems from my browser, and have no issues using the audio either.</p>