Error: Timeout (control socket) in Sync files
See original GitHub issuemy deploy is giving an error in the Sync Files part Error: Error: Timeout (control socket)
My Action Config
on:
push:
branches:
- main
name: 🚀 Deploy website on push
jobs:
web-deploy:
name: 🎉 Deploy
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v2
- name: 📂 Sync files
uses: SamKirkland/FTP-Deploy-Action@4.2.0
with:
server: ${{ secrets.ftp_host }}
username: ${{ secrets.ftp_user }}
password: ${{ secrets.ftp_password }}
server-dir: public_html/
notify:
name: Discord Notification
runs-on: ubuntu-latest
steps:
- name: Discord Commits
uses: Sniddl/discord-commits@v1.3
with:
webhook: ${{ secrets.discord_webhook }}
message: "Novo commit em **{{ github.context.payload.repository.owner.name }}/{{ github.context.payload.repository.name}}**.\nLink: {{ github.context.payload.compare }}"
embed: '{ "color": 201042, "title": "{{ commit.title }}", "description": "{{ commit.description }}", "url": "{{ commit.url }}", "author": { "name": "{{ commit.author.name }} ({{ commit.author.username }})", "icon_url": "https://riftmaker.com/resources/images/logos/logo-initials-background.png"} }'
last-commit-only: false
My Action Log
Run SamKirkland/FTP-Deploy-Action@4.2.0
----------------------------------------------------------------
🚀 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
Failed to connect, are you sure your server works via FTP or FTPS? Users sometimes get this error when the server only supports SFTP.
----------------------------------------------------------------
-------------- 🔥🔥🔥 an error occurred 🔥🔥🔥 --------------
----------------------------------------------------------------
----------------------------------------------------------------
---------------------- full error below ----------------------
----------------------------------------------------------------
Error: Timeout (control socket)
at Socket.<anonymous> (/home/runner/work/_actions/SamKirkland/FTP-Deploy-Action/4.2.0/dist/index.js:4778:58)
at Object.onceWrapper (events.js:299:28)
at Socket.emit (events.js:210:5)
at Socket._onTimeout (net.js:469:8)
at listOnTimeout (internal/timers.js:531:17)
at processTimers (internal/timers.js:475:7)
Error: Error: Timeout (control socket)
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
FTPS server giving Error: Timeout (control socket)
I am trying to connect to ftps server using node js. I am using "https://www.npmjs.com/package/basic-ftp" module. but its giving me ...
Read more >Common FTP errors and Socket Error messages
This article provides information about common errors when using FTP with SyncBack V3 freeware or SyncBackSE V4.0.7 and earlier.
Read more >The Connection Has Timed Out How To Fix It Tutorial - YouTube
A server connection timeout error does little to tell you what went wrong or why the error happened: it just identifies that the...
Read more >Common Timeouts effecting Web Services, HTTP and SOAP ...
Problem. IOException,SocketTimeoutException results from Intermediary Server ... Client Timers, connectionIdleTimeout and syncTimeout:.
Read more >TCP/IP connectivity issues troubleshooting - Windows Client
BizTalk application timeout errors; Remote Desktop Protocol (RDP) failures; File share access failures; General connectivity. When you suspect ...
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
Hi, after the “with:” add 2 lines, so that it retries the connection with the FTP Server and makes 3 retries
timeout_minutes : 1 max_attempts : 3
Duplicate of #106 No real fix for this besides using non encrypted ftp. As a router between the host and destination is killing the connection.