Closed mrosset closed 1 year ago
Sounds like an MTU problem, what's the link mtu you're getting inside the containers?
Hello @stgraber thanks for the response. The MTU is 1500 I increased it to 2800 but it still hangs while handshaking.
Were you able to replicate this at all?
Other way around, the MTU in your containers should be lower than 1500 when using the fan. You can try 1400 which will be a bit too low but should work fine.
My mistake. setting the MTU to 1400 does solve the problem now.
What do you recommend for setting MTU for VM's that use fan? I can hack something together but I'd prefer a more top down way to set this if I could.
If you are using lxds dhcp server then it will broadcast the MTU setting from the network as part of the dhcp responses and the instances should configure themselves that way.
Thanks for closing the issue. I'll look into why the MTU is not being set properly later. My cluster is kinda adhoc. I'm transitioning from using zerotier to fan which should make this easier to sort out. Appreciate the help and all the work @stgraber
Required informationcurl
TLS hangshake hangs with some URI when using fan network and VM
Local dir
Issue description
I've discovered a strange situation that only occurs when using a fan network and certain https URI's.
This command should not timeout.
curl -L -v https://raw.githubusercontent.com/getumbrel/umbrel/master/scripts/install
Steps to reproduce
lxc launch images:ubuntu/jammy/cloud debug --vm
lxc exec debug -- apt install -y curl
lxc exec debug -- curl -L -v https://raw.githubusercontent.com/getumbrel/umbrel/master/scripts/install
Attached output for lxc info lxc.txt