I am using Debian 11 (testing) with gnutls installed by apt install gnutls-dev. Note that previously I use Debian 10 (stable), I upgrade to Debian testing only because I would like to try newer version of gnutls.
My Onion instance will get stuck after running for a few days (i.e., it does not respond to any incoming connections). I investigated it for a while and it turns out to be the issue of gnutls_handshake():
I am also aware that gnutls's doc on gnutls-handshake() does say that "[o]n these non-fatal errors call this function again, until it returns 0" so I am not sure if this is something Onion can fix.
I am now trying the following, see if it can "solve" the issue (could take weeks to get result):
I am using Debian 11 (testing) with gnutls installed by
apt install gnutls-dev
. Note that previously I use Debian 10 (stable), I upgrade to Debian testing only because I would like to try newer version ofgnutls
.My Onion instance will get stuck after running for a few days (i.e., it does not respond to any incoming connections). I investigated it for a while and it turns out to be the issue of
gnutls_handshake()
:https://github.com/davidmoreno/onion/blob/de8ea938342b36c28024fd8393ebc27b8442a161/src/onion/https.c#L222-L225
I revised the above section to:
and build onion with
cmake -DCMAKE_BUILD_TYPE=Debug ../
. The below is what I get from log after my instance gets stuck:I am also aware that gnutls's doc on gnutls-handshake() does say that "[o]n these non-fatal errors call this function again, until it returns 0" so I am not sure if this is something Onion can fix.
I am now trying the following, see if it can "solve" the issue (could take weeks to get result):
Any idea on this?