雪花云数据平台现在SQL连接错误发生"250001 n/a"



我在windows操作系统上使用snowflake和snowsight。然后,我执行了下面的命令,但是错误发生了。你有这个错误250001 (n/a)的答案吗?

C:Docs>snowsql -a lvXXXXX.ap-northeast-1.aws -u username -o log_level=DEBUG
Password:
250001 (n/a): Could not connect to Snowflake backend after 0 attempt(s).Aborting
If the error message is unclear, enable logging using -o log_level=DEBUG and see the log to find out the cause. Contact support for further help.
Goodbye!

我通过进入cd ~/解决了这个问题。并修改"accountname =(orgname)-(accountname)"。确保在snowsight UI中输入您自己的组织名和帐户名。如果你从snowsight UI复制账号名,删除"从orgname。Accountname修改为orgname-accountname。或者,您可以使用snowsql -a(组织名称)-(帐户名称)- u(用户名)

错误消息似乎是"未能检查OCSP响应缓存文件"的问题。

您可以尝试使用不安全模式连接以绕过OCSP检查。

使用:

snowsql -a lvXXXXX.ap-northeast-1.aws -u username -o insecure_mode=True

如果连接成功,则意味着可能有防火墙/代理阻止了与OCSP服务器的连接。注意:OCSP通过80端口连接。

我的连接问题是字符串。如果您包含"https","snowflakecomputig.com"等,则连接将无法用于dbt配置文件。yml文件。您只需要输入您的帐户id和地区,如上所示。

最新更新