我有一个运行 dbt 构建的 bitbucket 管道。管道工作正常,直到开始因此错误而失败
250001 (08001): Failed to connect to DB: $SNOWFLAKE_ACCNT_ID.snowflakecomputing.com:443. Incoming request with IP/Token 3.82.205.34 is not allowed to access Snowflake. Contact your account administrator. For more information about this error, go to https://community.snowflake.com/s/ip-xxxxxxxxxxxx-is-not-allowed-to-access.
我的 Snowflake 帐户中已经有一个网络策略,其中将此处提到的所有 IP 列入白名单
我已尝试重新运行 Bitbucket 管道 2 次。我每次都发现新的IP试图访问Snowflake
250001 (08001): Failed to connect to DB: $SNOWFLAKE_ACCNT_ID.snowflakecomputing.com:443. Incoming request with IP/Token 35.170.53.28 is not allowed to access Snowflake. Contact your account administrator. For more information about this error, go to https://community.snowflake.com/s/ip-xxxxxxxxxxxx-is-not-allowed-to-access.
250001 (08001): Failed to connect to DB: $SNOWFLAKE_ACCNT_ID.snowflakecomputing.com:443. Incoming request with IP/Token 54.227.45.44 is not allowed to access Snowflake. Contact your account administrator. For more information about this error, go to https://community.snowflake.com/s/ip-xxxxxxxxxxxx-is-not-allowed-to-access.
250001 (08001): Failed to connect to DB: $SNOWFLAKE_ACCNT_ID.snowflakecomputing.com:443. Incoming request with IP/Token 3.82.205.34 is not allowed to access Snowflake. Contact your account administrator. For more information about this error, go to https://community.snowflake.com/s/ip-xxxxxxxxxxxx-is-not-allowed-to-access.
为什么我上面提到的链接中没有提到这些新IP? 在哪里可以找到这些新 IP 的列表?
我认为您需要通过以下链接查看 BitBucket 的 IP 范围 - https://confluence.atlassian.com/bitbucket/what-are-the-bitbucket-cloud-ip-addresses-i-should-use- to-configure-my-corporate-firewall-343343385.html,然后使用需要在 Snowflake 上列入白名单的 Bitbucket 中的传出 IP。
如果这也不起作用,那么您需要与 BitBucket 团队联系以获得正确的 IP 范围列表。