H2O Connection Error: HTTP 403 Forbidden

H2O Connection Error: HTTP 403 Forbidden

我目前正在尝试 运行 来自 Python 的外部 ssh 机器 (Linux) 上的 H2O 服务器实例。

但是当 运行ning 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:

因此服务器正在 运行ning 并且错误在测试连接时触发。我认为这与代理设置有关。但是我不知道如何以及在哪里配置。

有什么帮助吗?

通常您需要取消设置“http_proxy”环境变量。

所以:

del os.environ[“http_proxy”]