Unable to connect AgenDAV to Davical

136 views
Skip to first unread message

Joel Mathew

unread,
Dec 31, 2016, 10:57:34 PM12/31/16
to AgenDAV general
Davical is working properly. I can login to the davical external url http://davical.myurl.com/ and also use curl to connect to it:


$curl
-u admin -v -X OPTIONS http://davical.myurl.com/davical/caldav.php/admin
Enter host password for user 'admin':
* Hostname was NOT found in DNS cache
*   Trying x.y.z.a...
* Connected to davical.myurl.com (x.y.z.a) port 80 (#0)
* Server auth using Basic with user 'admin'
> OPTIONS /davical/caldav.php/admin HTTP/1.1
> Authorization: Basic YWRtaW46OHpTM2hUYXpUT0JQSFZkWnJkNDA=
> User-Agent: curl/7.38.0
> Host: davical.myurl.com
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Sun, 01 Jan 2017 03:41:07 GMT
* Server Apache/2.4.10 is not blacklisted
< Server: Apache/2.4.10
< Allow: OPTIONS,GET,HEAD,POST
< Content-Length: 0
<
* Connection #0 to host davical.myurl.com left intact



But when I try logging in to AgenDAV interface, it says cannot connect on port 81:
[2017-01-01 09:18:14] agendav.CRITICAL: AgenDAV\Exception\ConnectionProblem: cURL error 7: Failed to connect to localhost port 81: Connection refused (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) (uncaught exception) at /home/my/domains/cal.myurl.com/public_html/web/src/Http/Client.php line 184 {"exception":"[object] (AgenDAV\\Exception\\ConnectionProblem(code: 0): cURL error 7: Failed to connect to localhost port 81: Connection refused (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) at /home/my/domains/cal.myurl.com/public_html/web/src/Http/Client.php:184)"} []



Jorge López Pérez

unread,
Jan 1, 2017, 4:42:05 AM1/1/17
to agendav...@googlegroups.com
Hi Joel,

On Sun, Jan 1, 2017, at 04:57, Joel Mathew wrote:

> But when I try logging in to AgenDAV interface, it says cannot connect on
> port 81:

Unless your DAViCal instance is also reachable on localhost:81 from the
machine that runs AgenDAV, I'd say you didn't configure caldav.baseurl
(http://docs.agendav.org/en/stable/admin/configuration/#confval-caldav.baseurl)
properly. It should point to your DAViCal server.

Best regards.

--
Jorge López Pérez
http://adobo.org

Joel Mathew

unread,
Jan 1, 2017, 7:10:45 AM1/1/17
to agendav...@googlegroups.com
Thank you. I'll change my password.


--
You received this message because you are subscribed to the Google Groups "AgenDAV general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to agendav-general+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages