I was trying to upload the app store build zip file of my app to app store.
When using behind my office firewall, the TCP/IP connection failed.
I need to k
I came across this issue too, when using Fastlane to automate the upload of binaries to App Store Connect.
The error message was saying that connection timed out.
The reason ended up being that Fastlane's Ruby script was using a java program in the background (visible from nettop), which ignored the proxy settings set in the bash profile or in my case .zshrc
To fix this, add this line in your bash profile:
export JAVA_TOOL_OPTIONS='-Dhttp.proxyHost=xx.xx.xx -Dhttp.proxyPort=xxxx -Dhttps.proxyHost=xx.xx.xx -Dhttps.proxyPort=xxxx -Dhttp.nonProxyHosts=xxx'
This will force the java runtime to use your desired proxy, and in my case, fixed the issue of fastlane failing to upload builds to App Store Connect.
Hopefully that helps someone