Unexpected HTTP error

Facing issue while using H2o library which creates a cloud cluster for processing.It ran fine on local run. Can someone suggest how to fix such issues.

[55:17.84] H2OConnectionError: Unexpected HTTP error: HTTPConnectionPool(host=‘localhost’, port=54321): Max retries exceeded with url: /3/Metadata/schemas/CloudV3 (Caused by NewConnectionError(‘<urllib3.connection.HTTPConnection object at 0x7f6ebda05580>: Failed to establish a new connection: [Errno 101] Network is unreachable’))

Its because the Cloud Environment does not have access to Internet.
Its to avoid data leaking and irreproducible models.

To be more specific:

  • CPU Runners have their networks calls intercepted then cancelled.
  • GPU Runners have been put in a network sandbox. (since you need sockets to interact with a GPU)

Meaning, if you are only connecting to localhost, you should use a GPU Runner.

Why the two different methods? Its a technical limitation of the infrastructure we have.
Sorry about that