linux - H2O 连接错误:HTTP 403 禁止
问题描述
我目前正在尝试在 Python 的外部 ssh 机器(Linux)上运行 H2O 服务器实例。
但是运行时出现以下错误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:
因此服务器正在运行,并且在测试连接时会触发错误。我认为这与代理设置有关。但我不知道如何以及在哪里配置。
有什么帮助吗?
解决方案
通常您需要取消设置“http_proxy”环境变量。
所以:
del os.environ[“http_proxy”]
推荐阅读
- wordpress - Nginx 反向代理将 /blog 映射到 wordpress docker 容器
- php - 正则表达式匹配 HTML 自结束标签(使用 PHP)
- google-sheets - Google Sheet Slicers“将当前过滤器设置为默认值”不保存
- clock - 了解 QEMU 时钟
- javascript - NodeJS 中 Array.reduce() 的对面
- c# - 使用异步创建隐式任务?
- ios - 如何让应用程序始终在前台运行?
- html - 在 Angular 中将 FormBuilder.group() 与模板数组一起使用时,如何添加验证器?
- javascript - 一个接一个地渲染多个 iframe
- java - 旋转图像视图在点击时属于 RecyclerView