error: no pg_hba.conf entry for host "xx.xxx.xxx.xxx", user "postgres", database "postgres", SSL off
这个错误表示尝试连接数据库时认证失败,连接无法建立。
🌐 This error indicates a failed authentication attempt to the database and the connection couldn't be established.
在 Supabase 中,这通常发生在你的 Supabase 项目启用了 SSL 强制 时。认证失败是因为连接数据库时没有使用 SSL 加密。
🌐 In Supabase, this is generally seen when SSL enforcement is enabled on your Supabase Project. The authentication failed because the incoming connection didn't use SSL encryption when connecting to the database.
如果尝试来自未知用户,你可以忽略此消息。如果你希望这次连接尝试成功,你需要使用 SSL 进行连接,或者在你的 Supabase 项目中禁用 SSL 强制。
🌐 You can ignore this message if the attempt is from an unknown user. If you want this connection attempt to be successful, you will either need to connect with SSL or disable SSL enforcement on your Supabase project.