I'm writing a Google AppEngine python application that needs to connect to Google for authentication. I must have changed something which I've spent the last 5 days trying to figure out: this application previously would run (and perform said authentication) while deployed on localhost but fails to do so now. Once I deploy to appengine however, this error ceases to exist. I have established that it isn't an internet connection issue as I've deployed it on another computer and it still gives me the same error.
Here's what the stack trace is like
Traceback (most recent call last):
File "C:\Program Files\Google\google_appengine\google\appengine\ext\webapp\_webapp25.py", line 701, in __call__
handler.get(*groups)
File "C:\Users\username\Desktop\AppEngine Things\engineapp\main.py", line 372, in get
creds = self.GetCodeCredentials()
File "C:\Users\username\Desktop\AppEngine Things\engineapp\main.py", line 323, in GetCodeCredentials
creds = oauth_flow.step2_exchange(code)
File "lib\oauth2client\client.py", line 883, in step2_exchange
headers=headers)
File "lib\httplib2\__init__.py", line 1445, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "lib\httplib2\__init__.py", line 1197, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
File "lib\httplib2\__init__.py", line 1167, in _conn_request
response = conn.getresponse()
File "lib\httplib2\__init__.py", line 999, in getresponse
raise httplib.HTTPException()
HTTPException