Hi there,
Having an error on Seafile Pro, on which I receive ‘Internal Server Error’ on the search page.
seahub.log shows the following:
> 020-01-19 09:23:50,549 [WARNING] elasticsearch:97 log_request_fail HEAD http://127.0.0.1:9200/repofiles [status:N/A request:0.001s]
> Traceback (most recent call last):
> File "/data/seafile/seafile-pro-server-7.0.9/pro/python/elasticsearch/connection/http_urllib3.py", line 115, in perform_request
> response = self.pool.urlopen(method, url, body, retries=False, headers=self.headers, **kw)
> File "/data/seafile/seafile-pro-server-7.0.9/seahub/thirdpart/urllib3/connectionpool.py", line 638, in urlopen
> _stacktrace=sys.exc_info()[2])
> File "/data/seafile/seafile-pro-server-7.0.9/seahub/thirdpart/urllib3/util/retry.py", line 343, in increment
> raise six.reraise(type(error), error, _stacktrace)
> File "/data/seafile/seafile-pro-server-7.0.9/seahub/thirdpart/urllib3/connectionpool.py", line 600, in urlopen
> chunked=chunked)
> File "/data/seafile/seafile-pro-server-7.0.9/seahub/thirdpart/urllib3/connectionpool.py", line 354, in _make_request
> conn.request(method, url, **httplib_request_kw)
> File "/usr/lib/python2.7/httplib.py", line 1069, in request
> self._send_request(method, url, body, headers)
> File "/usr/lib/python2.7/httplib.py", line 1109, in _send_request
> self.endheaders(body)
> File "/usr/lib/python2.7/httplib.py", line 1065, in endheaders
> self._send_output(message_body)
> File "/usr/lib/python2.7/httplib.py", line 892, in _send_output
> self.send(msg)
> File "/usr/lib/python2.7/httplib.py", line 854, in send
> self.connect()
> File "/data/seafile/seafile-pro-server-7.0.9/seahub/thirdpart/urllib3/connection.py", line 181, in connect
> conn = self._new_conn()
> File "/data/seafile/seafile-pro-server-7.0.9/seahub/thirdpart/urllib3/connection.py", line 168, in _new_conn
> self, "Failed to establish a new connection: %s" % e)
> NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7ff218e2d550>: Failed to establish a new connection: [Errno 111] Connection refused
> 2020-01-19 09:23:50,575 [WARNING] elasticsearch:97 log_request_fail HEAD http://127.0.0.1:9200/repofiles [status:N/A request:0.001s]
> Traceback (most recent call last):
> File "/data/seafile/seafile-pro-server-7.0.9/pro/python/elasticsearch/connection/http_urllib3.py", line 115, in perform_request
> response = self.pool.urlopen(method, url, body, retries=False, headers=self.headers, **kw)
> File "/data/seafile/seafile-pro-server-7.0.9/seahub/thirdpart/urllib3/connectionpool.py", line 638, in urlopen
> _stacktrace=sys.exc_info()[2])
> File "/data/seafile/seafile-pro-server-7.0.9/seahub/thirdpart/urllib3/util/retry.py", line 343, in increment
> raise six.reraise(type(error), error, _stacktrace)
> File "/data/seafile/seafile-pro-server-7.0.9/seahub/thirdpart/urllib3/connectionpool.py", line 600, in urlopen
> chunked=chunked)
> File "/data/seafile/seafile-pro-server-7.0.9/seahub/thirdpart/urllib3/connectionpool.py", line 354, in _make_request
> conn.request(method, url, **httplib_request_kw)
> File "/usr/lib/python2.7/httplib.py", line 1069, in request
> self._send_request(method, url, body, headers)
> File "/usr/lib/python2.7/httplib.py", line 1109, in _send_request
> self.endheaders(body)
> File "/usr/lib/python2.7/httplib.py", line 1065, in endheaders
> self._send_output(message_body)
> File "/usr/lib/python2.7/httplib.py", line 892, in _send_output
> self.send(msg)
> File "/usr/lib/python2.7/httplib.py", line 854, in send
> self.connect()
> File "/data/seafile/seafile-pro-server-7.0.9/seahub/thirdpart/urllib3/connection.py", line 181, in connect
> conn = self._new_conn()
> File "/data/seafile/seafile-pro-server-7.0.9/seahub/thirdpart/urllib3/connection.py", line 168, in _new_conn
> self, "Failed to establish a new connection: %s" % e)
> NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7ff218e2d650>: Failed to establish a new connection: [Errno 111] Connection refused
> 2020-01-19 09:23:50,576 [WARNING] elasticsearch:97 log_request_fail HEAD http://127.0.0.1:9200/repofiles [status:N/A request:0.001s]
> Traceback (most recent call last):
> File "/data/seafile/seafile-pro-server-7.0.9/pro/python/elasticsearch/connection/http_urllib3.py", line 115, in perform_request
> response = self.pool.urlopen(method, url, body, retries=False, headers=self.headers, **kw)
> File "/data/seafile/seafile-pro-server-7.0.9/seahub/thirdpart/urllib3/connectionpool.py", line 638, in urlopen
> _stacktrace=sys.exc_info()[2])
> File "/data/seafile/seafile-pro-server-7.0.9/seahub/thirdpart/urllib3/util/retry.py", line 343, in increment
> raise six.reraise(type(error), error, _stacktrace)
> File "/data/seafile/seafile-pro-server-7.0.9/seahub/thirdpart/urllib3/connectionpool.py", line 600, in urlopen
> chunked=chunked)
> File "/data/seafile/seafile-pro-server-7.0.9/seahub/thirdpart/urllib3/connectionpool.py", line 354, in _make_request
> conn.request(method, url, **httplib_request_kw)
> File "/usr/lib/python2.7/httplib.py", line 1069, in request
> self._send_request(method, url, body, headers)
> File "/usr/lib/python2.7/httplib.py", line 1109, in _send_request
> self.endheaders(body)
> File "/usr/lib/python2.7/httplib.py", line 1065, in endheaders
> self._send_output(message_body)
> File "/usr/lib/python2.7/httplib.py", line 892, in _send_output
> self.send(msg)
> File "/usr/lib/python2.7/httplib.py", line 854, in send
> self.connect()
> File "/data/seafile/seafile-pro-server-7.0.9/seahub/thirdpart/urllib3/connection.py", line 181, in connect
> conn = self._new_conn()
> File "/data/seafile/seafile-pro-server-7.0.9/seahub/thirdpart/urllib3/connection.py", line 168, in _new_conn
> self, "Failed to establish a new connection: %s" % e)
> NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7ff218e2db90>: Failed to establish a new connection: [Errno 111] Connection refused
> 2020-01-19 09:23:50,577 [WARNING] elasticsearch:97 log_request_fail HEAD http://127.0.0.1:9200/repofiles [status:N/A request:0.001s]
> Traceback (most recent call last):
> File "/data/seafile/seafile-pro-server-7.0.9/pro/python/elasticsearch/connection/http_urllib3.py", line 115, in perform_request
> response = self.pool.urlopen(method, url, body, retries=False, headers=self.headers, **kw)
> File "/data/seafile/seafile-pro-server-7.0.9/seahub/thirdpart/urllib3/connectionpool.py", line 638, in urlopen
> _stacktrace=sys.exc_info()[2])
> File "/data/seafile/seafile-pro-server-7.0.9/seahub/thirdpart/urllib3/util/retry.py", line 343, in increment
> raise six.reraise(type(error), error, _stacktrace)
> File "/data/seafile/seafile-pro-server-7.0.9/seahub/thirdpart/urllib3/connectionpool.py", line 600, in urlopen
> chunked=chunked)
> File "/data/seafile/seafile-pro-server-7.0.9/seahub/thirdpart/urllib3/connectionpool.py", line 354, in _make_request
> conn.request(method, url, **httplib_request_kw)
> File "/usr/lib/python2.7/httplib.py", line 1069, in request
> self._send_request(method, url, body, headers)
> File "/usr/lib/python2.7/httplib.py", line 1109, in _send_request
> self.endheaders(body)
> File "/usr/lib/python2.7/httplib.py", line 1065, in endheaders
> self._send_output(message_body)
> File "/usr/lib/python2.7/httplib.py", line 892, in _send_output
> self.send(msg)
> File "/usr/lib/python2.7/httplib.py", line 854, in send
> self.connect()
> File "/data/seafile/seafile-pro-server-7.0.9/seahub/thirdpart/urllib3/connection.py", line 181, in connect
> conn = self._new_conn()
> File "/data/seafile/seafile-pro-server-7.0.9/seahub/thirdpart/urllib3/connection.py", line 168, in _new_conn
> self, "Failed to establish a new connection: %s" % e)
> NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7ff218e2d550>: Failed to establish a new connection: [Errno 111] Connection refused
> 2020-01-19 09:23:50,578 [ERROR] seahub.api2.views:576 get ConnectionError(<urllib3.connection.HTTPConnection object at 0x7ff218e2d550>: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7ff218e2d550>: Failed to establish a new connection: [Errno 111] Connection refused)
I saw some other posts that made reference to elasticsearch logs, however nothing has come up in those. The last entry in the elasticsearch.log is from 5 days ago which had a ‘high disk watermark exceeded’ error – my disk was full a couple of days ago, but i have expanded the drive size now, and there is still 80GB available.
Any clues?