英文:
Azure Logic App SMTP error Please check your account info and/or permissions and try again
问题
I am trying to create SMTP connection in my Azure Logic App. I got SMTP server address, port and email, and it doesn't require any password. But I am getting below error:
Please check your account info and/or permissions and try again.
Details: BadGateway More diagnostic information:
x-ms-client-request-id is
Is there anything wrong with Azure account and how to fix it. Also where I can find this Diagnostic information in logic app? I have checked SMTP details locally and it works so It should work in Azure logic app as well.
英文:
I am trying to create SMTP connection in my Azure Logic App. I got SMTP server address, port and email, and it doesn't require any password.But I am getting below error
> Please check your account info and/or permissions and try again.
> Details: BadGateway More diagnostic information:
> x-ms-client-request-id is
Is there anything wrong with Azure account and how to fix it. Also where I can find this Dignostic information in logic app? I have checked SMTP details locally and it works so It should work in Azure logic app as well.
答案1
得分: 1
I do agree with @ Jokkeri sometimes generally SMTP Bad Gateway appears due to Ip restrictions and firewall rules blocking the connection.
-
如下图所示,出现相同错误的原因是由于无效的SMTP凭据。因此,请检查所有SMTP连接详细信息,如服务器地址和端口号。
-
还要验证逻辑应用是否具有连接到SMTP服务器的正确访问权限。这可能需要设置防火墙规则或将逻辑应用的IP地址添加到白名单中。因此,请验证是否有任何防火墙规则阻止Azure逻辑应用连接到SMTP服务器。
>对于这个问题,我可以在逻辑应用中找到诊断信息吗...?
-
如下图所示,转到"诊断和解决问题",在那里您可以选择性能故障排除或连接器健康故障排除。
-
在这里,我选择连接器健康,并如下图所示复制错误消息,然后我们将获得与错误相关的信息。
通过这种方式,您可以找到诊断信息。 -
在工作流运行后查找诊断信息的另一种方法是打开Azure界面并选择出现问题的逻辑应用。
从菜单中选择"运行历史记录"。 -
找到导致错误的运行后,单击"诊断和解决问题"按钮位于"运行详细信息"选项卡中。
-
这样做后,"诊断工具"窗格将打开,允许您检查运行的诊断详细信息,包括x-ms-client-request-id。
英文:
I do agree with @ Jokkeri sometimes generally SMTP Bad Gateway appears due to Ip restrictions and firewall rules blocking the connection.
-
As shown in below image getting the same error here i am getting this error because of invalid SMTP credentials. So once check with all your SMTP connection details like server address and port number.
-
Also verify that the Logic App has the right access rights to the SMTP server. This may entail setting up firewall rules or adding the IP address of the Logic App to a whitelist. so once verify whether any firewall rules are preventing the Azure Logic App from connecting to the SMTP server.
>For this question Also where I can find this Dignostic information in logic app...?
-
As shown in below images go to Diagnose and solve problems there you can select performance trouble shoot or Connector Health trouble shoot.
-
Here i am selecting connector health and as shown in below copied the error message then we will get error related information.
In this way you can find Diagnose information. -
Other way for Diagnose information after workflow run is Go to the Logic App that is having trouble by opening the Azure interface and selecting it.
Select "Runs history" from the menu. -
Click on the run that caused the error after locating it.
-
Then click the "Diagnose and solve problems" button in the "Run details" tab.
-
By doing so, the "Diagnostic tools" pane will open, allowing you to inspect the run's diagnostic details, including the x-ms-client-request-id.
Reference MS document1,MS document 2 and SO question.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论