[CalendarServer-users] Reverse proxy issue ?
Bastien Semene
bsemene at cyanide-studio.com
Tue Mar 31 07:24:58 PDT 2009
Hi list,
To compensate a lack of IPs I set up a reverse-proxy to handle some
https:// connections. It includes access to the calendar server.
Calendar server is reachable at https://xxx.com/calendar/ and the proxy
reaches caldav at the internal URL : http://calendar.xxx.com:8008
(directives at the bottom)
I can see the the calendars without problem, but I have the following
issue :
- When creating a new event, I must manually refresh it to see the
modification.
- I can't delete an event (logs are below). Note that in the logs when
DELETE fails the first part of ics id is missing.
Is there some particular configuration needed ? Am I doing something
wrong ? Is it possible to have a reverse-proxy ?
Logs :
You can see access from reverse proxy or host by its IP (respectively
10.1.8.1 and 10.1.8.220).
2009-03-31 15:37:21+0200 [-] [caldav-8008] [HTTPChannel,72,10.1.8.1]
[twistedcaldav.extensions#info] DELETE
/calendars/users/abonnard/calendar/262f-4352-aae4-19aeff8d1e4c.ics HTTP/1.1
2009-03-31 15:37:21+0200 [-] [caldav-8008] [HTTPChannel,73,10.1.8.1]
[twistedcaldav.extensions#info] HEAD
/calendars/users/abonnard/calendar/262f-4352-aae4-19aeff8d1e4c.ics HTTP/1.1
2009-03-31 15:37:42+0200 [-] [caldav-8008] [HTTPChannel,76,10.1.8.1]
[twistedcaldav.extensions#info] HEAD /calendars/users/abonnard/calendar/
HTTP/1.1
2009-03-31 15:37:42+0200 [-] [caldav-8008]
[PooledMemCacheProtocol,client] [twistedcaldav.extensions#info] PROPFIND
/calendars/users/abonnard/calendar/ HTTP/1.1
2009-03-31 15:37:48+0200 [-] [caldav-8008] [HTTPChannel,78,10.1.8.1]
[twistedcaldav.extensions#info] DELETE
/calendars/users/abonnard/calendar/262f-4352-aae4-19aeff8d1e4c.ics HTTP/1.1
2009-03-31 15:37:48+0200 [-] [caldav-8008] [HTTPChannel,79,10.1.8.1]
[twistedcaldav.extensions#info] HEAD
/calendars/users/abonnard/calendar/262f-4352-aae4-19aeff8d1e4c.ics HTTP/1.1
2009-03-31 15:38:23+0200 [-] [caldav-8008]
[PooledMemCacheProtocol,client] [twistedcaldav.extensions#info] PROPFIND
/calendars/users/abonnard/calendar/ HTTP/1.1
2009-03-31 15:38:24+0200 [-] [caldav-8008] [HTTPChannel,80,10.1.8.220]
[twistedcaldav.extensions#info] OPTIONS /calendars/users/abonnard/ HTTP/1.1
2009-03-31 15:38:24+0200 [-] [caldav-8008] [HTTPChannel,80,10.1.8.220]
[twistedcaldav.extensions#info] HEAD /calendars/users/abonnard/calendar/
HTTP/1.1
2009-03-31 15:38:24+0200 [-] [caldav-8008] [HTTPChannel,80,10.1.8.220]
[twistedcaldav.extensions#info] REPORT
/calendars/users/abonnard/calendar/ HTTP/1.1
2009-03-31 15:38:24+0200 [-] [caldav-8008] [HTTPChannel,80,10.1.8.220]
[twistedcaldav.extensions#info] REPORT
/calendars/users/abonnard/calendar/ HTTP/1.1
2009-03-31 15:38:24+0200 [-] [caldav-8008] [HTTPChannel,80,10.1.8.220]
[twistedcaldav.extensions#info] REPORT
/calendars/users/abonnard/calendar/ HTTP/1.1
2009-03-31 15:38:33+0200 [-] [caldav-8008] [HTTPChannel,80,10.1.8.220]
[twistedcaldav.extensions#info] DELETE
/calendars/users/abonnard/calendar/298bcef0-262f-4352-aae4-19aeff8d1e4c.ics
HTTP/1.1
2009-03-31 15:38:33+0200 [-] [caldav-8008] [HTTPChannel,80,10.1.8.220]
[twisted.web2.dav.fileop#info] Deleting file
/var/db/caldav/data/calendars/__uids__/c8/04/c804a264-62b4-5676-9f21-3637eb3e96e1/calendar/298bcef0-262f-4352-aae4-19aeff8d1e4c.ics
2009-03-31 15:38:35+0200 [-] [caldav-8008] [HTTPChannel,80,10.1.8.220]
[twistedcaldav.extensions#info] DELETE
/calendars/users/abonnard/calendar/7f62916f-fbbc-477e-aaa7-44a747433895.ics
HTTP/1.1
2009-03-31 15:38:36+0200 [-] [caldav-8008] [HTTPChannel,80,10.1.8.220]
[twisted.web2.dav.fileop#info] Deleting file
/var/db/caldav/data/calendars/__uids__/c8/04/c804a264-62b4-5676-9f21-3637eb3e96e1/calendar/7f62916f-fbbc-477e-aaa7-44a747433895.ics
Directives inside the reverse proxy :
ProxyPass /calendar/ http://calendar.xxx.com:8008/
ProxyPassReverse /calendar/ http://calendar.xxx.com:8008/
ProxyPreserveHost On #I must keep this directive for
another reason.
Thanks,
--
Bastien Semene
Administrateur Réseau & Système
admin at cyanide-studio.com
+33 (0)1 47 86 30 80
Cyanide S.A.
5, Boulevard des Bouvets
92000 Nanterre - FRANCE
More information about the calendarserver-users
mailing list