简体   繁体   English

为什么我从 GCP Composer Airflow 收到错误 403?

[英]Why Do I get an error 403 from the GCP Composer Airflow?

Yesterday, we set up an airflow environment in the GCP composer.昨天,我们在 GCP composer 中搭建了一个 airflow 的环境。 However, when I click on the Airflow web UI link, I get an error 403, with the note:但是,当我单击 Airflow web UI 链接时,出现错误 403,并附注:

'403. That's an error.
That's all we know'

I cannot seem to solve the issue.我似乎无法解决这个问题。 I have tried restarting the airflow environment/server, and also ensure that my ip is added to the web access control, but nothing works.我已经尝试重新启动 airflow 环境/服务器,并确保将我的 ip 添加到 web 访问控制中,但没有任何效果。

Can anyone help?谁能帮忙?

The end result was adding my ipV6 to the composer airflow environment, and not my ipV4.最终结果是将我的 ipV6 添加到 composer airflow 环境,而不是我的 ipV4。

To solve it, in your cloud composer instance, go to environment configuration , next, go to the section Network configuration , and edit the Web server access control by adding your IP address ( https://www.ipaddress.my/ ).要解决它,在您的云作曲家实例中,go 到环境配置,接下来,go 到网络配置部分,并通过添加您的 IP 地址( https://www.ipaddress.my/ )来编辑Web 服务器访问控制

Be sure to follow your organization's policy before doing this.在执行此操作之前,请务必遵循您所在组织的政策。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在本地安装与在 GCP 上的 Cloud Composer Airflow 环境中安装的相同的 pip 依赖项? - How do I install the same pip dependencies locally as are installed in my Cloud Composer Airflow environment on GCP? GCP Cloud Composer:将 Dag 的状态从 Apache Airflow 审计到 BigQuery - GCP Cloud Composer : Audit the status of the Dags from Apache Airflow into BigQuery 如何从 Google Cloud Composer 获取 Airflow 数据库凭据 - How to get Airflow db credentials from Google Cloud Composer 为什么我只在 SendGrid Api v3 上的某些 api 上收到 403 错误? - Why do I get 403 error only on certain apis on SendGrid Api v3? 使用 Airflow Composer 调用在另一个 GCP 项目上运行的 API - Calling an API that runs on another GCP project with Airflow Composer GCP Composer - ModuleNotFoundError:没有名为“airflow.providers.sftp”的模块 - GCP Composer - ModuleNotFoundError: No module named 'airflow.providers.sftp' 为什么我得到 AttributeError:模块 'google_cloud_pipeline_components.aiplatform' 在 GCP 中没有属性 'EndpointDeleteOp'? - Why do I get AttributeError: module 'google_cloud_pipeline_components.aiplatform' has no attribute 'EndpointDeleteOp' in GCP? Airflow Composer - 使用 PythonOperator 时无法访问存储在 gcp 存储中的配置文件 - Airflow Composer - unable to access config file stored in gcp storage, when using PythonOperator 谷歌云作曲家获得 airflow webserver_id - Google cloud composer get airflow webserver_id 如何在 GCP 的 composer2 上安装 apt-get 包 - how to install apt-get packages on composer2 of GCP
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM