title: AZure Logic Apps SFTP Connector reply 504 bad gateway
body: <p>Can anyone help with this, I was trying to connect to a SFTP server with password, and after the SFTP SSH connector with &quot;When a file is added or modified&quot;, I can view the directory in design mode, but when it's running, the response from SFTP server seems not right and the error is 504 shown as below:</p>
  <pre><code>        &quot;error&quot;: {
              &quot;code&quot;: 504,
              &quot;source&quot;: &quot;logic-apis-australiasoutheast.azure-apim.net&quot;,
              &quot;message&quot;: &quot;BadGateway&quot;,
              &quot;innerError&quot;: {
                  &quot;status&quot;: 504,
                  &quot;message&quot;: &quot;A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond&quot;,
                  &quot;error&quot;: {
                      &quot;message&quot;: &quot;A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond&quot;
                  },
                  &quot;source&quot;: &quot;sftpwithssh-ase.azconn-ase.p.azurewebsites.net&quot;
              }
  </code></pre>
  <p>I can connect to the SFTP server via WinSCP or FileZilla and browsing, downloading without any issue.
  Please help if you encounter with this and solved. Thanks.</p>