I have been running nextcloud 21 on my ubuntu 20.04.2 VM and have been running into this issue There are some warnings regarding your setup. Your web server is not properly set up to resolve "/.well-known/webfinger". Further information can be found in the documentation. Your web server is not properly set up to resolve "/.well-known/nodeinfo". Further information can be found in the documentation. Please double check the installation guides ↗, and check for any errors or warnings in the log. Check the security of your Nextcloud over our security scan ↗.
I thought the issue would fix itself after updating to version 21.0.1 but that did not happen and after upgrading, I am still getting the same issue. I have running my Nextcloud install through Nginx. Here is my Nginx config file. I have tried most of the recommendations that have been talked about in this post here.
I’ve hit the same issue. The post you’ve linked is about caldav & carddav.
The new issue is with
Your web server is not properly set up to resolve "/.well-known/webfinger". Further information can be found in the documentation.
Your web server is not properly set up to resolve "/.well-known/nodeinfo". Further information can be found in the documentation.
Problem is, the linked documentation does also only speak about caldav & carddav, which work fine for me.
I’m running Nextcloud in a subfolder named nextcloud on an Apache2 httpd webserver, and my /var/www/html/.htaccess file reads:
Manually browsing to carddav or caldav requires http auth and then shows a message that this url is for dav clients.
browsing to .well-known/webfinger though gave me a nextcloud error page.
Searching Google some more gave me this page:
Which shows a different line for webfinger and adds one for nodeinfo:
Thanks, that did the job! Although – forgive my pointillism! – to be strict, the first dot in the regular expression should be escaped like this: ^\.well-known.
You know, I’ve been looking for a solution to this issue all across the NC forum AND documentation. Still couldn’t find a proper one. So please don’t assume that someone asking anything here is just lazy or spamming. The idea of a community is to help each other, not to be ironic for nothing. If you have a proven method that works for this issue, please share it. If not, don’t be a smart ass and just move over.
Following [beamtic](https://beamtic.com/webfinger-and-nodeinfo-nextcloud) way of setting these redirect rules in the vhost conf file (apache) was the only way for me to get rid of these errors
The Beamtic website could not be reached because “The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.” (Firefox). Chromium produced a similar result.
I really need to clear the webfinger and nodeinfo warnings, can anybody enlighten me as to the method Beamtic suggested? Perhaps Beamtic could sort out the security issue with their site?
Beamtic is working again it seems.
Following its redirect advice, I adapted it for those who are using an Apache reverse proxy in front of wordpress in Docker:
nginx: [emerg] “upstream” directive is not allowed here in /etc/nginx-rc/extra.d/nextcloud.location.main.nextcloudnogeenconfig.conf:1 nginx: configuration file /etc/nginx-rc/nginx.conf test failed
I checked on Runcloud helpdesk on this matter and this is what they said:
We have tried accessing the directors under .well-known under your web app via browser and are getting the 404 Not found error. Further checking the web app documentation root we could not find the .well-known directory.
I just clean installed a working Nextcloud application. Why is there a missing folder?
My question being: How to solve this? Reinstall gives the same problems. Using latest version (25.2?)
Thanks!
They also advised me to have this in main Nginx configuration:
I keep asking myself how much sense it makes to keep re-opening a thread which started in April 2021 - at least 3 years back.
I hope none of you is running any of those versions (nc 21!) anymore or you will have some more major security problems than running into well-Known/webfinger problems.
so i’m gonna close thos thread now. If you want to relate to the problem pls open a new thread and put a link out to this one.
Don’t forget to give more informations about your setup.