ConnectionRefusedError when trying out readme example
Hi,
I copy-pasted the code from the readme example (where probabilities for a transition from muon to electron neutrino are calculated) into a jupyter notebook and executed it using km3services version 0.4.2. I got the following error:
---------------------------------------------------------------------------
ConnectionRefusedError Traceback (most recent call last)
~/my_envs/km3net_soft_venv/lib/python3.7/site-packages/urllib3/connection.py in _new_conn(self)
174 conn = connection.create_connection(
--> 175 (self._dns_host, self.port), self.timeout, **extra_kw
176 )
~/my_envs/km3net_soft_venv/lib/python3.7/site-packages/urllib3/util/connection.py in create_connection(address, timeout, source_address, socket_options)
94 if err is not None:
---> 95 raise err
96
~/my_envs/km3net_soft_venv/lib/python3.7/site-packages/urllib3/util/connection.py in create_connection(address, timeout, source_address, socket_options)
84 sock.bind(source_address)
---> 85 sock.connect(sa)
86 return sock
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
NewConnectionError Traceback (most recent call last)
~/my_envs/km3net_soft_venv/lib/python3.7/site-packages/urllib3/connectionpool.py in urlopen(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, chunked, body_pos, **response_kw)
721 headers=headers,
--> 722 chunked=chunked,
...
--> 519 raise ConnectionError(e, request=request)
520
521 except ClosedPoolError as e:
ConnectionError: HTTPConnectionPool(host='131.188.161.12', port=30000): Max retries exceeded with url: /probabilities (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fd2a4d640d0>: Failed to establish a new connection: [Errno 111] Connection refused'))
Does anyone have an idea why this happens?