Re: Strange FS download behaviour

Martin Schanzenbach <[email protected]> Wed, 5 Feb 2025 11:20:00 +0100
Newsgroups gmane.network.gnunet.devel
Message-ID <[email protected]>
It sounds like a regression in DHT or a long-standing issue in FS.

For now, I will simply open an issue on mantis.


BR

Martin

Am 04.02.25 um 21:16 schrieb Alessio Vanni:
> Hello,
> I'm facing a strange issue when making an attempt to download
> something shared with FS under certain circumstances.
>
> It goes something like this:
> 1. publish something with gnunet-publish or the FS API;
> 2. immediately copy the URI and use gnunet-download or the FS API to
>    get the published content. It works as expected;
> 3. wait a few minutes, around five or so;
> 4. try to download from the same URI: the download is stuck.
>
> No matter how much I wait, the download never goes on, despite being a
> "local" file coming from my peer. Restarting GNUnet entirely didn't
> have any effect, when I tried.
>
> As a workaround I found out that re-publishing the same contents again
> allows me to download them, though stuck downloads will remain frozen
> and have to be killed.
>
> It seems to be something related to "activity", because if I keep
> downloading the contents (e.g. to test the FS API) in short intervals
> everything works and I can go on for hours on end without issues. The
> moment I take a slightly longer break it freezes, though.
>
> I'm not sure what to look for to diagnose the issue. The log file
> doesn't seem very informative and I'm not practical of FS besides some
> simple API usage taken from GNUnet command line tools like
> gnunet-publish.
>
> I'm using GNUnet 0.23.0 built and installed with Meson.
>
> Thank you,
> A.V.
>
>