HTTPConnectionPool(host='localhost', port=8181): Max retries exceeded with url: /v1/policies/osdu/instance/example.rego
Trying out the opa-add but getting a connection error, is this the intended use case?
(env) D:\osdu\admincli\cli>python admincli.py opa-add -f tests/example.rego osdu/instance/example.rego
Reading contents of D:\osdu\admincli\cli\tests\example.rego as 'osdu/instance/example.rego' Reading... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 135/135 bytes 0:00:00
Add osdu/instance/example.rego to OPA [y/N]: y
HTTPConnectionPool(host='localhost', port=8181): Max retries exceeded with url: /v1/policies/osdu/instance/example.rego (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000002D589E2D150>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))