hanc00l / wooyun_public

This repo is archived. Thanks for wooyun! 乌云公开漏洞、知识库爬虫和搜索 crawl and search for wooyun.org public bug(vulnerability) and drops
http://www.wooyun.org
4.38k stars 1.94k forks source link

一搜索就报错 状态码500 #27

Open learning252 opened 8 years ago

learning252 commented 8 years ago

Internal Server Error

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application. 咋搞啊.......

hanc00l commented 8 years ago

将app.py倒数第4行的: app.run(host='0.0.0.0', port = port, debug=False, threaded=True) debug=False改为True,看一下具体是什么原因报错

learning252 commented 8 years ago

@hanc00l elasticsearch.exceptions.ConnectionError

ConnectionError: ConnectionError(<urllib3.connection.HTTPConnection object at 0x7f303efbd090>: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7f303efbd090>: Failed to establish a new connection: [Errno 111] Connection refused)

Bournevill commented 8 years ago

ConnectionError: ConnectionError(<urllib3.connection.HTTPConnection object at 0x7f530ce1ee50>: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7f530ce1ee50>: Failed to establish a new connection: [Errno 111] Connection refused)

hanc00l commented 8 years ago

1、打开调试选项,看看是什么原因报错 2、根据不少同学的反馈,一般都是elasticsearch的报错。请检查9200端口是否正常,如果不正常说明是elsasticsearch没有起来;如果9200正常,可能是mongodb数据同步到elasticsearch出错了。

governormars commented 7 years ago

想问一下有什么解决方法了吗,多谢了!