[英]H2O Connection Error: HTTP 403 Forbidden
I am currently trying to run an H2O Server Instance on a external ssh Machine(Linux) from Python. 我目前正在尝试从Python在外部ssh机器(Linux)上运行H2O服务器实例。
But I get the following Error when running h2o.init()
: 但是在运行
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? 有什么帮助吗?
Usually you need to unset the “http_proxy” environment variable. 通常,您需要取消设置“ http_proxy”环境变量。
so: 所以:
del os.environ[“http_proxy”]
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.