I'm getting weird errors when attempting to make urlfetch calls out to third party services. Most disturbing is these errors show up raw in http responses and are invisible to my go app. When I deploy my app to a server, these calls work fine.
ERROR Â Â 2015-09-30 04:52:04,694 api_server.py:253] Exception while handling service_name: "urlfetch"
method: "Fetch"
request_id: "gUCIIHqvsE"
Traceback (most recent call last):
 File "/opt/go_appengine/google/appengine/tools/devappserver2/api_server.py", line 228, in _handle_POST
  api_response = _execute_request(request).Encode()
 File "/opt/go_appengine/google/appengine/tools/devappserver2/api_server.py", line 186, in _execute_request
  make_request()
 File "/opt/go_appengine/google/appengine/tools/devappserver2/api_server.py", line 181, in make_request
  request_id)
 File "/opt/go_appengine/google/appengine/api/apiproxy_stub.py", line 131, in MakeSyncCall
  method(request, response)
 File "/opt/go_appengine/google/appengine/api/urlfetch_stub.py", line 236, in _Dynamic_Fetch
  validate_certificate=validate_certificate)
 File "/opt/go_appengine/google/appengine/api/urlfetch_stub.py", line 431, in _RetrieveURL
  connection.request(method, full_path, payload, adjusted_headers)
 File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1053, in request
  self._send_request(method, url, body, headers)
 File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1093, in _send_request
  self.endheaders(body)
 File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1049, in endheaders
  self._send_output(message_body)
 File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 893, in _send_output
  self.send(msg)
 File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 855, in send
  self.connect()
 File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1274, in connect
  server_hostname=server_hostname)
 File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 352, in wrap_socket
  _context=self)
 File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 579, in __init__
  self.do_handshake()
 File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 816, in do_handshake
  match_hostname(self.getpeercert(), self.server_hostname)
 File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 271, in match_hostname
  % (hostname, ', '.join(map(repr, dnsnames))))