Comments (1)
Continued
The above exception was the direct cause of the following exception:
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ /Users/atatekeli/PycharmProjects/customer_satisfaction_with_deployment/venv/lib/python3.10/site- │
│ packages/urllib3/connectionpool.py:790 in urlopen │
│ │
│ 787 │ │ │ response_conn = conn if not release_conn else None │
│ 788 │ │ │ │
│ 789 │ │ │ # Make the request on the HTTPConnection object │
│ ❱ 790 │ │ │ response = self._make_request( │
│ 791 │ │ │ │ conn, │
│ 792 │ │ │ │ method, │
│ 793 │ │ │ │ url, │
│ │
│ /Users/atatekeli/PycharmProjects/customer_satisfaction_with_deployment/venv/lib/python3.10/site- │
│ packages/urllib3/connectionpool.py:496 in _make_request │
│ │
│ 493 │ │ # conn.request() calls http.client.*.request, not the method in │
│ 494 │ │ # urllib3.request. It also calls makefile (recv) on the socket. │
│ 495 │ │ try: │
│ ❱ 496 │ │ │ conn.request( │
│ 497 │ │ │ │ method, │
│ 498 │ │ │ │ url, │
│ 499 │ │ │ │ body=body, │
│ │
│ /Users/atatekeli/PycharmProjects/customer_satisfaction_with_deployment/venv/lib/python3.10/site- │
│ packages/urllib3/connection.py:395 in request │
│ │
│ 392 │ │ │ self.putheader("User-Agent", _get_default_user_agent()) │
│ 393 │ │ for header, value in headers.items(): │
│ 394 │ │ │ self.putheader(header, value) │
│ ❱ 395 │ │ self.endheaders() │
│ 396 │ │ │
│ 397 │ │ # If we're given a body we start sending that in chunks. │
│ 398 │ │ if chunks is not None: │
│ │
│ /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py:1277 in │
│ endheaders │
│ │
│ 1274 │ │ │ self.__state = _CS_REQ_SENT │
│ 1275 │ │ else: │
│ 1276 │ │ │ raise CannotSendHeader() │
│ ❱ 1277 │ │ self._send_output(message_body, encode_chunked=encode_chunked) │
│ 1278 │ │
│ 1279 │ def request(self, method, url, body=None, headers={}, *, │
│ 1280 │ │ │ │ encode_chunked=False): │
│ │
│ /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py:1037 in │
│ _send_output │
│ │
│ 1034 │ │ self._buffer.extend((b"", b"")) │
│ 1035 │ │ msg = b"\r\n".join(self._buffer) │
│ 1036 │ │ del self._buffer[:] │
│ ❱ 1037 │ │ self.send(msg) │
│ 1038 │ │ │
│ 1039 │ │ if message_body is not None: │
│ 1040 │
│ │
│ /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py:975 in send │
│ │
│ 972 │ │ │
│ 973 │ │ if self.sock is None: │
│ 974 │ │ │ if self.auto_open: │
│ ❱ 975 │ │ │ │ self.connect() │
│ 976 │ │ │ else: │
│ 977 │ │ │ │ raise NotConnected() │
│ 978 │
│ │
│ /Users/atatekeli/PycharmProjects/customer_satisfaction_with_deployment/venv/lib/python3.10/site- │
│ packages/urllib3/connection.py:243 in connect │
│ │
│ 240 │ │ self._tunnel_scheme = scheme │
│ 241 │ │
│ 242 │ def connect(self) -> None: │
│ ❱ 243 │ │ self.sock = self._new_conn() │
│ 244 │ │ if self._tunnel_host: │
│ 245 │ │ │ # If we're tunneling it means we're connected to our proxy. │
│ 246 │ │ │ self._has_connected_to_proxy = True │
│ │
│ /Users/atatekeli/PycharmProjects/customer_satisfaction_with_deployment/venv/lib/python3.10/site- │
│ packages/urllib3/connection.py:218 in _new_conn │
│ │
│ 215 │ │ │ ) from e │
│ 216 │ │ │
│ 217 │ │ except OSError as e: │
│ ❱ 218 │ │ │ raise NewConnectionError( │
│ 219 │ │ │ │ self, f"Failed to establish a new connection: {e}" │
│ 220 │ │ │ ) from e │
│ 221 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
NewConnectionError: <urllib3.connection.HTTPConnection object at 0x1203731f0>: Failed to establish a new connection:
[Errno 61] Connection refused
The above exception was the direct cause of the following exception:
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ /Users/atatekeli/PycharmProjects/customer_satisfaction_with_deployment/venv/lib/python3.10/site- │
│ packages/requests/adapters.py:486 in send │
│ │
│ 483 │ │ │ timeout = TimeoutSauce(connect=timeout, read=timeout) │
│ 484 │ │ │
│ 485 │ │ try: │
│ ❱ 486 │ │ │ resp = conn.urlopen( │
│ 487 │ │ │ │ method=request.method, │
│ 488 │ │ │ │ url=url, │
│ 489 │ │ │ │ body=request.body, │
│ │
│ /Users/atatekeli/PycharmProjects/customer_satisfaction_with_deployment/venv/lib/python3.10/site- │
│ packages/urllib3/connectionpool.py:844 in urlopen │
│ │
│ 841 │ │ │ elif isinstance(new_e, (OSError, HTTPException)): │
│ 842 │ │ │ │ new_e = ProtocolError("Connection aborted.", new_e) │
│ 843 │ │ │ │
│ ❱ 844 │ │ │ retries = retries.increment( │
│ 845 │ │ │ │ method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2] │
│ 846 │ │ │ ) │
│ 847 │ │ │ retries.sleep() │
│ │
│ /Users/atatekeli/PycharmProjects/customer_satisfaction_with_deployment/venv/lib/python3.10/site- │
│ packages/urllib3/util/retry.py:515 in increment │
│ │
│ 512 │ │ │
│ 513 │ │ if new_retry.is_exhausted(): │
│ 514 │ │ │ reason = error or ResponseError(cause) │
│ ❱ 515 │ │ │ raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type │
│ 516 │ │ │
│ 517 │ │ log.debug("Incremented Retry for (url='%s'): %r", url, new_retry) │
│ 518 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=8237): Max retries exceeded with url: /api/v1/info (Caused by
NewConnectionError('<urllib3.connection.HTTPConnection object at 0x1203731f0>: Failed to establish a new connection:
[Errno 61] Connection refused'))
During handling of the above exception, another exception occurred:
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ /Users/atatekeli/PycharmProjects/customer_satisfaction_with_deployment/venv/lib/python3.10/site- │
│ packages/zenml/zen_stores/base_zen_store.py:144 in __init__ │
│ │
│ 141 │ │ super().__init__(**kwargs) │
│ 142 │ │ │
│ 143 │ │ try: │
│ ❱ 144 │ │ │ self._initialize() │
│ 145 │ │ except Exception as e: │
│ 146 │ │ │ raise RuntimeError( │
│ 147 │ │ │ │ f"Error initializing {self.type.value} store with URL " │
│ │
│ /Users/atatekeli/PycharmProjects/customer_satisfaction_with_deployment/venv/lib/python3.10/site- │
│ packages/zenml/zen_stores/rest_zen_store.py:417 in _initialize │
│ │
│ 414 │ def _initialize(self) -> None: │
│ 415 │ │ """Initialize the REST store.""" │
│ 416 │ │ client_version = zenml.__version__ │
│ ❱ 417 │ │ server_version = self.get_store_info().version │
│ 418 │ │ │
│ 419 │ │ if not DISABLE_CLIENT_SERVER_MISMATCH_WARNING and ( │
│ 420 │ │ │ server_version != client_version │
│ │
│ /Users/atatekeli/PycharmProjects/customer_satisfaction_with_deployment/venv/lib/python3.10/site- │
│ packages/zenml/zen_stores/rest_zen_store.py:438 in get_store_info │
│ │
│ 435 │ │ Returns: │
│ 436 │ │ │ Information about the server. │
│ 437 │ │ """ │
│ ❱ 438 │ │ body = self.get(INFO) │
│ 439 │ │ return ServerModel.parse_obj(body) │
│ 440 │ │
│ 441 │ # ------ │
│ │
│ /Users/atatekeli/PycharmProjects/customer_satisfaction_with_deployment/venv/lib/python3.10/site- │
│ packages/zenml/zen_stores/rest_zen_store.py:2480 in get │
│ │
│ 2477 │ │ │ The response body. │
│ 2478 │ │ """ │
│ 2479 │ │ logger.debug(f"Sending GET request to {path}...") │
│ ❱ 2480 │ │ return self._request( │
│ 2481 │ │ │ "GET", self.url + API + VERSION_1 + path, params=params, **kwargs │
│ 2482 │ │ ) │
│ 2483 │
│ │
│ /Users/atatekeli/PycharmProjects/customer_satisfaction_with_deployment/venv/lib/python3.10/site- │
│ packages/zenml/zen_stores/rest_zen_store.py:2442 in _request │
│ │
│ 2439 │ │ │
│ 2440 │ │ try: │
│ 2441 │ │ │ return self._handle_response( │
│ ❱ 2442 │ │ │ │ self.session.request( │
│ 2443 │ │ │ │ │ method, │
│ 2444 │ │ │ │ │ url, │
│ 2445 │ │ │ │ │ params=params, │
│ │
│ /Users/atatekeli/PycharmProjects/customer_satisfaction_with_deployment/venv/lib/python3.10/site- │
│ packages/requests/sessions.py:589 in request │
│ │
│ 586 │ │ │ "allow_redirects": allow_redirects, │
│ 587 │ │ } │
│ 588 │ │ send_kwargs.update(settings) │
│ ❱ 589 │ │ resp = self.send(prep, **send_kwargs) │
│ 590 │ │ │
│ 591 │ │ return resp │
│ 592 │
│ │
│ /Users/atatekeli/PycharmProjects/customer_satisfaction_with_deployment/venv/lib/python3.10/site- │
│ packages/requests/sessions.py:703 in send │
│ │
│ 700 │ │ start = preferred_clock() │
│ 701 │ │ │
│ 702 │ │ # Send the request │
│ ❱ 703 │ │ r = adapter.send(request, **kwargs) │
│ 704 │ │ │
│ 705 │ │ # Total elapsed time of the request (approximately) │
│ 706 │ │ elapsed = preferred_clock() - start │
│ │
│ /Users/atatekeli/PycharmProjects/customer_satisfaction_with_deployment/venv/lib/python3.10/site- │
│ packages/requests/adapters.py:519 in send │
│ │
│ 516 │ │ │ │ # This branch is for urllib3 v1.22 and later. │
│ 517 │ │ │ │ raise SSLError(e, request=request) │
│ 518 │ │ │ │
│ ❱ 519 │ │ │ raise ConnectionError(e, request=request) │
│ 520 │ │ │
│ 521 │ │ except ClosedPoolError as e: │
│ 522 │ │ │ raise ConnectionError(e, request=request) │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=8237): Max retries exceeded with url: /api/v1/info (Caused by
NewConnectionError('<urllib3.connection.HTTPConnection object at 0x1203731f0>: Failed to establish a new connection:
[Errno 61] Connection refused'))
The above exception was the direct cause of the following exception:
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ /Users/atatekeli/PycharmProjects/customer_satisfaction_with_deployment/venv/bin/zenml:8 in │
│ <module> │
│ │
│ 5 from zenml.cli.cli import cli │
│ 6 if __name__ == '__main__': │
│ 7 │ sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) │
│ ❱ 8 │ sys.exit(cli()) │
│ 9 │
│ │
│ /Users/atatekeli/PycharmProjects/customer_satisfaction_with_deployment/venv/lib/python3.10/site- │
│ packages/click/core.py:1130 in __call__ │
│ │
│ 1127 │ │
│ 1128 │ def __call__(self, *args: t.Any, **kwargs: t.Any) -> t.Any: │
│ 1129 │ │ """Alias for :meth:`main`.""" │
│ ❱ 1130 │ │ return self.main(*args, **kwargs) │
│ 1131 │
│ 1132 │
│ 1133 class Command(BaseCommand): │
│ │
│ /Users/atatekeli/PycharmProjects/customer_satisfaction_with_deployment/venv/lib/python3.10/site- │
│ packages/click/core.py:1055 in main │
│ │
│ 1052 │ │ try: │
│ 1053 │ │ │ try: │
│ 1054 │ │ │ │ with self.make_context(prog_name, args, **extra) as ctx: │
│ ❱ 1055 │ │ │ │ │ rv = self.invoke(ctx) │
│ 1056 │ │ │ │ │ if not standalone_mode: │
│ 1057 │ │ │ │ │ │ return rv │
│ 1058 │ │ │ │ │ # it's not safe to `ctx.exit(rv)` here! │
│ │
│ /Users/atatekeli/PycharmProjects/customer_satisfaction_with_deployment/venv/lib/python3.10/site- │
│ packages/click/core.py:1657 in invoke │
│ │
│ 1654 │ │ │ │ super().invoke(ctx) │
│ 1655 │ │ │ │ sub_ctx = cmd.make_context(cmd_name, args, parent=ctx) │
│ 1656 │ │ │ │ with sub_ctx: │
│ ❱ 1657 │ │ │ │ │ return _process_result(sub_ctx.command.invoke(sub_ctx)) │
│ 1658 │ │ │
│ 1659 │ │ # In chain mode we create the contexts step by step, but after the │
│ 1660 │ │ # base command has been invoked. Because at that point we do not │
│ │
│ /Users/atatekeli/PycharmProjects/customer_satisfaction_with_deployment/venv/lib/python3.10/site- │
│ packages/click/core.py:1404 in invoke │
│ │
│ 1401 │ │ │ echo(style(message, fg="red"), err=True) │
│ 1402 │ │ │
│ 1403 │ │ if self.callback is not None: │
│ ❱ 1404 │ │ │ return ctx.invoke(self.callback, **ctx.params) │
│ 1405 │ │
│ 1406 │ def shell_complete(self, ctx: Context, incomplete: str) -> t.List["CompletionItem"]: │
│ 1407 │ │ """Return a list of completions for the incomplete value. Looks │
│ │
│ /Users/atatekeli/PycharmProjects/customer_satisfaction_with_deployment/venv/lib/python3.10/site- │
│ packages/click/core.py:760 in invoke │
│ │
│ 757 │ │ │
│ 758 │ │ with augment_usage_errors(__self): │
│ 759 │ │ │ with ctx: │
│ ❱ 760 │ │ │ │ return __callback(*args, **kwargs) │
│ 761 │ │
│ 762 │ def forward( │
│ 763 │ │ __self, __cmd: "Command", *args: t.Any, **kwargs: t.Any # noqa: B902 │
│ │
│ /Users/atatekeli/PycharmProjects/customer_satisfaction_with_deployment/venv/lib/python3.10/site- │
│ packages/zenml/cli/server.py:176 in up │
│ │
│ 173 │ │ │
│ 174 │ │ server_config = ServerDeploymentConfig(**config_attrs) │
│ 175 │ │ │
│ ❱ 176 │ │ server = deployer.deploy_server(server_config) │
│ 177 │ │ │
│ 178 │ │ assert gc.store is not None │
│ 179 │
│ │
│ /Users/atatekeli/PycharmProjects/customer_satisfaction_with_deployment/venv/lib/python3.10/site- │
│ packages/zenml/zen_server/deploy/deployer.py:112 in deploy_server │
│ │
│ 109 │ │ # may require access to the local store configuration or database. │
│ 110 │ │ gc = GlobalConfiguration() │
│ 111 │ │ │
│ ❱ 112 │ │ _ = gc.zen_store │
│ 113 │ │ │
│ 114 │ │ try: │
│ 115 │ │ │ self.get_server(config.name) │
│ │
│ /Users/atatekeli/PycharmProjects/customer_satisfaction_with_deployment/venv/lib/python3.10/site- │
│ packages/zenml/config/global_config.py:269 in __custom_getattribute__ │
│ │
│ 266 │ │ Returns: │
│ 267 │ │ │ The attribute value. │
│ 268 │ │ """ │
│ ❱ 269 │ │ value = super().__getattribute__(key) │
│ 270 │ │ if key.startswith("_") or key not in type(self).__fields__: │
│ 271 │ │ │ return value │
│ 272 │
│ │
│ /Users/atatekeli/PycharmProjects/customer_satisfaction_with_deployment/venv/lib/python3.10/site- │
│ packages/zenml/config/global_config.py:684 in zen_store │
│ │
│ 681 │ │ if not self.store: │
│ 682 │ │ │ self.set_default_store() │
│ 683 │ │ elif self._zen_store is None: │
│ ❱ 684 │ │ │ self._configure_store(self.store) │
│ 685 │ │ │
│ 686 │ │ assert self._zen_store is not None │
│ 687 │
│ │
│ /Users/atatekeli/PycharmProjects/customer_satisfaction_with_deployment/venv/lib/python3.10/site- │
│ packages/zenml/config/global_config.py:397 in _configure_store │
│ │
│ 394 │ │ │
│ 395 │ │ # TODO: Revisit the flow regarding the registration of the default │
│ 396 │ │ # entities once the analytics v1 is removed. │
│ ❱ 397 │ │ store = BaseZenStore.create_store(config, True, **kwargs) │
│ 398 │ │ │
│ 399 │ │ logger.debug(f"Configuring the global store to {store.config}") │
│ 400 │ │ self.store = store.config │
│ │
│ /Users/atatekeli/PycharmProjects/customer_satisfaction_with_deployment/venv/lib/python3.10/site- │
│ packages/zenml/zen_stores/base_zen_store.py:241 in create_store │
│ │
│ 238 │ │ """ │
│ 239 │ │ logger.debug(f"Creating store with config '{config}'...") │
│ 240 │ │ store_class = BaseZenStore.get_store_class(config.type) │
│ ❱ 241 │ │ store = store_class( │
│ 242 │ │ │ config=config, │
│ 243 │ │ │ skip_default_registrations=skip_default_registrations, │
│ 244 │ │ │ **kwargs, │
│ │
│ /Users/atatekeli/PycharmProjects/customer_satisfaction_with_deployment/venv/lib/python3.10/site- │
│ packages/zenml/zen_stores/base_zen_store.py:146 in __init__ │
│ │
│ 143 │ │ try: │
│ 144 │ │ │ self._initialize() │
│ 145 │ │ except Exception as e: │
│ ❱ 146 │ │ │ raise RuntimeError( │
│ 147 │ │ │ │ f"Error initializing {self.type.value} store with URL " │
│ 148 │ │ │ │ f"'{self.url}': {str(e)}" │
│ 149 │ │ │ ) from e │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
RuntimeError: Error initializing rest store with URL 'http://127.0.0.1:8237': HTTPConnectionPool(host='127.0.0.1',
port=8237): Max retries exceeded with url: /api/v1/info (Caused by NewConnectionError('<urllib3.connection.HTTPConnection
object at 0x1203731f0>: Failed to establish a new connection: [Errno 61] Connection refused'))
from zenml.
Related Issues (20)
- Minio Cache Miss Detected on the custom ubuntu runners
- Minio Cache Miss Detected on the custom ubuntu runners
- [BUG]: Register artifact store via CLI HOT 1
- [BUG]: Leaking secret experiment tracker URI HOT 3
- [BUG]: Race condition Bug HOT 3
- [BUG]: Importing `annotations` from `__future__` breaks pipeline compilation
- [BUG]: Rate limiting Vulnerability HOT 1
- [BUG]: Critical Vulnerability related to file access HOT 1
- [BUG]: Unable to open the quickstart colab notebook HOT 2
- [BUG]: Node Selector doesn"t work on job HOT 1
- Integrate `safetensors` for model serialization HOT 4
- [BUG]: Integration Materializers links not working (Documentation) HOT 5
- [BUG]: THIS RESULTED FROM USING ZENML WITH ML FLOW HOT 1
- [BUG]: File priviledge changing timing, potential TOCTOU HOT 3
- Check if Juypter is installed HOT 2
- [BUG]: {{date}} and {{time}} placeholders not being replaced HOT 2
- [BUG]: Cannot use `zenml init` with templates even after installing `zenml[templates]` HOT 3
- Add Argilla annotator stack component
- [BUG]: Unable to determine source root HOT 4
- [BUG]: GreatExpectations materializer not automatically selected
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zenml.