title: Error 10054 when connecting google service
body: <p>I tried to connect to google api and got this error</p>
  
  <pre><code>requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.google.com', port=443): Max retries exceeded with url: /speech-api/v1/recognize?xjerr=1&amp;client=chromium&amp;lang=ru-RU (Caused by &lt;class 'socket.error'&gt;: [Errno 10054] An existing connection was forcibly closed by the remote host)
  </code></pre>
  
  <p>this is my code, i used library urllib3,urllib2,requests but it did not help</p>
  
  <pre><code>import requests
  
  recording = 'C:/Users/sborovskiy/PycharmProjects/VoiceManager/com/work/voiceManager/output.flac'
  url = 'https://www.google.com/speech-api/v1/recognize?xjerr=1&amp;client=chromium&amp;lang=ru-RU'
  headers = {'Content-Type' : 'audio/x-flac; rate=16000', 'User-Agent': 'Netscape 6.0'}
  files = {'output.flac' : open(recording, 'rb')}
  response = requests.post(url = url, data = files, headers = headers)
  </code></pre>
  
  <p>internet not give a specific answer</p>