Skip to content

ECONNREFUSED after long running job #503

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
LukeSavefrogs opened this issue Apr 24, 2025 · 1 comment
Open

ECONNREFUSED after long running job #503

LukeSavefrogs opened this issue Apr 24, 2025 · 1 comment

Comments

@LukeSavefrogs
Copy link

LukeSavefrogs commented Apr 24, 2025

Bug Description
Tring to upload composer vendor folder, after ~1:30h of uploading it fails with the provided error.

My Action Config

on: push
name: Publish Website
jobs:
      - name: Checkout
        uses: actions/checkout@v4
        with:
          fetch-depth: 0

      - name: Setup PHP and Composer
        uses: shivammathur/setup-php@v2
        with:
          php-version: ${{ env.php_version }}
          extensions: ${{ env.php_extensions }}
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          fail-fast: true

      - name: Install Composer dependencies
        run: composer install --no-ansi --no-interaction --no-plugins --no-progress --no-scripts --optimize-autoloader

      - name: FTP Deploy (vendor)
        uses: SamKirkland/[email protected]
        with:
          protocol: ftp
          server: ${{ secrets.FTP_SERVER_TEST }}
          username: ${{ secrets.FTP_USERNAME_TEST }}
          password: ${{ secrets.FTP_PASSWORD_TEST }}
          local-dir: ./vendor/
          server-dir: ./vendor/
          state-name: ../.ftp-deploy-sync-state__vendor.json
          log-level: minimal

My Action Log

| uploading "nesbot/carbon/src/Carbon/Lang/unm_US.php"
| uploading "nesbot/carbon/src/Carbon/Lang/unm.php"
| uploading "nesbot/carbon/src/Carbon/Lang/ur_IN.php"
| uploading "nesbot/carbon/src/Carbon/Lang/ur_PK.php"
|
| ----------------------------------------------------------------
| --------------  🔥🔥🔥 an error occurred  🔥🔥🔥  --------------
| ----------------------------------------------------------------
|
| ----------------------------------------------------------------
| ----------------------  full error below  ----------------------
| ----------------------------------------------------------------
|
| Error: connect ECONNREFUSED 148.251.51.73:3306
|     at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) {
|   errno: -111,
|   code: 'ECONNREFUSED',
|   syscall: 'connect',
|   address: '148.251.51.73',
|   port: 3306
| }
@miguelfmromao
Copy link

I'm having the same issue on a 54m run script.

Error: Can't open data connection in passive mode: connect ECONNREFUSED

In my case the files are already all on the server. This is just the first run where it needs to create the JSON file. Is there a way to skip this and just create the JSON on the server?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants