possible to Deploy from machine does not have direct internet access (only http_proxy)?

first time using fly.io

my development machine have no direct internet access.
it’s in RFC1918 space. 10.x.x.x
it can only get to the internet via
HTTP_PROXY= is my squid HTTP proxy server.
(ip address are made up for obfuscation purpose)

failed to fetch dependency: failed to make request: Get “https://artifacts.paketo.io/python/python_3.10.12_linux_x64_bionic_6da6507b.tgz”: proxyconnect tcp: dial tcp i/o timeout
ERROR: failed to build: exit status 1

==> Building image
:eyes: checking remote builder compatibility with wireguardless deploys …
WARN Failed to start remote builder heartbeat: Get “http://fly-builder-bold-bush-647.fly.dev/flyio/v1/settings”: dial tcp connect: connection timed out

Error: failed to fetch an image or build from source: Get “http://fly-builder-bold-bush-647.fly.dev/flyio/v1/settings”: dial tcp connect: connection timed out

wget https://artifacts.paketo.io/python/python_3.10.12_linux_x64_bionic_6da6507b.tgz
–2024-06-09 20:16:49-- https://artifacts.paketo.io/python/python_3.10.12_linux_x64_bionic_6da6507b.tgz
Connecting toxxxxxxx (xxxxxxx)||:3128… connected.
Proxy request sent, awaiting response… 200 OK
Length: 56943552 (54M) [application/x-tar]
Saving to: ‘python_3.10.12_linux_x64_bionic_6da6507b.tgz’

python_3.10.12_linux_x64_bionic_6da65 100%[=========================================================================>] 54.30M 24.2MB/s in 2.2s

2024-06-09 20:16:56 (24.2 MB/s) - ‘python_3.10.12_linux_x64_bionic_6da6507b.tgz’ saved [56943552/56943552]

md5sum python_3.10.12_linux_x64_bionic_6da6507b.tgz
fbaf8f32381377cbd9e4ae98ba83eb40 python_3.10.12_linux_x64_bionic_6da6507b.tgz

error log state that it can’t connect to my http proxy server but i can do wget using the same exact proxy no issue.
dial tcp i/o timeout

setup another env with NAT outbound access - same exact procedure work.
same exact code hello world flask code base.
This tell me that it’s possible that part of the flyctl isn’t observing HTTP proxy?

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.