Need help! I am trying to create a Logic App in Azure (Windows PaaS app service) that would connect to AWS cloud environment (SFTP Linux VM) and get files from there. In the Logic App when I am using SFTP-SSH API connection, the connection gets created, but it shows Bad Gateway error as below:
And below is what it shows when I try to run the Logic App
I have ensured that all the IPs of my Azure PaaS app service are white-listed by AWS cloud environment (SFTP Linux VM) and I could check this by running below PowerShell command in my azure app service so seems the connection is established.
But for some reason, I can't access the SFTP folder that is present in AWS and it throws 502 Bad Gateway error. There is no other step or code that I can share, as its the very first step of my Logic App. Has anyone faced this kind of error before? Any ideas/pointers why I may be getting this error or what should I do to get rid of this error?
Thanks for any ideas/suggestions in advance!
No such host is known
but then try to connect directly to an IP (based on the length of yourNew-Object
command). Have you tried to use the hostname instead? – stdunbarec2-XX-XX-XX-XX.us-west-2.compute.amazonaws.com
. – stdunbar