Connection timed out when fetching twingate ubuntu package

This happens when setting up twingate in github action via twingate github action template.

Here is the error,

Get:1 https://packages.twingate.com/apt  twingate 1.0.77+70318 [14.7 MB]
Ign:2 http://azure.archive.ubuntu.com/ubuntu jammy/main amd64 libnl-route-3-200 amd64 3.5.0-0.1
Ign:2 http://azure.archive.ubuntu.com/ubuntu jammy/main amd64 libnl-route-3-200 amd64 3.5.0-0.1
Ign:2 http://azure.archive.ubuntu.com/ubuntu jammy/main amd64 libnl-route-3-200 amd64 3.5.0-0.1
Err:2 http://azure.archive.ubuntu.com/ubuntu jammy/main amd64 libnl-route-3-200 amd64 3.5.0-0.1
  Could not connect to azure.archive.ubuntu.com:80 (20.106.104.242), connection timed out
Fetched 14.7 MB in 37s (395 kB/s)
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libn/libnl3/libnl-route-3-200_3.5.0-0.1_amd64.deb  Could not connect to azure.archive.ubuntu.com:80 (20.106.104.242), connection timed out
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Hi @riken,

did this get resolved for you? We heard of similar temporary reports that seemed to have been resolved since…

So sorry about this! You can add some retries if you want to edit the script. Perhaps that is a good suggestion to make if you find it makes the process more reliable?

This is a common issue with Ubuntu and something we (as a community) have been complaining about for a while. I run everything in Ubuntu and see this with a lot of automatic (scheduled) updates as well as manual wgets etc.

Here is a thread on the topic.
https://social.msdn.microsoft.com/Forums/en-US/3261cd34-ba8c-48c6-ba41-66ee3ff4bbf4/unable-to-connect-to-azurearchiveubuntucomhttp?forum=WAVirtualMachinesforWindows

One showing the retries (I haven’t tried this yet):