FTP-Deploy-Action icon indicating copy to clipboard operation
FTP-Deploy-Action copied to clipboard

Cannot connect to FTP server

Open vladislav-naydenov opened this issue 3 years ago • 2 comments

Bug Description When the FTP job runs it fails right away. I can't figure out what the issue is. I can login to the FTP server using file zilla or any other ftp client.

My Action Config

- name: FTP Deploy
      uses: SamKirkland/[email protected]
      with: 
        server: ${{ secrets.FTP_SERVER_URL }}
        username: ${{ secrets.FTP_USERNAME }}
        password: ${{ secrets.FTP_PASSWORD }}
        local-dir: ${{ env.WORKING_DIRECTORY }}/smileonwebapp/
        server-dir: staging/
        dangerous-clean-slate: true

My Action Log

  Run SamKirkland/[email protected]
----------------------------------------------------------------
🚀 Thanks for using ftp-deploy. Let's deploy some stuff!   
----------------------------------------------------------------
If you found this project helpful, please support it
by giving it a ⭐ on Github --> https://github.com/SamKirkland/FTP-Deploy-Action
or add a badge 🏷️ to your projects readme --> https://github.com/SamKirkland/FTP-Deploy-Action#badge

----------------------------------------------------------------
---------------  🔥🔥🔥 A error occurred  🔥🔥🔥  --------------
----------------------------------------------------------------

----------------------------------------------------------------
----------------------  Full Error below  ----------------------
Error: getaddrinfo EAI_AGAIN ******************** (control socket)
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26) {
  errno: 'EAI_AGAIN',
  code: 'EAI_AGAIN',
  syscall: 'getaddrinfo',
  hostname: ****************
}
Error: Error: getaddrinfo EAI_AGAIN ****************** (control socket)

vladislav-naydenov avatar Jun 22 '21 20:06 vladislav-naydenov

EAI_AGAIN is a DNS lookup timed out error, It means a network connectivity error or proxy error occurred. Is it possible your domain is incorrectly formatted? For example http://example.com/ should be example.com

SamKirkland avatar Jun 24 '21 18:06 SamKirkland

Same error is happening to me, I've verified that I can connect to the FTP server fine from VS Webdeploy and FileZilla. My domain has a number in it, could that have something to do with the mishap?

trevalexandro avatar Jul 19 '21 05:07 trevalexandro