Sunday, 3 October 2021

Re: Fetch_NS

In message <a24acd7559.DaveMeUK@BeagleBoard-xM>
David Higton <dave@davehigton.me.uk> wrote:

>In message <5975ccea71dave@triffid.co.uk>
> Dave <dave@triffid.co.uk> wrote:
>
>>I have made the changes, but the error is the same.
>>
>>The full error message courtesy of Reporter is:
>>
>>** WimpError ** from unknown task
>> Error : &00000000
>> Message: file LATEST missing or empty at line 6
>
>OK, open the InetDbase:CertData file and tell us the date you'll see
>near the top (it's the 4th line in mine).
>
>Mine says:
>
>## Certificate data from Mozilla as of: Thu Sep 30 03:12:05 2021 GMT

And if yours is earlier than this year, then go get this file:

https://curl.se/ca/cacert.pem

The correct file should be a little over 200000 bytes. If the one
you download is, put it in the InetDbase: directory, delete the old
CertData file, and rename the new one as CertData.

David
_______________________________________________
netsurf-users mailing list -- netsurf-users@netsurf-browser.org
To unsubscribe send an email to netsurf-users-leave@netsurf-browser.org

Re: Fetch_NS

In message <5975ccea71dave@triffid.co.uk>
Dave <dave@triffid.co.uk> wrote:

>I have made the changes, but the error is the same.
>
>The full error message courtesy of Reporter is:
>
>** WimpError ** from unknown task
> Error : &00000000
> Message: file LATEST missing or empty at line 6

OK, open the InetDbase:CertData file and tell us the date you'll see
near the top (it's the 4th line in mine).

Mine says:

## Certificate data from Mozilla as of: Thu Sep 30 03:12:05 2021 GMT

David
_______________________________________________
netsurf-users mailing list -- netsurf-users@netsurf-browser.org
To unsubscribe send an email to netsurf-users-leave@netsurf-browser.org

Re: Fetch_NS

In article <ac4cc97559.DaveMeUK@BeagleBoard-xM>,
David Higton <dave@davehigton.me.uk> wrote:
> In message <5975c6fce7dave@triffid.co.uk>
> Dave <dave@triffid.co.uk> wrote:

> >In article <ddfac27559.DaveMeUK@BeagleBoard-xM>,
> > David Higton <dave@davehigton.me.uk> wrote:
> >> In message <6160be7559.DaveMeUK@BeagleBoard-xM>
> >> David Higton <dave@davehigton.me.uk> wrote:
> >
> >> >Hi all,
> >> > I used to use Fetch_NS daily. Recently it has stopped working,
> >> >complaining of an incorrectly formatted filename - of course it's
> >> >incorrectly formatted because it's the empty string. The error is
> >> >coming from Fetch_NS.Resources.SetLatest.
> >> > I'm trying to analyse why it isn't working, but the code is
> >> >crunched, or very nearly so, which means I'm struggling to
> >> >understand it.
> >> >
> >> >Has it stopped working for anyone else? If so, do you have a
> >> >solution?
> >
> >> Following up my own post: it looks like my CertData file must have
> >> contained an invalid certificate (even though it was only 3 months out
> >> of data), because replacing that has fixed the problem.
> >
> >> I have updated a couple of lines in !Boot.Choices.Fetch_NS.Settings.
> >> These are the new ones:
> >
> >> Set Fetch_NS$Url https://ci.netsurf-browser.org/builds/riscos/
> >
> >> Set Fetch_NS$Opt --ca-certificate=InetDbase:CertData -qO
> >
> >> First one is to use https rather than http. Second one is to use the
> >> central InetDbase:CertData file rather than a separate (and non-
> >> maintained) copy.
> >
> >> David
> >
> >Ooeer! slight aside but similar problem... I've not updated Netsurf
> >recently so prompted by the above notes thought I better do it.
> >
> >Error from Fetch_NS
> > Error : &00000000
> > Message: file LATEST missing or empty at line 6
> >
> >I have no idea what that is, or where it originates from...
> >
> >Any ideas please how to fix whatever it is?

> Make the changes described above, for a start.

> The problem is caused by a bundle of certificate authority certificates
> being out of date.

> If that still doesn't fix it, come back to us here.

> David

I have made the changes, but the error is the same.

The full error message courtesy of Reporter is:

** WimpError ** from unknown task
Error : &00000000
Message: file LATEST missing or empty at line 6

Thanks
Dave

With regard to the error message.
The only place in the !AppDir that I can find a Line 6 is in...

"HostFS::HardDisc4.$.Net.!Fetch_NS.Resources.SetLatest" A Basic file.

D.

--

Dave Triffid
_______________________________________________
netsurf-users mailing list -- netsurf-users@netsurf-browser.org
To unsubscribe send an email to netsurf-users-leave@netsurf-browser.org

Re: Fetch_NS

In message <5975c6fce7dave@triffid.co.uk>
Dave <dave@triffid.co.uk> wrote:

>In article <ddfac27559.DaveMeUK@BeagleBoard-xM>,
> David Higton <dave@davehigton.me.uk> wrote:
>
> > Following up my own post: it looks like my CertData file must have
> > contained an invalid certificate (even though it was only 3 months out of
> > data), because replacing that has fixed the problem.
>
> > I have updated a couple of lines in !Boot.Choices.Fetch_NS.Settings.
> > These are the new ones:
>
> > Set Fetch_NS$Url https://ci.netsurf-browser.org/builds/riscos/
>
> > Set Fetch_NS$Opt --ca-certificate=InetDbase:CertData -qO
>
> > First one is to use https rather than http. Second one is to use the
> > central InetDbase:CertData file rather than a separate (and non-
> > maintained) copy.
>
> > David
>
> Ooeer! slight aside but similar problem... I've not updated Netsurf
> recently so prompted by the above notes thought I better do it.
>
> Error from Fetch_NS Error : &00000000
> Message: file LATEST missing or empty at line 6
>
> I have no idea what that is, or where it originates from...
>
> Any ideas please how to fix whatever it is?

Slightly longer answer:

The problem is caused by an HTTPS certificate bundle file that contains
an invalid or out of date certificate.

There's a related problem in that there are multiple copies of this
file splattered around some people's systems. There ought to be one
true copy, and it ought to be easy to maintain it. Maintaining one
has to be easier than maintaining more than one, right?

The one we should all be using is InetDbase:CertData (i.e. the file's
name is CertData, and it lives in the InetDbase: directory, which on
my system expands to HardDisc4.$.!Boot.Resources.!Internet.Files, but
if we refer to it as InetDbase:CertData, then it doesn't matter where
or on what drive or filing system you store it, the reference will be
correct). Hence the second of the modifications above.

OK, I don't know how up to date your InetDbase:CertData is, but I can
at least offer you an easy way to update it - provided it is recent
enough in the first place. Go to my web site, https://davehigton.me.uk
and look for UpdCaCert.zip Unzip it, put it somewhere useful (maybe
Apps), and run it. It will update your InetDbase:CertData file, if
and only if a later one is available.

Hope that helps.

If even that doesn't work, it's possible that your InetDbase:CertData
file is out of date, in which case come back to us here and we can tell
you how to fix that. (My app requires a working CertData file to be
able to download the new one. Yes, there is a potential for trouble
there.)

David
_______________________________________________
netsurf-users mailing list -- netsurf-users@netsurf-browser.org
To unsubscribe send an email to netsurf-users-leave@netsurf-browser.org

Re: Fetch_NS

In message <5975c6fce7dave@triffid.co.uk>
Dave <dave@triffid.co.uk> wrote:

>In article <ddfac27559.DaveMeUK@BeagleBoard-xM>,
> David Higton <dave@davehigton.me.uk> wrote:
>> In message <6160be7559.DaveMeUK@BeagleBoard-xM>
>> David Higton <dave@davehigton.me.uk> wrote:
>
>> >Hi all,
>> > I used to use Fetch_NS daily. Recently it has stopped working,
>> >complaining of an incorrectly formatted filename - of course it's
>> >incorrectly formatted because it's the empty string. The error is
>> >coming from Fetch_NS.Resources.SetLatest.
>> >
>> >I'm trying to analyse why it isn't working, but the code is crunched, or
>> >very nearly so, which means I'm struggling to understand it.
>> >
>> >Has it stopped working for anyone else? If so, do you have a solution?
>
>> Following up my own post: it looks like my CertData file must have
>> contained an invalid certificate (even though it was only 3 months out
>> of data), because replacing that has fixed the problem.
>
>> I have updated a couple of lines in !Boot.Choices.Fetch_NS.Settings.
>> These are the new ones:
>
>> Set Fetch_NS$Url https://ci.netsurf-browser.org/builds/riscos/
>
>> Set Fetch_NS$Opt --ca-certificate=InetDbase:CertData -qO
>
>> First one is to use https rather than http. Second one is to use the
>> central InetDbase:CertData file rather than a separate (and non-
>> maintained) copy.
>
>> David
>
>Ooeer! slight aside but similar problem...
>I've not updated Netsurf recently so prompted by the above notes thought I
>better do it.
>
>Error from Fetch_NS
> Error : &00000000
> Message: file LATEST missing or empty at line 6
>
>I have no idea what that is, or where it originates from...
>
>Any ideas please how to fix whatever it is?

Make the changes described above, for a start.

The problem is caused by a bundle of certificate authority certificates
being out of date.

If that still doesn't fix it, come back to us here.

David
_______________________________________________
netsurf-users mailing list -- netsurf-users@netsurf-browser.org
To unsubscribe send an email to netsurf-users-leave@netsurf-browser.org

Re: Fetch_NS

In article <ddfac27559.DaveMeUK@BeagleBoard-xM>,
David Higton <dave@davehigton.me.uk> wrote:
> In message <6160be7559.DaveMeUK@BeagleBoard-xM>
> David Higton <dave@davehigton.me.uk> wrote:

> >Hi all,
> > I used to use Fetch_NS daily. Recently it has stopped working,
> >complaining of an incorrectly formatted filename - of course it's
> >incorrectly formatted because it's the empty string. The error is
> >coming from Fetch_NS.Resources.SetLatest.
> >
> >I'm trying to analyse why it isn't working, but the code is crunched, or
> >very nearly so, which means I'm struggling to understand it.
> >
> >Has it stopped working for anyone else? If so, do you have a solution?

> Following up my own post: it looks like my CertData file must have
> contained an invalid certificate (even though it was only 3 months out
> of data), because replacing that has fixed the problem.

> I have updated a couple of lines in !Boot.Choices.Fetch_NS.Settings.
> These are the new ones:

> Set Fetch_NS$Url https://ci.netsurf-browser.org/builds/riscos/

> Set Fetch_NS$Opt --ca-certificate=InetDbase:CertData -qO

> First one is to use https rather than http. Second one is to use the
> central InetDbase:CertData file rather than a separate (and non-
> maintained) copy.

> David

Ooeer! slight aside but similar problem...
I've not updated Netsurf recently so prompted by the above notes thought I
better do it.

Error from Fetch_NS
Error : &00000000
Message: file LATEST missing or empty at line 6

I have no idea what that is, or where it originates from...

Any ideas please how to fix whatever it is?

Thanks
Dave

FWIW. I do not have 5313

VRPC-DL running RISC OS 6.20 Fetch_NS Version: 2.40.

D.

--

Dave Triffid
_______________________________________________
netsurf-users mailing list -- netsurf-users@netsurf-browser.org
To unsubscribe send an email to netsurf-users-leave@netsurf-browser.org

CA bundle

Hi all,

Is there a way to make the RISC OS version of NS use the central CA cert
bundle, InetDbase:CertData, rather than its own? Which, it should be
mentioned, is long out of date.

I try to maintain a central CA bundle, rather than having multiple ones
that are not necessarily maintained up to date.

David
_______________________________________________
netsurf-dev mailing list -- netsurf-dev@netsurf-browser.org
To unsubscribe send an email to netsurf-dev-leave@netsurf-browser.org