Traceback (most recent call last): File "/data/www/glink/app.py", line 912, in get self.render(tpl+'/div.html',title = tt, kw = kw, ds = ds, entries = entries, city = city, city1 = city1, city2 = city2, qhname = qhname, qhtype = qhtype, qhupname = qhupname, n = '3', sk = '', domain = domain, 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)'))