Closed kevkevinpal closed 4 months ago
then I noticed that I needed circutbreaker and simln cloned from a doc at the bottom of the readme
Hm, you should only need CB + simln locally if you're running the network creation stuff (ie, what I did to put these graphs together). They should just be pulled from docker when you run the network.
I tried running the start up scripts in the readme and I had some port issue.
Did you get any logs on your failure? Might have been a coincidence that the issue resolved after you pulled those repos.
ya now looking at it, it seems like it was a coincidence . Now it is failing again
these are the logs I get from my terminal after running the scripts
(.venv) β DEVDIR sudo ./attackathon/scripts/start_warnet.sh
Remote 'carla' does not exist. Adding...
Checking out custom branch of warnet
TODO: remove me when attackathon/18 has been addressed!
WARNING: daemon is not using the default seccomp profile
Detected docker desktop running.
Is this correct (y/n): y
Starting warnet for Docker Desktop.
kubectl apply -f src/templates/rpc/namespace.yaml
namespace/warnet created
namespace/warnet-logging unchanged
kubectl apply -f src/templates/rpc/rbac-config.yaml
role.rbac.authorization.k8s.io/pod-reader-exec created
rolebinding.rbac.authorization.k8s.io/read-exec-pods created
clusterrole.rbac.authorization.k8s.io/crd-viewer unchanged
clusterrolebinding.rbac.authorization.k8s.io/crd-viewer-binding unchanged
kubectl apply -f src/templates/rpc/warnet-rpc-service.yaml
service/rpc created
sed 's?/mnt/src?'`PWD`'?g' src/templates/rpc/warnet-rpc-statefulset-dev.yaml | kubectl apply -f -
statefulset.apps/rpc created
kubectl config set-context --current --namespace=warnet
Context "docker-desktop" modified.
echo waiting for rpc to come online
waiting for rpc to come online
kubectl wait --for=condition=Ready --timeout=2m pod rpc-0
pod/rpc-0 condition met
echo Done...
Done...
Port forwarding from kubernetes to warnet cluster for warcli (don't close this!)
kubectl port-forward svc/rpc 9276:9276
Forwarding from 127.0.0.1:9276 -> 9276
Forwarding from [::1]:9276 -> 9276
Handling connection for 9276
Handling connection for 9276
Handling connection for 9276
Handling connection for 9276
Handling connection for 9276
Handling connection for 9276
Handling connection for 9276
Handling connection for 9276
Handling connection for 9276
Handling connection for 9276
E0416 20:41:57.379103 69640 portforward.go:409] an error occurred forwarding 9276 -> 9276: error forwarding port 9276 to pod edff586457ef7d448ed925c2d45b7b52a8d7e03bce9dd84fdea07cc2fc7116e4, uid : exit status 1: 2024/04/17 01:41:57 socat[18856] E connect(11, AF=2 127.0.0.1:9276, 16): Connection refused
error: lost connection to pod
error: Recipe `p` failed on line 84 with exit code 1
and
(.venv) β DEVDIR sudo ./attackathon/scripts/start_network.sh ln_10
Password:
Sorry, try again.
Password:
π£ Bringing up warnet π£
Warnet:
βββββββββββββββββββββββββββββββ³ββββββββββββββββββ³βββββββββββββββββ³ββββββββββββββ³ββββββββββββββββββββββββββββββββββββββββββ
β Temp dir β Bitcoin network β Docker network β Subnet β Graph β
β‘βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ©
β /root/.warnet/warnet/warnet β regtest β warnet β 100.0.0.0/8 β MultiDiGraph with 10 nodes and 58 edges β
βββββββββββββββββββββββββββββββ΄ββββββββββββββββββ΄βββββββββββββββββ΄ββββββββββββββ΄ββββββββββββββββββββββββββββββββββββββββββ
Tanks:
βββββββββ³βββββββββββββββββββββββββ³ββββββββββββββββββ³ββββββββββββββββββββββββ³βββββββββββ³ββββββ³ββββββββββββββββββββββββ³ββββββββββββββββββ
β Index β Version β IPv4 β bitcoin conf β tc_netem β LN β LN Image β LN IPv4 β
β‘ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ©
β 0 β 26.0 β 100.179.213.185 β -uacomment=tank000000 β None β lnd β carlakirkcohen/lnd:aβ¦ β 100.218.198.26 β
β 1 β bitcoindevproject/bitβ¦ β 100.168.3.183 β -uacomment=tank000001 β None β lnd β carlakirkcohen/lnd:aβ¦ β 100.32.160.102 β
β 2 β 26.0 β 100.47.27.115 β -uacomment=tank000002 β None β lnd β carlakirkcohen/lnd:aβ¦ β 100.25.167.42 β
β 3 β 26.0 β 100.220.172.96 β -uacomment=tank000003 β None β lnd β carlakirkcohen/lnd:aβ¦ β 100.220.86.246 β
β 4 β 26.0 β 100.28.49.255 β -uacomment=tank000004 β None β lnd β carlakirkcohen/lnd:aβ¦ β 100.132.177.164 β
β 5 β 26.0 β 100.253.67.12 β -uacomment=tank000005 β None β lnd β carlakirkcohen/lnd:aβ¦ β 100.6.40.228 β
β 6 β 26.0 β 100.174.103.144 β -uacomment=tank000006 β None β lnd β carlakirkcohen/lnd:aβ¦ β 100.243.204.125 β
β 7 β 26.0 β 100.142.144.225 β -uacomment=tank000007 β None β lnd β carlakirkcohen/lnd:aβ¦ β 100.129.91.144 β
β 8 β 26.0 β 100.184.88.99 β -uacomment=tank000008 β None β lnd β carlakirkcohen/lnd:aβ¦ β 100.235.157.43 β
β 9 β 26.0 β 100.63.208.218 β -uacomment=tank000009 β None β lnd β carlakirkcohen/lnd:aβ¦ β 100.8.39.234 β
βββββββββ΄βββββββββββββββββββββββββ΄ββββββββββββββββββ΄ββββββββββββββββββββββββ΄βββββββββββ΄ββββββ΄ββββββββββββββββββββββββ΄ββββββββββββββββββ
Waiting for L1 p2p connections
Traceback (most recent call last):
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 715, in urlopen
httplib_response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 467, in _make_request
six.raise_from(e, None)
File "<string>", line 3, in raise_from
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 462, in _make_request
httplib_response = conn.getresponse()
^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1378, in getresponse
response.begin()
File "/usr/local/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 318, in begin
version, status, reason = self._read_status()
^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 287, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/requests/adapters.py", line 486, in send
resp = conn.urlopen(
^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 799, in urlopen
retries = retries.increment(
^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/util/retry.py", line 550, in increment
raise six.reraise(type(error), error, _stacktrace)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/packages/six.py", line 769, in reraise
raise value.with_traceback(tb)
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 715, in urlopen
httplib_response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 467, in _make_request
six.raise_from(e, None)
File "<string>", line 3, in raise_from
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 462, in _make_request
httplib_response = conn.getresponse()
^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1378, in getresponse
response.begin()
File "/usr/local/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 318, in begin
version, status, reason = self._read_status()
^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 287, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/kevkevin/DEVDIR/warnet/.venv/bin/warcli", line 8, in <module>
sys.exit(cli())
^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/src/cli/network.py", line 142, in connected
print(rpc_call("network_connected", {"network": network}))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/src/cli/rpc.py", line 24, in rpc_call
response = requests.post(url, json=payload)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/requests/api.py", line 115, in post
return request("post", url, data=data, json=json, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/requests/adapters.py", line 501, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
Opening channels and syncing gossip
Traceback (most recent call last):
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 715, in urlopen
httplib_response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 467, in _make_request
six.raise_from(e, None)
File "<string>", line 3, in raise_from
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 462, in _make_request
httplib_response = conn.getresponse()
^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1378, in getresponse
response.begin()
File "/usr/local/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 318, in begin
version, status, reason = self._read_status()
^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 287, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/requests/adapters.py", line 486, in send
resp = conn.urlopen(
^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 799, in urlopen
retries = retries.increment(
^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/util/retry.py", line 550, in increment
raise six.reraise(type(error), error, _stacktrace)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/packages/six.py", line 769, in reraise
raise value.with_traceback(tb)
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 715, in urlopen
httplib_response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 467, in _make_request
six.raise_from(e, None)
File "<string>", line 3, in raise_from
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 462, in _make_request
httplib_response = conn.getresponse()
^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1378, in getresponse
response.begin()
File "/usr/local/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 318, in begin
version, status, reason = self._read_status()
^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 287, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/kevkevin/DEVDIR/warnet/.venv/bin/warcli", line 8, in <module>
sys.exit(cli())
^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/src/cli/scenarios.py", line 50, in run
print(rpc_call("scenarios_run", params))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/src/cli/rpc.py", line 24, in rpc_call
response = requests.post(url, json=payload)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/requests/api.py", line 115, in post
return request("post", url, data=data, json=json, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/requests/adapters.py", line 501, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
Waiting for gossip to sync
Traceback (most recent call last):
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/connection.py", line 174, in _new_conn
conn = connection.create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/util/connection.py", line 95, in create_connection
raise err
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/util/connection.py", line 85, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 61] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 715, in urlopen
httplib_response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 416, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/connection.py", line 244, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File "/usr/local/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1286, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/local/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1332, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/local/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1281, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1041, in _send_output
self.send(msg)
File "/usr/local/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 979, in send
self.connect()
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/connection.py", line 205, in connect
conn = self._new_conn()
^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x10a2da3d0>: Failed to establish a new connection: [Errno 61] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/requests/adapters.py", line 486, in send
resp = conn.urlopen(
^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 799, in urlopen
retries = retries.increment(
^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/util/retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9276): Max retries exceeded with url: /api (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x10a2da3d0>: Failed to establish a new connection: [Errno 61] Connection refused'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/kevkevin/DEVDIR/warnet/.venv/bin/warcli", line 8, in <module>
sys.exit(cli())
^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/src/cli/scenarios.py", line 79, in active
result = rpc_call("scenarios_list_running", {})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/src/cli/rpc.py", line 24, in rpc_call
response = requests.post(url, json=payload)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/requests/api.py", line 115, in post
return request("post", url, data=data, json=json, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/requests/adapters.py", line 519, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=9276): Max retries exceeded with url: /api (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x10a2da3d0>: Failed to establish a new connection: [Errno 61] Connection refused'))
Mining blocks every 5 minutes
Traceback (most recent call last):
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/connection.py", line 174, in _new_conn
conn = connection.create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/util/connection.py", line 95, in create_connection
raise err
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/util/connection.py", line 85, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 61] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 715, in urlopen
httplib_response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 416, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/connection.py", line 244, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File "/usr/local/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1286, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/local/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1332, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/local/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1281, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1041, in _send_output
self.send(msg)
File "/usr/local/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 979, in send
self.connect()
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/connection.py", line 205, in connect
conn = self._new_conn()
^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x10a558d50>: Failed to establish a new connection: [Errno 61] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/requests/adapters.py", line 486, in send
resp = conn.urlopen(
^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 799, in urlopen
retries = retries.increment(
^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/util/retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9276): Max retries exceeded with url: /api (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x10a558d50>: Failed to establish a new connection: [Errno 61] Connection refused'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/kevkevin/DEVDIR/warnet/.venv/bin/warcli", line 8, in <module>
sys.exit(cli())
^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/src/cli/scenarios.py", line 50, in run
print(rpc_call("scenarios_run", params))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/src/cli/rpc.py", line 24, in rpc_call
response = requests.post(url, json=payload)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/requests/api.py", line 115, in post
return request("post", url, data=data, json=json, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/requests/adapters.py", line 519, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=9276): Max retries exceeded with url: /api (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x10a558d50>: Failed to establish a new connection: [Errno 61] Connection refused'))
Generating random payment activity
Traceback (most recent call last):
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/connection.py", line 174, in _new_conn
conn = connection.create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/util/connection.py", line 95, in create_connection
raise err
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/util/connection.py", line 85, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 61] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 715, in urlopen
httplib_response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 416, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/connection.py", line 244, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File "/usr/local/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1286, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/local/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1332, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/local/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1281, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1041, in _send_output
self.send(msg)
File "/usr/local/Cellar/python@3.11/3.11.6_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 979, in send
self.connect()
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/connection.py", line 205, in connect
conn = self._new_conn()
^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x110552350>: Failed to establish a new connection: [Errno 61] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/requests/adapters.py", line 486, in send
resp = conn.urlopen(
^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/connectionpool.py", line 799, in urlopen
retries = retries.increment(
^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/urllib3/util/retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9276): Max retries exceeded with url: /api (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x110552350>: Failed to establish a new connection: [Errno 61] Connection refused'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/kevkevin/DEVDIR/warnet/.venv/bin/warcli", line 8, in <module>
sys.exit(cli())
^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/src/cli/network.py", line 157, in export
print(rpc_call("network_export", {"network": network, "activity": activity, "exclude": exclude}))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/src/cli/rpc.py", line 24, in rpc_call
response = requests.post(url, json=payload)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/requests/api.py", line 115, in post
return request("post", url, data=data, json=json, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kevkevin/DEVDIR/warnet/.venv/lib/python3.11/site-packages/requests/adapters.py", line 519, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=9276): Max retries exceeded with url: /api (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x110552350>: Failed to establish a new connection: [Errno 61] Connection refused'))
sorry the logs were long
closing cause I think it may have been a permissions issue on my local machine it seems to be working now
@kevkevinpal do you need to use sudo
?
I tried running the start up scripts in the readme and I had some port issue, then I noticed that I needed circutbreaker and simln cloned from a doc at the bottom of the readme so I just created a quick check to see if those repos are cloned
let me know if this is incorrect, this seemed to fix it on my local machine which is a MacOS