Closed e-t-k closed 1 month ago
an attempt to fix this error in the continuous integration script 'deploy-dev':
ssh: connect to host brcaexchange-dev.gi.ucsc.edu port 22: Cannot assign requested address rsync error: unexplained error (code 255) at log.c(245) [sender=3.1.3]
I can reproduce it by forcing rsync to use ipv6:
rsync -e 'ssh -6' myfile user@brcaexchange-dev.gi.ucsc.edu:/destination ssh: connect to host brcaexchange-dev.gi.ucsc.edu port 22: Cannot assign requested address rsync error: unexplained error (code 255) at log.c(245) [sender=3.1.3]`
And from some servers, pinging brcaexchange-dev.gi.ucsc.edu defaults to ipv6.
brcaexchange-dev.gi.ucsc.edu
So, I believe that forcing rsync to use ipv4 from the CI will fix it. Therefore I've added -e 'ssh -4' to the two rsync lines in deploy-dev.
-e 'ssh -4'
deploy-dev
an attempt to fix this error in the continuous integration script 'deploy-dev':
ssh: connect to host brcaexchange-dev.gi.ucsc.edu port 22: Cannot assign requested address rsync error: unexplained error (code 255) at log.c(245) [sender=3.1.3]
I can reproduce it by forcing rsync to use ipv6:
And from some servers, pinging
brcaexchange-dev.gi.ucsc.edu
defaults to ipv6.So, I believe that forcing rsync to use ipv4 from the CI will fix it. Therefore I've added
-e 'ssh -4'
to the two rsync lines indeploy-dev
.