wooyun_public icon indicating copy to clipboard operation
wooyun_public copied to clipboard

一搜索就报错 状态码500

Open learning252 opened this issue 8 years ago • 5 comments

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. 咋搞啊.......

learning252 avatar Sep 04 '16 08:09 learning252

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

hanc00l avatar Sep 04 '16 13:09 hanc00l

@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)

learning252 avatar Sep 05 '16 11:09 learning252

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)

Bournevill avatar Oct 10 '16 07:10 Bournevill

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

hanc00l avatar Oct 10 '16 07:10 hanc00l

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

governormars avatar Dec 01 '16 06:12 governormars