Can connections from the same build session come from different IPs?

I’ve been retrieving some information from a build via FTP and bumped into an error where my FTP server was rejecting the upload with “501 FXP is not allowed”.

I’ve contacted tech support for the server program, and they said that this may happen when control and data connections do not come from the same IP and I set the security setting to validate that (which I did). Indeed, when I removed the check, the error went away.

So,

Is it official that Travis may make external connections from different IPs, even within the same build session?

This is something quite unexpected and breaks some security measures as you could see, so if yes, https://docs.travis-ci.com/user/ip-addresses/ could benefit from mentioning this.

This is explained in https://blog.travis-ci.com/2018-07-23-the-tale-of-ftp-at-travis-ci.

Also https://docs.travis-ci.com/user/common-build-problems/#ftpsmtpother-protocol-does-not-work

1 Like