Traceback (most recent call last): File "/data/www/glink/app.py", line 1172, in get self.render(tpl+'/reg.html',title = h1 + title_s, kw = kw, ds = ds, n = '3', sk = '', h1 = h1, utype_list = utype_list, sheng_list = sheng_list, thumbs = '', html = get_share(self.request.headers["User-Agent"],'http://'+self.request.host+self.request.uri)) File "/data/www/glink/app.py", line 3619, in get_share data={},timeout=1 , verify=False) File "/usr/lib/python2.7/site-packages/requests/api.py", line 112, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python2.7/site-packages/requests/api.py", line 58, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 502, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 612, in send r = adapter.send(request, **kwargs) File "/usr/lib/python2.7/site-packages/requests/adapters.py", line 496, in send raise ConnectTimeout(e, request=request) ConnectTimeout: HTTPSConnectionPool(host='api.weixin.qq.com', port=443): Max retries exceeded with url: /cgi-bin/token?grant_type=client_credential&appid=wxe1f8d133d30cdbef&secret=79a5eda391253031d1354ef3f4459bf4 (Caused by ConnectTimeoutError(, 'Connection to api.weixin.qq.com timed out. (connect timeout=1)'))