WillToth
CCoder.com
•Created by WillToth on 10/15/2022 in #help
Container can't download install.sh
yeah weird issue for sure, marking complete
30 replies
CCoder.com
•Created by WillToth on 10/15/2022 in #help
Container can't download install.sh
Yes it is. Thanks for the help!
30 replies
CCoder.com
•Created by WillToth on 10/15/2022 in #help
Container can't download install.sh
Alright, I think I figured it out (at least got past one hurdle)!
if I set mtu in docker to some smaller value, it gets further but still not where it needs to be. e.g. setting
sudo vim /etc/docker/daemon.json
wget now works, but running openssl s_client
hangs half way, so curl also still hangs.
Now, looking at the mtu for various network adapters, I see the physical ethernet ports are 1500, but the tailscale mtu is set to 1280. So if I set the docker mtu to 1280 to match, it now works. No idea why this works on some sites and not others.
For completeness, my ip a
output
30 replies
CCoder.com
•Created by WillToth on 10/15/2022 in #help
Container can't download install.sh
So it fails even with the most basic test, trying it with
docker run -it --rm ubuntu:latest
30 replies
CCoder.com
•Created by WillToth on 10/15/2022 in #help
Container can't download install.sh
Yes, every one I tried, even https://github.com
30 replies
CCoder.com
•Created by WillToth on 10/15/2022 in #help
Container can't download install.sh
Nope, I upload from the aws instance that is running coder.com infra, which is running the AWS Linux AMI
30 replies
CCoder.com
•Created by WillToth on 10/15/2022 in #help
Container can't download install.sh
So the first time I ran it, I used exactly the default template running
coder templates create
I ran the docker template first, which failed to start code-server on the first run. Then I ran the docker-code-server example. Finally, this is my setup that I've run later, which starts from the code-server template. https://github.com/FRC3005/infra-coder-templates/tree/main/frc-java30 replies
CCoder.com
•Created by WillToth on 10/15/2022 in #help
Container can't download install.sh
Which makes me think it would have to be something with docker's networking, and potentially how it was configured with terraform.
30 replies
CCoder.com
•Created by WillToth on 10/15/2022 in #help
Container can't download install.sh
Slightly related observation, running the same container on the same server with podman instead of docker works correctly.
30 replies
CCoder.com
•Created by WillToth on 10/15/2022 in #help
Container can't download install.sh
Though it never says 'HTTP request sent' so I guess its likely hanging while trying to establish a secure connection? This part is not my strong suit.
30 replies
CCoder.com
•Created by WillToth on 10/15/2022 in #help
Container can't download install.sh
Actually it even says its connected, like its able to communicate out, but not get a response back in.
30 replies
CCoder.com
•Created by WillToth on 10/15/2022 in #help
Container can't download install.sh
to compare, doing the same thing on the https just hangs (but does correctly resolve the IP)
30 replies
CCoder.com
•Created by WillToth on 10/15/2022 in #help
Container can't download install.sh
Not entirely sure the right way to try it, but doing
wget http://objects.githubusercontent.com/
correctly pulls in the 405 response, so I assume yes30 replies