Skip to main content


Hello !Friendica Support

I am trying in vain to add a Friedica contact to my contacts. Unfortunately Friendica always says "Network type not recognized". When I test the address via Webfinger, the result is an empty Arry.

When the other instance tries to add me as a contact, it doesn't work either.

Both are Friendica instances and both instances have also successfully added contacts.

What should we or I look for in the log file?
@Montag Can you provide said contact for us to test from our nodes? Probing your own contact return the expected information from my node.
@Montag
So for me, I was able to add this contact without any problems.
@Hypolite Petovan
@Montag Have you tried adding this contact using their full profile URL? Their WebFinger implementation seems to be broken at the moment.
@Hypolite Petovan Yes, I have tried, the result is unfortunately the same.
@Hypolite Petovan I have now tried once successfully to add it as a contact on my test account on libranet. This worked without any problems. Then the problem seems to be with my instance, right?
@Hypolite Petovan for me it looks like this ...

Array
(
    [name] => https://fr.nixre.net/profile/c47/
    [given_name] => 
    [family_name] => 
    [nick] => https://fr.nixre.net/profile/c47/
    [guid] => 
    [url] => https://fr.nixre.net/profile/c47/
    [addr] => 
    [alias] => 
    [photo] => https://friendica.xyz/images/person-300.jpg
    [photo_medium] => 
    [photo_small] => 
    [header] => 
    [account-type] => 
    [community] => 
    [keywords] => 
    [location] => 
    [about] => 
    [xmpp] => 
    [matrix] => 
    [hide] => 
    [batch] => 
    [notify] => 
    [poll] => 
    [request] => 
    [confirm] => 
    [subscribe] => 
    [poco] => 
    [following] => 
    [followers] => 
    [inbox] => 
    [outbox] => 
    [sharedinbox] => 
    [priority] => 0
    [network] => unkn
    [pubkey] => 
    [manually-approve] => 
    [baseurl] => 
    [gsid] => 
    [networks] => Array
        (
        )

)
@Montag I was wondering if your domain might have been blocked but it doesn't look like it: https://fr.nixre.net/friendica
@Hypolite Petovan i have now tested an address with webfinger and probe, from which I know that my instance of it is blocked. And the result actually looks exactly like the one at Rebeka. However, since she has also already tried to add me as a contact, it can't actually be. Very weird ...
@Montag I'm curious about both of these:
2023-04-28T15:47:20Z index [DEBUG]: construct {"url":"https://fr.nixre.net/.well-known/webfinger?resource=acct%3Ac47%40fr.nixre.net","returncode":500,"result":""} - {"file":"CurlResult.php","line":143,"function":"__construct","request-id":"644bea8817fd4","uid":"965da3","process_id":910}
2023-04-28T15:47:20Z index [DEBUG]: construct {"url":"https://fr.nixre.net/.well-known/host-meta","returncode":500,"result":""} - {"file":"CurlResult.php","line":143,"function":"__construct","request-id":"644bea8817fd4","uid":"965da3","process_id":910}

Neither of these URL return the 500 error code when I access them in my browser.
@Hypolite Petovan
When I access my webspace via ssh and try this, the result looks like this
$ curl https://fr.nixre.net/.well-known/webfinger?resource=acct%3Ac47@fr.nixre.net
curl: (35) error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version


And this is the result when I try with your address. And this is probably how it should look like. So the problem is probably on my end.
curl https://friendica.mrpetovan.com/.well-known/webfinger?resource=acct%3Ahypolite@friendica.mrpetovan.com
{
    "subject": "acct:hypolite@friendica.mrpetovan.com",
    "aliases": [
        "https://friendica.mrpetovan.com/~hypolite",
        "https://friendica.mrpetovan.com/profile/hypolite"
    ],
    "links": [
        {
            "rel": "http://purl.org/macgirvin/dfrn/1.0",
            "href": "https://friendica.mrpetovan.com/profile/hypolite"
.
.
.
@Montag Indeed, it looks like a problem from your server, good luck with that!
@Hypolite Petovan Hm, I rather hoped that you write: I have found the solution! 😉
@Hypolite Petovan
$ curl -V
curl 7.83.1
Release-Date: 2022-05-11
Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp 
Features: alt-svc AsynchDNS brotli HSTS HTTP2 HTTPS-proxy IDN IPv6 Largefile libz NTLM NTLM_WB PSL SSL UnixSockets
@Montag Drat, this looks good. Most Internet advice around this error is about outdated curl binaries.
Ok, so now i just need to figure out how to install a current curl version on my webspace. But I will take a look at that tomorrow. 😉

Surely there are more people here who have hosted Friendica at #Uberspace. Has anyone of you ever done that? 😉

Thanks @Hypolite Petovan for your help and time.
Oh... and this happes to me so far with users from instances that are hosted on uberspace. With users from instances hosted elsewhere I can connect successfully 😕
Danke für den Tip, funktioniert leider auch nicht ...
@agarbathi stimmt, auf der Konsole gibt es ein "301 Moved Permanently". Ich werde die Tage mal versuchen, eine aktuelle cURL Version zu installieren und dann weiter schauen.
Da ja einige der kleineren Instanzen hier auf #Uberspace gehostet sind mache ich das natürlich. Noch habe ich zwar keinen Plan, wie ich das mit dem aktualisieren machen soll, aber mal schauen.