Working FPBX 14 distro, fully updated. Module updates worked, system updates worked, yum worked, ping mirror1 and mirror2.freepbx.org worked, with good ping times (~50ms). AT&T Gigabit Fiber internet.
Tried to upgrade via 14->15 upgrade module a few times over 48 hours (Thu/Fri this week) - would always fail the precheck with a curl timeout.
Your issues were likely due to some intermittence in the availability of the FreePBX repo mirrors. They were bouncing on/offline and lagging quite a bit over the weekend partly due to high demand placed upon them. The reason increasing that timeout worked for you is because the repos were lagged more than they were offline…resulting in response times that could easily exceed 30s.
You will also want to check and confirm you aren’t still using the legacy Repo mirror1 as your default via SSH:
fwconsole setting MODULE_REPO
If you see mirror.freepbx.org as the first in the list, you’re good:
Setting of "MODULE_REPO" is (text)[https://mirror.freepbx.org,http://mirror1.freepbx.org]
If you see mirror1 first and/or you see mirror2 AT ALL, you need to update your list: fwconsole setting MODULE_REPO https://mirror.freepbx.org,http://mirror1.freepbx.org
Mind you, even mirror.freepbx.org was bogged down this weekend, so the 30s timeout was likely still not enough (we get alerted when lag exceeds 25s and got a few alerts)…Sangoma should probably make the default timeout 90s instead of 30s until the day comes when their repo mirrors can handle their popularity a bit better.