SQLSTATE [HY000] [2002]连接拒绝。 2FA

发布于 2025-02-13 10:27:38 字数 211 浏览 0 评论 0原文

我在生产Laravel应用程序上的电子邮件中遇到了问题,因此我在内核文件中添加了Schedule Command for Queue Work。电子邮件开始工作一天,但是随后我在尝试发送电子邮件或使用Gmail帐户登录时会拒绝连接错误。

我没有在.env或任何其他配置中更改任何数据库配置。我唯一要做的就是在我的Gmail帐户上启用了2FA,我正在使用Gmail发送和接收电子邮件和用户登录名。

I had a problems with emails on my production laravel application, so I add schedule command for queue work in Kernel file. Emails start working for a day, but then I get connection refused error when trying to send emails or login with gmail account.

I did not change any database configs in .env or any other configurations. The only thing I did is enabled 2fa on my gmail account which I am using for sending and receiving emails and user login with gmail.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文