Skip to content

ConnectionRefusedError where should i configure this? #2

@auniquesun

Description

@auniquesun

afert i run the command as README.md instructed, error occured:

=== Arguments ===
Input Query: ../../data/S2-CS/s2_query.json
Output Run: ../../results/s2/setRank.run
Parameters: title:20.0,abstract:5.0,title_ana:20.0,abstract_ana:5.0,title_mu:1000.0,abstract_mu:1000.0,title_ana_mu:1000.0,abstract_ana_mu:1000.0,entity_lambda:0.5,type_interaction:1.0,consider_entity_set:1.0,consider_word_set:1.0,consider_type:1.0,word_dependency:1.0
GET http://localhost:9200/trec/_search [status:N/A request:0.001s]
Traceback (most recent call last):
File "/home/vagrant/software/conda/lib/python3.6/site-packages/urllib3/connection.py", line 141, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File "/home/vagrant/software/conda/lib/python3.6/site-packages/urllib3/util/connection.py", line 83, in create_connection
raise err
File "/home/vagrant/software/conda/lib/python3.6/site-packages/urllib3/util/connection.py", line 73, 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 "/home/vagrant/software/conda/lib/python3.6/site-packages/elasticsearch/connection/http_urllib3.py", line 114, in perform_request
response = self.pool.urlopen(method, url, body, retries=False, headers=self.headers, **kw)
File "/home/vagrant/software/conda/lib/python3.6/site-packages/urllib3/connectionpool.py", line 639, in urlopen
_stacktrace=sys.exc_info()[2])
File "/home/vagrant/software/conda/lib/python3.6/site-packages/urllib3/util/retry.py", line 333, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/home/vagrant/software/conda/lib/python3.6/site-packages/urllib3/packages/six.py", line 686, in reraise
raise value
File "/home/vagrant/software/conda/lib/python3.6/site-packages/urllib3/connectionpool.py", line 601, in urlopen
chunked=chunked)
File "/home/vagrant/software/conda/lib/python3.6/site-packages/urllib3/connectionpool.py", line 357, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/home/vagrant/software/conda/lib/python3.6/http/client.py", line 1239, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/home/vagrant/software/conda/lib/python3.6/http/client.py", line 1285, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/home/vagrant/software/conda/lib/python3.6/http/client.py", line 1234, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/home/vagrant/software/conda/lib/python3.6/http/client.py", line 1026, in _send_output
self.send(msg)
File "/home/vagrant/software/conda/lib/python3.6/http/client.py", line 964, in send
self.connect()
File "/home/vagrant/software/conda/lib/python3.6/site-packages/urllib3/connection.py", line 166, in connect
conn = self._new_conn()
File "/home/vagrant/software/conda/lib/python3.6/site-packages/urllib3/connection.py", line 150, in _new_conn
self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f6b8de68f98>: Failed to establish a new connection: [Errno 111] Connection refused

any advice, how can i fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions