question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cpanel CI/CD: Error: getaddrinfo ENOTFOUND ftp.*******.org (control socket)

See original GitHub issue

Bug Description I want to implement CI/CD from github repsitory to CPanel. But I got this error as below.

My Action Config

on: push
name: Publish Website
jobs:
  web-deploy:
    name: Building files
    # The type of runner that the job will run on
    runs-on: ubuntu-latest

    # Steps represent a sequence of tasks that will be executed as part of the job
    steps:
      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
      - uses: actions/checkout@main

      - name: Use Node.js 16.x
        uses: actions/setup-node@v1
        with:
          node-version: "16.x"

      - name: Build Project
        run: |
          npm install
          npm run build --if-present

      - name: List output files
        run: ls

      - name: sync files
        uses: SamKirkland/FTP-Deploy-Action@4.3.0
        with:
          server: ftp.***********.org
          username: ${{ secrets.USERNAME }}
          password: ${{ secrets.PASSWORD }}
          protocol: ftps
          local-dir: build/
          port: 2083

My Action Log

----------------------------------------------------------------
--------------  🔥🔥🔥 an error occurred  🔥🔥🔥  --------------
----------------------------------------------------------------
The server "ftp.**********.org" doesn't seem to exist. Do you have a typo?
----------------------------------------------------------------
----------------------  full error below  ----------------------
----------------------------------------------------------------
Error: getaddrinfo ENOTFOUND ftp.***********.org (control socket)
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:66:[26](https://github.com/*****/***********/runs/6895339722?check_suite_focus=true#step:6:27)) {
  errno: 'ENOTFOUND',
  code: 'ENOTFOUND',
  syscall: 'getaddrinfo',
  hostname: 'ftp.*********.org'
}
Error: Error: getaddrinfo ENOTFOUND ftp.***********.org (control socket)

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
sadiqueamtcommented, Nov 7, 2022

On the FTP server, replace ftp.test.com with the server IP address.

0reactions
paraslamsongcommented, Dec 12, 2022

Yes, using ip didn’t throw the above error but got

Error: Server sent FIN packet unexpectedly, closing connection.

On the FTP server, replace ftp.test.com with the server IP address.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: getaddrinfo ENOTFOUND when trying to connect to a ...
I'm having a big issue with connecting to a FTP server with remote-ftp. It looks like this: 'Remote FTP: Connection failed. Error: getaddrinfo...
Read more >
VS code extension FTP-Sync: Error: getaddrinfo ENOTFOUND
I tried several (FTP-Sync, FTP-Simple, SFTP, FTP-kr etc.) but I cannot access my FTP server. However, other programs, such as web browsers or ......
Read more >
FTP issues Can't connect to remote server. Socket error ...
I have a client that keeps complaining that he is getting this error: ERROR:> Can't connect to remote server. Socket error = #10054....
Read more >
Untitled
... Republicans take control of congress, Tren directo la plata constitucion, ... 4-socket outdoor weatherproof adaptor, Getaddrinfo enotfound docker, ...
Read more >
cvrf-suse-iu-2021:616-1.xml
This release contains a single patch to fix that bug. ... DRI3 1.1/1.2 support for going with the soon-to-be-out X.Org Server 1.20.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found