Traceback (most recent call last): File "/data/www/glink/app.py", line 1855, in get self.render(tpl+'/cun_article.html',title = title_s, cunid = qhid, cun_name = cname, qh_name = qhname, atl = atl, class_list = classlist, news_hot = news_hot, next = next, prev = prev, cun_title = cuntitle, classname = classname, cunad = cunad, zhenad = zhenad, news_count = news_count, a = a, reviews = reviews, timedis = timedis, islogin = islogin, ism = ism, isa = isa, thumbs = atl[10], userid = userid, reviews_num = reviews_num[0], likes_num = likes_num[0], liked = liked, qhup = qhup, qhupname = qhupname, tel = tel, qq = qq, qhs = qhs, divid = divid, shang = shang, 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)'))