Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Nextcloud
  3. Nextcloud Calendar connect via caldav URL not working

Nextcloud Calendar connect via caldav URL not working

Scheduled Pinned Locked Moved Solved Nextcloud
5 Posts 3 Posters 1.5k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      A Offline
      AartJansen
      wrote on last edited by
      #1

      I tried to use OneCalendar on android, it has a "add nextcloud account" option
      I also tried to add to my thunderbird on PC.
      When I try : curl -v https://😠 /remote.php/dav --user "yeah:ok"

      • Trying 192.168.1.33:443...
      • Connected to 😲 (192.168.1.33) port 443 (#0)
      • schannel: disabled automatic use of client certificate
        • ALPN: offers http/1.1
        • ALPN: server accepted http/1.1
        • Server auth using Basic with user 'yeah'
      • GET /remote.php/dav HTTP/1.1

      • Host: 😰

      • Authorization: Basic YWFydEByb3RvdmVnYXMubno6RnJhbmtpZTQ5

      • User-Agent: curl/7.83.1

      • Accept: /

        • Mark bundle as not supporting multiuse
      • < HTTP/1.1 200 OK
      • < Server: nginx
      • < Date: Sat, 01 Apr 2023 07:01:46 GMT
      • < Content-Type: text/html; charset=UTF-8
      • < Content-Length: 114
      • < Connection: keep-alive
      • < Set-Cookie: ocwe30k7bqw6=25vt0hdkpufat3r1pd658066oc; path=/; secure; HttpOnly; SameSite=Lax
      • < Expires: Thu, 19 Nov 1981 08:52:00 GMT
      • < Cache-Control: no-store, no-cache, must-revalidate
      • < Pragma: no-cache
      • < Set-Cookie: oc_sessionPassphrase=G0WOmk%2FzJwUnUxPYtCwQhZX%2B4o%2FHL%2BqtcBda3vPpq%2F9WfdxHLXpSD6JsK0dUMJgRNqvh60ZfVkNiUcizGcmjeMGB8RCn0F5QDyQgxVpvVxcHVJP9i3lMBLoUiVw7Zi2y; path=/; secure; HttpOnly; SameSite=Lax
      • < Set-Cookie: ocwe30k7bqw6=jvpmjcmus4861iitorh04lk8fu; path=/; secure; HttpOnly; SameSite=Lax
      • < Set-Cookie: ocwe30k7bqw6=jvpmjcmus4861iitorh04lk8fu; path=/; secure; HttpOnly; SameSite=Lax
      • < Content-Security-Policy: default-src 'none';
      • < X-Frame-Options: SAMEORIGIN
      • < X-Robots-Tag: noindex, nofollow
      • < Set-Cookie: __Host-nc_sameSiteCookielax=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax
      • < Set-Cookie: __Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=strict
      • < Set-Cookie: ocwe30k7bqw6=jvpmjcmus4861iitorh04lk8fu; path=/; secure; HttpOnly; SameSite=Lax
      • < Set-Cookie: ocwe30k7bqw6=jvpmjcmus4861iitorh04lk8fu; path=/; secure; HttpOnly; SameSite=Lax
      • < Set-Cookie: ocwe30k7bqw6=s0lcjmt6bjlrb7m48tu4t9mqji; path=/; secure; HttpOnly; SameSite=Lax
      • < Set-Cookie: cookie_test=test; expires=Sat, 01-Apr-2023 08:01:46 GMT; Max-Age=3600
      • < X-Request-Id: oms6c15bEGAGOhdPPm39
      • < X-Debug-Token: oms6c15bEGAGOhdPPm39
      • < Vary: Accept-Encoding
      • < Strict-Transport-Security: max-age=63072000
      • < X-XSS-Protection: 1; mode=block
      • < X-Download-Options: noopen
      • < X-Content-Type-Options: nosniff
      • < X-Permitted-Cross-Domain-Policies: none
      • < Referrer-Policy: no-referrer
      • <
      • This is the WebDAV interface. It can only be accessed by WebDAV clients such as the Nextcloud desktop sync client.* Connection #0 to host 🤤 left intact
      jdaviescoatesJ 1 Reply Last reply
      1
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #2

        It seems like nextcloud is correctly responding there. Only curl does not know how to handle webdav resources but only the http level. I guess you have to debug your clients accordingly. For Thunderbird, the full URL to a specific calendar here is:

        https://<nextcloudorigin>/remote.php/dav/calendars/<username>/<calendarname>/
        
        A 1 Reply Last reply
        2
        • A AartJansen

          I tried to use OneCalendar on android, it has a "add nextcloud account" option
          I also tried to add to my thunderbird on PC.
          When I try : curl -v https://😠 /remote.php/dav --user "yeah:ok"

          • Trying 192.168.1.33:443...
          • Connected to 😲 (192.168.1.33) port 443 (#0)
          • schannel: disabled automatic use of client certificate
            • ALPN: offers http/1.1
            • ALPN: server accepted http/1.1
            • Server auth using Basic with user 'yeah'
          • GET /remote.php/dav HTTP/1.1

          • Host: 😰

          • Authorization: Basic YWFydEByb3RvdmVnYXMubno6RnJhbmtpZTQ5

          • User-Agent: curl/7.83.1

          • Accept: /

            • Mark bundle as not supporting multiuse
          • < HTTP/1.1 200 OK
          • < Server: nginx
          • < Date: Sat, 01 Apr 2023 07:01:46 GMT
          • < Content-Type: text/html; charset=UTF-8
          • < Content-Length: 114
          • < Connection: keep-alive
          • < Set-Cookie: ocwe30k7bqw6=25vt0hdkpufat3r1pd658066oc; path=/; secure; HttpOnly; SameSite=Lax
          • < Expires: Thu, 19 Nov 1981 08:52:00 GMT
          • < Cache-Control: no-store, no-cache, must-revalidate
          • < Pragma: no-cache
          • < Set-Cookie: oc_sessionPassphrase=G0WOmk%2FzJwUnUxPYtCwQhZX%2B4o%2FHL%2BqtcBda3vPpq%2F9WfdxHLXpSD6JsK0dUMJgRNqvh60ZfVkNiUcizGcmjeMGB8RCn0F5QDyQgxVpvVxcHVJP9i3lMBLoUiVw7Zi2y; path=/; secure; HttpOnly; SameSite=Lax
          • < Set-Cookie: ocwe30k7bqw6=jvpmjcmus4861iitorh04lk8fu; path=/; secure; HttpOnly; SameSite=Lax
          • < Set-Cookie: ocwe30k7bqw6=jvpmjcmus4861iitorh04lk8fu; path=/; secure; HttpOnly; SameSite=Lax
          • < Content-Security-Policy: default-src 'none';
          • < X-Frame-Options: SAMEORIGIN
          • < X-Robots-Tag: noindex, nofollow
          • < Set-Cookie: __Host-nc_sameSiteCookielax=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax
          • < Set-Cookie: __Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=strict
          • < Set-Cookie: ocwe30k7bqw6=jvpmjcmus4861iitorh04lk8fu; path=/; secure; HttpOnly; SameSite=Lax
          • < Set-Cookie: ocwe30k7bqw6=jvpmjcmus4861iitorh04lk8fu; path=/; secure; HttpOnly; SameSite=Lax
          • < Set-Cookie: ocwe30k7bqw6=s0lcjmt6bjlrb7m48tu4t9mqji; path=/; secure; HttpOnly; SameSite=Lax
          • < Set-Cookie: cookie_test=test; expires=Sat, 01-Apr-2023 08:01:46 GMT; Max-Age=3600
          • < X-Request-Id: oms6c15bEGAGOhdPPm39
          • < X-Debug-Token: oms6c15bEGAGOhdPPm39
          • < Vary: Accept-Encoding
          • < Strict-Transport-Security: max-age=63072000
          • < X-XSS-Protection: 1; mode=block
          • < X-Download-Options: noopen
          • < X-Content-Type-Options: nosniff
          • < X-Permitted-Cross-Domain-Policies: none
          • < Referrer-Policy: no-referrer
          • <
          • This is the WebDAV interface. It can only be accessed by WebDAV clients such as the Nextcloud desktop sync client.* Connection #0 to host 🤤 left intact
          jdaviescoatesJ Offline
          jdaviescoatesJ Offline
          jdaviescoates
          wrote on last edited by
          #3

          @AartJansen have you got https://www.davx5.com/ installed ?

          Generally on Android you need that in my experience.

          I use Cloudron with Gandi & Hetzner

          A 1 Reply Last reply
          0
          • nebulonN nebulon

            It seems like nextcloud is correctly responding there. Only curl does not know how to handle webdav resources but only the http level. I guess you have to debug your clients accordingly. For Thunderbird, the full URL to a specific calendar here is:

            https://<nextcloudorigin>/remote.php/dav/calendars/<username>/<calendarname>/
            
            A Offline
            A Offline
            AartJansen
            wrote on last edited by
            #4

            @nebulon Thanks for that!
            I tinkered with the URL and it worked!
            Ended up with
            https://<nextcloudorigin>/remote.php/dav/calendars/<username>

            when I used the full username email address (like the nextcloud login) it stilll gave an error.

            When I used the cloudron username (in my case without the @domain.com) it worked.

            1 Reply Last reply
            1
            • jdaviescoatesJ jdaviescoates

              @AartJansen have you got https://www.davx5.com/ installed ?

              Generally on Android you need that in my experience.

              A Offline
              A Offline
              AartJansen
              wrote on last edited by
              #5

              @jdaviescoates No I haven't got that. I have read that was the "only" client but the "one calendar" android app seems to support caldav too.

              1 Reply Last reply
              1
              • nebulonN nebulon marked this topic as a question on
              • nebulonN nebulon has marked this topic as solved on
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Bookmarks
                • Search