SQLSTATE [HY000] [2002]连接拒绝。 2FA
我在生产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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论