Latest Mattermost LTS download failed over IPv6

Today i tried to upgrade our Mattermost server from 8.1.1 to 8.1.3 and had a problem downloading the package.

The server is a IPv4 and IPv6 dual stack system and works without problems quite a while.

Normally I download the package over wget and then i do all the upgrade stuff.

Today i had this:

[xxx@mattermost tmp]# wget https://releases.mattermost.com/8.1.3/mattermost-8.1.3-linux-amd64.tar.gz
–2023-10-17 06:57:33-- https://releases.mattermost.com/8.1.3/mattermost-8.1.3-linux-amd64.tar.gz
Resolving releases.mattermost.com (releases.mattermost.com)… 2600:9000:2038:fc00:1d:f50d:a5c0:93a1, 2600:9000:2038:8800:1d:f50d:a5c0:93a1,
Connecting to releases.mattermost.com (releases.mattermost.com)|2600:9000:2038:fc00:1d:f50d:a5c0:93a1|:443… failed: Connection timed out.

→ System was working normal over IPv6 so i checked over IPv4

Replay because system said I can not add more then 10 links in Topic:

Wget over IPv4 only was working without any problems:

[xxx@mattermost tmp]# wget --inet4-only https://releases.mattermost.com/8.1.3/mattermost-8.1.3-linux-amd64.tar.gz
–2023-10-17 07:07:20-- https://releases.mattermost.com/8.1.3/mattermost-8.1.3-linux-amd64.tar.gz
Resolving releases.mattermost.com (releases.mattermost.com)… 52.85.49.55, 52.85.49.105, 52.85.49.121, …
Connecting to releases.mattermost.com (releases.mattermost.com)|52.85.49.55|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 436347590 (416M) [application/x-tar]
Saving to: ‘mattermost-8.1.3-linux-amd64.tar.gz’

mattermost-8.1.3-linux-amd64.tar.gz 100%[=========================================================================================================================================>] 416.13M 91.2MB/s in 4.6s

2023-10-17 07:07:25 (91.2 MB/s) - ‘mattermost-8.1.3-linux-amd64.tar.gz’ saved [436347590/436347590]

For me It looks like a problem with the IPv6 settings on the mattermost download server, so eventually someone can check this.

Best

Silvio

I was just able to ‘curl -6 https://releases.mattermost.com’ and get a good reply. And copying your wget command got me a download via IPv6 without even specifying -6

I did notice that the AAAA records I retrieved are a little different than yours. You got 2600:9000:2038:fc00:1d:f50d:a5c0:93a1, I got 2600:9000:2466:c800:1d:f50d:a5c0:93a1 I checked the SOA for mattermost.com and it’s serial number is ‘1’ which seems… odd.

Thanks for your test John Oliver,

I checked it again from our system and now it’s working:

[xxx@mattermost tmp]$ wget https://releases.mattermost.com/8.1.3/mattermost-8.1.3-linux-amd64.tar.gz
–2023-10-17 18:53:35-- https://releases.mattermost.com/8.1.3/mattermost-8.1.3-linux-amd64.tar.gz
Resolving releases.mattermost.com (releases.mattermost.com)… 2600:9000:2038:3000:1d:f50d:a5c0:93a1, 2600:9000:2038:5c00:1d:f50d:a5c0:93a1, 2600:9000:2038:8200:1d:f50d:a5c0:93a1, …
Connecting to releases.mattermost.com (releases.mattermost.com)|2600:9000:2038:3000:1d:f50d:a5c0:93a1|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 436347590 (416M) [application/x-tar]
Saving to: ‘mattermost-8.1.3-linux-amd64.tar.gz’

mattermost-8.1.3-linux-amd64.tar.gz 100%[=========================================================================================================================================>] 416.13M 89.0MB/s in 4.9s

2023-10-17 18:53:40 (85.2 MB/s) - ‘mattermost-8.1.3-linux-amd64.tar.gz’ saved [436347590/436347590]

As you can see the system used also a different address this time and the wget response showed also some possible addresses. The interesting thing for me is, that i had timeouts from multiple addresses this morning and now it’s working. I rechecked also from my local system (completely different network and provider) and could reproduce the problem and now it is also working.

Silvio