Skip to content

RSYNC Error - Error in RSYNC ProtocolΒ #88

@samfrank

Description

@samfrank

Hey guys!

I can to run the action when deploying once of my sites, two days after a successful deploy to the env and I received this error rsync error: error in rsync protocol data stream (code 12) at io.c(228) [sender=v3.13.0_rc2-264-g725ac7fb] (full error log at the bottom). I have not changed the script over the either. Sometimes I get errors and I just run a redeploy and normally it sorts itself out and I noticed on this ticket, they kind of said the same thing here.

This is my script that takes the PHP files and transfers them to the WPE Env. I am not confident that this would reproduce the issue that I am having.

            - name: Deploy - Files to WPEngine Staging
              if: contains(github.ref, 'develop')
              uses: wpengine/[email protected]
              with:
                  # Deploy vars
                  WPE_SSHG_KEY_PRIVATE: ${{ secrets.WPE_SSHG_KEY_PRIVATE }}
                  WPE_ENV: ${{ secrets.WPE_INSTALL_STAGING }}
                  # Deploy Options
                  REMOTE_PATH: 'wp-content/themes/theme-name-2023/'
                  PHP_LINT: FALSE
                  FLAGS: -azvr --inplace --delete --exclude=".*"
Deploying refs/heads/develop to *** ...
# ***.ssh.wpengine.net:22 SSH-2.0-Go
prepping file perms...
file perms set...
Skipping PHP Linting.
OpenSSH_8.4p1, OpenSSL 1.1.1k  25 Mar 2021
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling
debug1: Connecting to ***.ssh.wpengine.net [35.244.1[18](https://github.com/frankdigital/l1-2023-theme/actions/runs/8871757625/job/24355348368#step:7:19).20] port 22.
debug1: Connection established.
debug1: identity file /github/home/.ssh/github_action type 3
debug1: identity file /github/home/.ssh/github_action-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.4
debug1: Remote protocol version 2.0, remote software version Go
debug1: no match: Go
debug1: Authenticating to ***.ssh.wpengine.net:22 as 'wpe_gha+***'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve255[19](https://github.com/frankdigital/l1-2023-theme/actions/runs/8871757625/job/24355348368#step:7:20)[email protected]
debug1: kex: host key algorithm: rsa-sha2-512
debug1: kex: server->client cipher: aes128-ctr MAC: [email protected] compression: none
debug1: kex: client->server cipher: aes128-ctr MAC: [email protected] compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ssh-rsa SHA256:T8IoIgBRJ3gDjA6/q7i33+nSrrpVfZipYtxo1rqvww4
Warning: Permanently added '***.ssh.wpengine.net,35.244.118.[20](https://github.com/frankdigital/l1-2023-theme/actions/runs/8871757625/job/24355348368#step:7:21)' (RSA) to the list of known hosts.
debug1: rekey out after 4294967296 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey in after 4294967296 blocks
debug1: Will attempt key: /github/home/.ssh/github_action ED25519 SHA256:9aTyrv1zIjzV4ZISKG28S8/ukVPohHhePjcp4qh2gCY explicit
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,[email protected],[email protected],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp5[21](https://github.com/frankdigital/l1-2023-theme/actions/runs/8871757625/job/24355348368#step:7:22),rsa-sha2-256,rsa-sha2-512,ssh-rsa,ssh-dss>
debug1: kex_input_ext_info: [email protected] (unrecognised)
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: /github/home/.ssh/github_action ED25519 SHA256:9aTyrv1zIjzV4ZISKG28S8/ukVPohHhePjcp4qh2gCY explicit
debug1: Server accepts key: /github/home/.ssh/github_action ED25519 SHA256:9aTyrv1zIjzV4ZISKG28S8/ukVPohHhePjcp4qh2gCY explicit
debug1: Authentication succeeded (publickey).
!!! MASTER SSH CONNECTION ESTABLISHED !!!
Authenticated to ***.ssh.wpengine.net ([35.244.118.20]:[22](https://github.com/frankdigital/l1-2023-theme/actions/runs/8871757625/job/24355348368#step:7:23)).
debug1: setting up multiplex master socket
debug1: channel 0: new [/github/home/.ssh/ctl/53cb216414143769a5486a537f80b41ec28b72c2]
debug1: forking to background
debug1: Entering interactive session.
debug1: pledge: id
OpenSSH_8.4p1, OpenSSL 1.1.1k  25 Mar 2021
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Authenticator provider $SSH_SK_PROVIDER did not resolve; disabling
debug1: multiplexing control connection
debug1: channel 1: new [mux-control]
debug1: channel 2: new [client-session]
debug1: Sending command: rsync --server -vlogDtprze.iLsfxCIvu --delete --inplace . sites/***/wp-content/themes/l1-capital-20[23](https://github.com/frankdigital/l1-2023-theme/actions/runs/8871757625/job/24355348368#step:7:24)/
debug1: mux_client_request_session: master session id: 2
debug1: client_input_channel_req: channel 2 rtype exit-status reply 0
Failed to create shell
debug1: channel 2: free: client-session, nchannels 3
debug1: channel 1: free: mux-control, nchannels 2
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(228) [sender=v3.13.0_rc2-264-g7[25](https://github.com/frankdigital/l1-2023-theme/actions/runs/8871757625/job/24355348368#step:7:26)ac7fb]

Version information

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions