Cpanel CI/CD: Error: getaddrinfo ENOTFOUND ftp.*******.org (control socket)
See original GitHub issueBug 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:
- Created a year ago
- Comments:5
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
On the FTP server, replace ftp.test.com with the server IP address.
Yes, using ip didn’t throw the above error but got
Error: Server sent FIN packet unexpectedly, closing connection.