My access to the Internet seems to be fine. I tested various urls:

url="https://www.wired.co.uk/article/facebook-energy-heating-homes";
###
curlvers=$(curl --version | head -n 1 | awk '{print $2}')

bn=$(basename "${url}")
dt=$(date --utc +%Y%m%d%H%M%S.%N)
ofl="${bn}_${dt}.html"
errs="${bn}_${dt}_curl_${curlvers}_errors.log"

time(
 curl --silent --verbose --output "${ofl}" "${url}" 2> "${errs}";
 _CURLX=$?
 echo "// __ \$_CURLX: |${_CURLX}|" >> "${errs}"
) >> "${errs}"

ls -l "${errs}"; wc -l "${errs}";
ls -l "${ofl}"; wc -l "${ofl}";

On 1/13/24, to...@tuxteam.de <to...@tuxteam.de> wrote:
> On Sat, Jan 13, 2024 at 04:36:14PM +0000, Albretch Mueller wrote:
>> On 1/13/24, Michael Kjörling <2695bd53d...@ewoof.net> wrote:
>> > On 13 Jan 2024 13:44 +0000, from lbrt...@gmail.com (Albretch Mueller):
>> >> E: Failed to fetch
>> >> https://myattwg.att.com/olam/jsp/login/uverse/VS/UverseAccount.html
>> >> File has unexpected size (7009 != 20884). Mirror sync in progress?
>> >> [IP: 184.31.10.246 443]
>> >>    Hashes of expected file:
>> >>     -
>> >> SHA256:eac7c87ae7118d29d55d497c8a3873dd1c0c062dd3df06ca74a4710ddcb950d9
>> >>     - MD5Sum:40029a8ea9aa7a6c9ddf3aa60404c17a [weak]
>> >>     - Filesize:20884 [weak]
>> >
>> > That URL doesn't look right. You wouldn't by any chance be behind a
>> > captive portal or something like that which is asking for
>> > reauthentication?
>>
>>  Assuming I am indeed "behind a captive portal or something like that
>> which is asking for reauthentication" why is it that it only reacts
>> when I visit certain sites, like the profiled ones I need to access
>> right after I boot up?
>
> We can't know. But you can: just point your browser (or curl, or wget)
> at that URL and see what it says. This is the bunch of HTML your package
> manager is trying to digest as a package.
>
> Lucky that it barfs early, I'd say.
>
> Cheers
> --
> t
>

Reply via email to