title: Flask giving request error on python3.5 . What could be the problem?
body: <p>When I am running the backend server, I am getting the following error. </p>
  
  <pre><code>[25/Oct/2019 12:00:10] "OPTIONS / HTTP/1.1" 200 -
  Error on request:
  Traceback (most recent call last):
    File "/home/user/.local/lib/python3.5/site-packages/werkzeug/serving.py", line 304, in run_wsgi
      execute(self.server.app)
    File "/home/user/.local/lib/python3.5/site-packages/werkzeug/serving.py", line 297, in execute
      write(b"")
    File "/home/user/.local/lib/python3.5/site-packages/werkzeug/serving.py", line 276, in write
      self.wfile.write(data)
    File "/usr/lib/python3.5/socket.py", line 593, in write
      return self._sock.send(b)
    File "/usr/lib/python3.5/ssl.py", line 861, in send
      return self._sslobj.write(data)
    File "/usr/lib/python3.5/ssl.py", line 586, in write
      return self._sslobj.write(data)
  ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:1848)
  </code></pre>
  
  <p>Also this is the start of the flask code </p>
  
  <pre><code>@app.route('/',methods=['GET','POST'])
  def responseToExtensionRequest():
      if request.method == 'POST':
          requestString = request.get_json(force=True,silent=True) # read the request as json string
  
          global action_window
          # global goal_score
  
          requestGoal = requestString.get('goal')
  </code></pre>