Closed xiuxiu closed 3 years ago
Received query: {'q': 'xiaodong han', 'n': '5'}
> Result: Title: `Hesse-Xiaodong-Han - aftermarketNews` url:
https://www.aftermarketnews.com/importance-business-intelligence-decision-makers-business-china/hesse-xiaodong-han/ Content: 3337
[!] HTTPSConnectionPool(host='english.bjut.edu.cn', port=443): Max retries exceeded with url: /info/1291/2310.htm (Caused by
SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer
certificate (_ssl.c:1131)'))) for url https://english.bjut.edu.cn/info/1291/2310.htm
----------------------------------------
Exception happened during processing of request from ('172.16.1.131', 47116)
Traceback (most recent call last):
File "/home/SENSETIME/luoxiao/anaconda3/envs/ParlAI/lib/python3.8/socketserver.py", line 683, in process_request_thread
self.finish_request(request, client_address)
File "/home/SENSETIME/luoxiao/anaconda3/envs/ParlAI/lib/python3.8/socketserver.py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/home/SENSETIME/luoxiao/anaconda3/envs/ParlAI/lib/python3.8/socketserver.py", line 747, in __init__
self.handle()
File "/home/SENSETIME/luoxiao/anaconda3/envs/ParlAI/lib/python3.8/http/server.py", line 427, in handle
self.handle_one_request()
File "/home/SENSETIME/luoxiao/anaconda3/envs/ParlAI/lib/python3.8/http/server.py", line 415, in handle_one_request
method()
File "search_server.py", line 120, in do_POST
maybe_content["content"] is None
TypeError: 'NoneType' object is not subscriptable
(Already made the change by hand, thanks though.)
if reason_empty_response is true, maybe_content might be empty