Search code examples
linuxsshproxyhttp-status-code-403h2o

H2O Connection Error: HTTP 403 Forbidden


I am currently trying to run an H2O Server Instance on a external ssh Machine(Linux) from Python.

But I get the following Error when running h2o.init():

H2OConnectionError: Could not establish link to the H2O cloud http://127.0.0.1:54321 after 20 retries
[02:43.11] H2OServerError: HTTP 403 Forbidden:

So the Server is running and the Error fires at testing the Connection. I think this has something to do with Proxy-Settings. But I don't know how and where to configure.

Any help?


Solution

  • Usually you need to unset the “http_proxy” environment variable.

    so:

    del os.environ[“http_proxy”]