500 Internal Server Error Traceback (most recent call last): File "/www/wwwroot/linkeddb.com/www/venv/lib64/python3.6/site-packages/py2neo-3.1.2-py3.6.egg/py2neo/database/__init__.py", line 318, in __new__ inst = cls.__instances[key] KeyError: (, , 'data') During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/www/wwwroot/linkeddb.com/www/venv/lib64/python3.6/site-packages/py2neo-3.1.2-py3.6.egg/py2neo/packages/httpstream/http.py", line 322, in submit response = send() File "/www/wwwroot/linkeddb.com/www/venv/lib64/python3.6/site-packages/py2neo-3.1.2-py3.6.egg/py2neo/packages/httpstream/http.py", line 317, in send http.request(xstr(method), xstr(uri.absolute_path_reference), body, headers) File "/usr/lib64/python3.6/http/client.py", line 1254, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib64/python3.6/http/client.py", line 1300, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib64/python3.6/http/client.py", line 1249, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib64/python3.6/http/client.py", line 1036, in _send_output self.send(msg) File "/usr/lib64/python3.6/http/client.py", line 974, in send self.connect() File "/www/wwwroot/linkeddb.com/www/venv/lib64/python3.6/site-packages/py2neo-3.1.2-py3.6.egg/py2neo/packages/httpstream/http.py", line 80, in connect self.source_address) File "/usr/lib64/python3.6/socket.py", line 724, in create_connection raise err File "/usr/lib64/python3.6/socket.py", line 713, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/www/wwwroot/linkeddb.com/www/lweb/core.py", line 1644, in _handle return callback(**args) File "/www/wwwroot/linkeddb.com/www/apps/common.py", line 427, in wrapper out = f(*args, **kwargs) File "/www/wwwroot/linkeddb.com/www/apps/movie.py", line 253, in r_relation graph_var = graph_com.get_movie_graph(movie.id, oid) File "/www/wwwroot/linkeddb.com/www/apps/api/graph_com.py", line 275, in get_movie_graph rows = neo.fetchall(cypher, movie_id=movie_id) File "/www/wwwroot/linkeddb.com/www/utils/db.py", line 61, in fetchall rows = self.driver.data(statement, args, **kwargs) File "/www/wwwroot/linkeddb.com/www/utils/db.py", line 54, in driver user=config.NEO4J['user'], password=config.NEO4J['password']) File "/www/wwwroot/linkeddb.com/www/venv/lib64/python3.6/site-packages/py2neo-3.1.2-py3.6.egg/py2neo/database/__init__.py", line 327, in __new__ use_bolt = version_tuple(inst.__remote__.get().content["neo4j_version"]) >= (3,) File "/www/wwwroot/linkeddb.com/www/venv/lib64/python3.6/site-packages/py2neo-3.1.2-py3.6.egg/py2neo/database/http.py", line 154, in get response = self.__base.get(headers=headers, redirect_limit=redirect_limit, **kwargs) File "/www/wwwroot/linkeddb.com/www/venv/lib64/python3.6/site-packages/py2neo-3.1.2-py3.6.egg/py2neo/packages/httpstream/http.py", line 966, in get return self.__get_or_head("GET", if_modified_since, headers, redirect_limit, **kwargs) File "/www/wwwroot/linkeddb.com/www/venv/lib64/python3.6/site-packages/py2neo-3.1.2-py3.6.egg/py2neo/packages/httpstream/http.py", line 943, in __get_or_head return rq.submit(redirect_limit=redirect_limit, **kwargs) File "/www/wwwroot/linkeddb.com/www/venv/lib64/python3.6/site-packages/py2neo-3.1.2-py3.6.egg/py2neo/packages/httpstream/http.py", line 433, in submit http, rs = submit(self.method, uri, self.body, self.headers) File "/www/wwwroot/linkeddb.com/www/venv/lib64/python3.6/site-packages/py2neo-3.1.2-py3.6.egg/py2neo/packages/httpstream/http.py", line 362, in submit raise SocketError(code, description, host_port=uri.host_port) py2neo.packages.httpstream.http.SocketError: Connection refused