Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/.well-known/caldav and /.well-known/carddav not resolved on port <> 80 #11789

Closed
macmeck opened this issue Oct 12, 2018 · 9 comments
Closed

Comments

@macmeck
Copy link

macmeck commented Oct 12, 2018

I have Nextcloud 14.0.3 running on a port different than 80. Nginx is configured according to the documentation. Though, Security & setup warnings shows up

Your web server is not properly set up to resolve "/.well-known/caldav".
Your web server is not properly set up to resolve "/.well-known/carddav".

I guess that the redirect in the nginx configuration redirects only to the standard ports 80/443. I haven't found out how to add the correct port dynamically yet.

    location = /.well-known/carddav {
      return 301 $scheme://$host/remote.php/dav;
    }
    location = /.well-known/caldav {
      return 301 $scheme://$host/remote.php/dav;
    }

Steps to reproduce

  1. Install Nextcloud
  2. setup nginx according to documentation

Expected behaviour

No warnings should be displayed.

Actual behaviour

I get two warnings mentioned above:

Your web server is not properly set up to resolve "/.well-known/caldav".
Your web server is not properly set up to resolve "/.well-known/carddav".

Server configuration

Operating system: Ubuntu 18.04

Web server: nginx

Database: mariaDB

PHP version: 7.2

Nextcloud version: 14.0.3

Updated from an older Nextcloud/ownCloud or fresh install: updated

@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #8766 (Caldav ), #11773 (Setup check for .well-known/caldav & carddav broken on Firefox), #11733 (Fix a misleading setup check for .well-known/caldav & carddav), #11739 ([stable13] Fix a misleading setup check for .well-known/caldav & carddav), and #11738 ([stable14] Fix a misleading setup check for .well-known/caldav & carddav).

@blackcrack
Copy link

blackcrack commented Oct 12, 2018

https://help.nextcloud.com/t/php-errors-with-nextcloud-14-0-2/38942
this should also works in *buntu , it's not a issue, its a feature cince 14.0.2;) *giggle*
i had this "error" also.. in OpenMandriva 3.0

please close this issue :) thank you

best regards
Blacky

@GLLM
Copy link

GLLM commented Oct 12, 2018

Got the same : Ubuntu 18.04 - NC 14.0.2

@macmeck
Copy link
Author

macmeck commented Oct 12, 2018

@blackcrack , I don't get your point. The issue here seems to be related to the redirect to the wrong port within the nginx configuration.

@MorrisJobke
Copy link
Member

I guess that the redirect in the nginx configuration redirects only to the standard ports 80/443. I haven't found out how to add the correct port dynamically yet.

As this is an issue with the setup of your webserver I would ask you to ask this question either in the forums or on a more general website about webserver configuration.

@macmeck
Copy link
Author

macmeck commented Oct 12, 2018

@MorrisJobke , one could also argue that one of Nextcloud's tests fails if the system is being set up as suggested by Nextcloud's documentation... If we find out how to tackle the port issue, the documentation could be improved and address more use cases.

@blackcrack
Copy link

blackcrack commented Oct 12, 2018

hey, i have the Pokal of nerving peoples.. ! 😁
this is a thing of caldav and cardav ,

the port it is an other thing, you have setting up the port 80,
but the nextcloud should use the ssl port so 443 ..

this have nothing to do with the redirection...

and like MorrisJobke told, it's a thing of configuration of you own Webserver,
if you can not handle that, it's not a thing of Support of Nextcloud lovers
and Community Peoples who want support the peoples, where understand
how it works.. so, read the FaQ or the Documentation

I be one of the Community out of the net and not a member of the NC-Group peoples,
but my vote is on this step for mark this tread to ro !

best regards
Blacky

@MorrisJobke
Copy link
Member

@MorrisJobke , one could also argue that one of Nextcloud's tests fails if the system is being set up as suggested by Nextcloud's documentation... If we find out how to tackle the port issue, the documentation could be improved and address more use cases.

True - for this a ticket in the documentation repository is the best way. Nevertheless this is the bug tracker of the servers code and there is not much we can do here from a code perspective.

@macmeck
Copy link
Author

macmeck commented Oct 12, 2018

Point taken, I did not see the issue tracker in the documentation repository. I'll check over there. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants