2017-07-09 09:49:37,203: OSError: [Errno 101] Network is unreachable
2017-07-09 16:57:31,448: [2017-07-09 16:57:31,437] ERROR in app: Exception on /oauth2callback [GET]
2017-07-09 16:57:31,448: Traceback (most recent call last):
2017-07-09 16:57:31,448: File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1982, in wsgi_app
2017-07-09 16:57:31,449: response = self.full_dispatch_request()
2017-07-09 16:57:31,449: File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1614, in full_dispatch_request
2017-07-09 16:57:31,449: rv = self.handle_user_exception(e)
2017-07-09 16:57:31,449: File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1517, in handle_user_exception
2017-07-09 16:57:31,449: reraise(exc_type, exc_value, tb)
2017-07-09 16:57:31,449: File "/usr/local/lib/python3.6/dist-packages/flask/_compat.py", line 33, in reraise
2017-07-09 16:57:31,449: raise value
2017-07-09 16:57:31,449: File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1612, in full_dispatch_request
2017-07-09 16:57:31,450: rv = self.dispatch_request()
2017-07-09 16:57:31,450: File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1598, in dispatch_request
2017-07-09 16:57:31,450: return self.view_functions[rule.endpoint](**req.view_args)
2017-07-09 16:57:31,450: File "/home/diegoami/mysite/flask_formusic.py", line 69, in oauth2callback
2017-07-09 16:57:31,450: credentials = flow.step2_exchange(auth_code)
2017-07-09 16:57:31,450: File "/usr/local/lib/python3.6/dist-packages/oauth2client/_helpers.py", line 133, in positional_wrapper
2017-07-09 16:57:31,450: return wrapped(*args, **kwargs)
2017-07-09 16:57:31,450: File "/usr/local/lib/python3.6/dist-packages/oauth2client/client.py", line 2047, in step2_exchange
2017-07-09 16:57:31,451: http, self.token_uri, method='POST', body=body, headers=headers)
2017-07-09 16:57:31,451: File "/usr/local/lib/python3.6/dist-packages/oauth2client/transport.py", line 282, in request
2017-07-09 16:57:31,451: connection_type=connection_type)
2017-07-09 16:57:31,451: File "/usr/local/lib/python3.6/dist-packages/httplib2/__init__.py", line 1322, in request
2017-07-09 16:57:31,451: (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
2017-07-09 16:57:31,451: File "/usr/local/lib/python3.6/dist-packages/httplib2/__init__.py", line 1072, in _request
2017-07-09 16:57:31,451: (response, content) = self._conn_request(conn, request_uri, method, body, headers)
2017-07-09 16:57:31,451: File "/usr/local/lib/python3.6/dist-packages/httplib2/__init__.py", line 995, in _conn_request
2017-07-09 16:57:31,452: conn.connect()
2017-07-09 16:57:31,452: File "/usr/lib/python3.6/http/client.py", line 1392, in connect
2017-07-09 16:57:31,452: super().connect()
2017-07-09 16:57:31,452: File "/usr/lib/python3.6/http/client.py", line 936, in connect
2017-07-09 16:57:31,452: (self.host,self.port), self.timeout, self.source_address)
2017-07-09 16:57:31,452: File "/usr/lib/python3.6/socket.py", line 722, in create_connection
2017-07-09 16:57:31,452: raise err
2017-07-09 16:57:31,452: File "/usr/lib/python3.6/socket.py", line 713, in create_connection
2017-07-09 16:57:31,453: sock.connect(sa)
2017-07-09 16:57:31,453: OSError: [Errno 101] Network is unreachable