Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

iCal Server Push?

I've got the iCal server up and running, but am unsure about push. The iCal server is configured with the push notification service active. When I create an event in the web calendar the event doesn't get pushed to my iCal app on my mac with snow leopard. The same is true if I create an event in iCal and wait for it in the web calendar. Invitations and notifications aren't pushed either. In iCal app settings for my account is set to push. In order to retrieve updated calendar info, I must right click on the calendar and select 'Refresh.'

Does anyone have the iCal push functionality working. Does OSX SN require an update like the iPhone to be compatible?

Any help or info is greatly appreciated.

MBP 2.53, Pwr Mac G5 Quad, MacBook Core 2 Duo, iBook G3, Mac Mini, iMac G4, Mac OS X (10.6), Mac OS X Server 10.5, 10.6

Posted on Sep 8, 2009 2:52 PM

Reply
21 replies

Sep 9, 2009 8:48 AM in response to Cyrus Daboo

The push notification server is running and iCal is configured to use it. The iCal service and push notification is running on the same machine. For some reason in server admin, *the push notification server shows two instances of my iCal server.* It has a FQDN and an IP both of which are the same iCal service. The mail server is also listed here.

I didn't see any iCal errors in the push error log, although I didn't really know what I was looking for. There was a reoccurring jabber error, which is weird because jabber isn't even running and has never been configured. The error is as follows:

2009-09-08 17:04:38-0400 [Uninitialized] <twisted.internet.tcp.Connector instance at 0x578e68> will retry in 6 seconds
2009-09-08 17:04:38-0400 [Uninitialized] Stopping factory <twisted.words.protocols.jabber.xmlstream.XmlStreamFactory object at 0x12907f0>
2009-09-08 17:04:44-0400 [-] Starting factory <twisted.words.protocols.jabber.xmlstream.XmlStreamFactory object at 0x12907f0>

_My iCal Server error log is posted below:_

DAVServiceMaker#info] Setting up WebAdmin resource
2009-09-08 17:05:09-0400 [-] [caldav-8010] [-] [calendarserver.tap.caldav.CalDAVServiceMaker#info] Setting up Timezone Cache
2009-09-08 17:05:09-0400 [-] [caldav-8010] [-] [calendarserver.tap.caldav.CalDAVServiceMaker#info] Configuring authentication wrapper
2009-09-08 17:05:09-0400 [-] [caldav-8010] [-] [calendarserver.tap.caldav.CalDAVServiceMaker#info] Setting up service
2009-09-08 17:05:09-0400 [-] [caldav-8010] [-] [calendarserver.tap.caldav.CalDAVServiceMaker#info] Logging via AF_UNIX: /var/run/caldavd.sock
2009-09-08 17:05:09-0400 [-] [caldav-8010] [-] [calendarserver.tap.caldav.CalDAVServiceMaker#info] Configuring log observer: <twistedcaldav.accesslog.AMPCommonAccessLoggingObserver object at 0x192aa70>
2009-09-08 17:05:09-0400 [-] [caldav-8010] [-] [calendarserver.tap.caldav.CalDAVServiceMaker#info] Adding SSL server at 127.0.0.1:8445
2009-09-08 17:05:09-0400 [-] [caldav-8011] [-] [calendarserver.tap.caldav.CalDAVServiceMaker#info] Configuring SudoDirectoryService with file: /etc/caldavd/sudoers.plist
2009-09-08 17:05:09-0400 [-] [caldav-8011] [-] [calendarserver.tap.caldav.CalDAVServiceMaker#info] Configuring authentication for realm: /Search
2009-09-08 17:05:09-0400 [-] [caldav-8011] [-] [calendarserver.tap.caldav.CalDAVServiceMaker#info] Setting up scheme: wiki
2009-09-08 17:05:09-0400 [-] [caldav-8011] [-] [calendarserver.tap.caldav.CalDAVServiceMaker#info] Setting up scheme: kerberos
2009-09-08 17:05:09-0400 [-] [caldav-8011] [-] [calendarserver.tap.caldav.CalDAVServiceMaker#info] Setting up scheme: digest
2009-09-08 17:05:09-0400 [-] [caldav-8011] [-] [calendarserver.tap.caldav.CalDAVServiceMaker#info] Setting up document root at: /Library/CalendarServer/Documents/
2009-09-08 17:05:09-0400 [-] [caldav-8011] [-] [calendarserver.tap.caldav.CalDAVServiceMaker#info] Setting up principal collection: <class 'twistedcaldav.directory.principal.DirectoryPrincipalProvisioningResource'>
2009-09-08 17:05:09-0400 [-] [caldav-8011] [-] [calendarserver.tap.caldav.CalDAVServiceMaker#info] Setting up calendar collection: <class 'twistedcaldav.static.CalendarHomeProvisioningFile'>
2009-09-08 17:05:09-0400 [-] [caldav-8011] [-] [calendarserver.tap.caldav.CalDAVServiceMaker#info] Setting up root resource: <class 'calendarserver.provision.root.RootResource'>
2009-09-08 17:05:09-0400 [-] [caldav-8011] [-] [calendarserver.tap.caldav.CalDAVServiceMaker#info] Setting up time zone service resource: <class 'twistedcaldav.static.TimezoneServiceFile'>
2009-09-08 17:05:09-0400 [-] [caldav-8011] [-] [calendarserver.tap.caldav.CalDAVServiceMaker#info] Setting up iMIP inbox resource: <class 'twistedcaldav.mail.IMIPReplyInboxResource'>
2009-09-08 17:05:09-0400 [-] [caldav-8011] [-] [calendarserver.tap.caldav.CalDAVServiceMaker#info] Setting up WebCalendar resource: /usr/share/collaboration
2009-09-08 17:05:09-0400 [-] [caldav-8011] [-] [calendarserver.tap.caldav.CalDAVServiceMaker#info] Setting up WebAdmin resource
2009-09-08 17:05:09-0400 [-] [caldav-8011] [-] [calendarserver.tap.caldav.CalDAVServiceMaker#info] Setting up Timezone Cache
2009-09-08 17:05:09-0400 [-] [caldav-8011] [-] [calendarserver.tap.caldav.CalDAVServiceMaker#info] Configuring authentication wrapper
2009-09-08 17:05:09-0400 [-] [caldav-8011] [-] [calendarserver.tap.caldav.CalDAVServiceMaker#info] Setting up service
2009-09-08 17:05:09-0400 [-] [caldav-8011] [-] [calendarserver.tap.caldav.CalDAVServiceMaker#info] Logging via AF_UNIX: /var/run/caldavd.sock
2009-09-08 17:05:09-0400 [-] [caldav-8011] [-] [calendarserver.tap.caldav.CalDAVServiceMaker#info] Configuring log observer: <twistedcaldav.accesslog.AMPCommonAccessLoggingObserver object at 0x192aa70>
2009-09-08 17:05:09-0400 [-] [caldav-8011] [-] [calendarserver.tap.caldav.CalDAVServiceMaker#info] Adding SSL server at 127.0.0.1:8446
2009-09-08 17:05:09-0400 [-] [caldav-8009] [-] [calendarserver.tap.caldav.CalDAVServiceMaker#info] Adding server at 127.0.0.1:8009
2009-09-08 17:05:09-0400 [-] [caldav-8009] [-] twext.web2.channel.http.HTTP503LoggingFactory starting on 8444
2009-09-08 17:05:09-0400 [-] [caldav-8009] [-] twext.web2.channel.http.HTTP503LoggingFactory starting on 8009
2009-09-08 17:05:09-0400 [-] [caldav-8009] [-] set uid/gid 93/93
2009-09-08 17:05:09-0400 [-] [caldav-8009] [-] AMP connection established (HOST:UNIXSocket(None) PEER:UNIXSocket('/var/run/caldavd.sock'))
2009-09-08 17:05:09-0400 [twistedcaldav.accesslog.AMPLoggingFactory] AMPLoggingProtocol connection established (HOST:UNIXSocket('/var/run/caldavd.sock') PEER:UNIXSocket(''))
2009-09-08 17:05:09-0400 [-] [caldav-8011] [-] [calendarserver.tap.caldav.CalDAVServiceMaker#info] Adding server at 127.0.0.1:8011
2009-09-08 17:05:09-0400 [-] [caldav-8011] [-] twext.web2.channel.http.HTTP503LoggingFactory starting on 8446
2009-09-08 17:05:09-0400 [-] [caldav-8011] [-] twext.web2.channel.http.HTTP503LoggingFactory starting on 8011
2009-09-08 17:05:09-0400 [-] [caldav-8011] [-] set uid/gid 93/93
2009-09-08 17:05:09-0400 [twistedcaldav.accesslog.AMPLoggingFactory] AMPLoggingProtocol connection established (HOST:UNIXSocket('/var/run/caldavd.sock') PEER:UNIXSocket(''))
2009-09-08 17:05:09-0400 [-] [caldav-8011] [-] AMP connection established (HOST:UNIXSocket(None) PEER:UNIXSocket('/var/run/caldavd.sock'))
2009-09-08 17:05:09-0400 [-] [caldav-8012] [-] [calendarserver.tap.caldav.CalDAVServiceMaker#info] Adding server at 127.0.0.1:8012
2009-09-08 17:05:09-0400 [-] [caldav-8012] [-] twext.web2.channel.http.HTTP503LoggingFactory starting on 8447
2009-09-08 17:05:09-0400 [-] [caldav-8012] [-] twext.web2.channel.http.HTTP503LoggingFactory starting on 8012
2009-09-08 17:05:09-0400 [-] [caldav-8012] [-] set uid/gid 93/93
2009-09-08 17:05:09-0400 [-] [caldav-8012] [-] AMP connection established (HOST:UNIXSocket(None) PEER:UNIXSocket('/var/run/caldavd.sock'))
2009-09-08 17:05:09-0400 [twistedcaldav.accesslog.AMPLoggingFactory] AMPLoggingProtocol connection established (HOST:UNIXSocket('/var/run/caldavd.sock') PEER:UNIXSocket(''))
2009-09-08 17:05:09-0400 [-] [caldav-8010] [-] [calendarserver.tap.caldav.CalDAVServiceMaker#info] Adding server at 127.0.0.1:8010
2009-09-08 17:05:09-0400 [-] [caldav-8010] [-] twext.web2.channel.http.HTTP503LoggingFactory starting on 8445
2009-09-08 17:05:09-0400 [-] [caldav-8010] [-] twext.web2.channel.http.HTTP503LoggingFactory starting on 8010
2009-09-08 17:05:09-0400 [-] [caldav-8010] [-] set uid/gid 93/93
2009-09-08 17:05:09-0400 [-] [caldav-8010] [-] AMP connection established (HOST:UNIXSocket(None) PEER:UNIXSocket('/var/run/caldavd.sock'))
2009-09-08 17:05:09-0400 [twistedcaldav.accesslog.AMPLoggingFactory] AMPLoggingProtocol connection established (HOST:UNIXSocket('/var/run/caldavd.sock') PEER:UNIXSocket(''))
2009-09-08 17:05:10-0400 [-] [caldav_task] 2009-09-08 17:05:10-0400 [-] [calendarserver.sidecar.task.CalDAVTaskServiceMaker#info] Setting up document root at: /Library/CalendarServer/Documents/
2009-09-08 17:05:10-0400 [-] [caldav_task] 2009-09-08 17:05:10-0400 [-] [calendarserver.sidecar.task.CalDAVTaskServiceMaker#info] Setting up principal collection: <class 'twistedcaldav.directory.principal.DirectoryPrincipalProvisioningResource'>
2009-09-08 17:05:10-0400 [-] [caldav_task] 2009-09-08 17:05:10-0400 [-] [calendarserver.sidecar.task.CalDAVTaskServiceMaker#info] Setting up calendar collection: <class 'twistedcaldav.static.CalendarHomeProvisioningFile'>
2009-09-08 17:05:10-0400 [-] [caldav_task] 2009-09-08 17:05:10-0400 [-] [calendarserver.sidecar.task.CalDAVTaskServiceMaker#info] Setting up root resource: <class 'calendarserver.provision.root.RootResource'>
2009-09-08 17:05:10-0400 [-] [caldav_task] 2009-09-08 17:05:10-0400 [-] set uid/gid 93/93
2009-09-08 17:27:59-0400 [-] [caldav-8009] [-] AMP connection established (HOST:UNIXSocket(None) PEER:UNIXSocket('/var/run/caldavd-pydir.sock'))
2009-09-08 17:28:36-0400 [-] [caldav-8010] [-] AMP connection established (HOST:UNIXSocket(None) PEER:UNIXSocket('/var/run/caldavd-pydir.sock'))
2009-09-08 17:28:37-0400 [-] [caldav-8011] [-] AMP connection established (HOST:UNIXSocket(None) PEER:UNIXSocket('/var/run/caldavd-pydir.sock'))
2009-09-08 17:28:38-0400 [-] [caldav-8012] [-] AMP connection established (HOST:UNIXSocket(None) PEER:UNIXSocket('/var/run/caldavd-pydir.sock'))
2009-09-08 19:41:03-0400 [-] [caldav-8009] [QueryProtocol,client] [calendarserver.provision.root#warn] Wiki lookup returned ERROR: <Fault 8002: 'Invalid Session: E206C36B-9B1E-4EE9-8FB4-20AAB2460DD1\n\nTraceback (most recent call last):\n File "/usr/share/caldavd/lib/python/twisted/web/http.py", line 720, in requestReceived\n self.process()\n File "/usr/share/caldavd/lib/python/twisted/web/server.py", line 126, in process\n self.render(resrc)\n File "/usr/share/caldavd/lib/python/twisted/web/server.py", line 133, in render\n body = resrc.render(self)\n File "/usr/share/wikid/lib/python/apple xmlrpcserver/WebAppServer.py", line 89, in render\n d = defer.maybeDeferred(function, *args)\n--- <exception caught here> ---\n File "/usr/share/caldavd/lib/python/twisted/internet/defer.py", line 104, in maybeDeferred\n result = f(*args, **kw)\n File "/usr/share/wikid/lib/python/apple xmlrpcserver/WebAppServer.py", line 224, in xmlrpc_userForSession\n user = SessionHandler.sessionHandler().sessionForID(session_id).user\n File "/usr/share/wikid/lib/python/apple_utilities/SessionHandler.py", line 54, in _func\n result = f(self, *args, **kwargs)\n File "/usr/share/wikid/lib/python/apple_utilities/SessionHandler.py", line 184, in sessionForID\n return self. authProvider.avatarForSession(sessionid)\n File "/usr/share/wikid/lib/python/apple_utilities/Authentication.py", line 451, in avatarForSession\n return self.sessionFactory.getSession(sessionId)\n File "/usr/share/wikid/lib/python/apple_utilities/Authentication.py", line 252, in _func\n result = f(self, *args, **kwargs)\n File "/usr/share/wikid/lib/python/apple_utilities/Authentication.py", line 328, in getSession\n raise InvalidSessionError(sessionId)\napple_utilities.Authentication.InvalidSessionEr ror: Invalid Session: E206C36B-9B1E-4EE9-8FB4-20AAB2460DD1\n'>

Sep 9, 2009 3:15 PM in response to GLank

Having similar problems of push not working. Under my iCal Error Log from Server Admin i get a ton of these messages:

2009-09-09 17:11:45-0500 [-] [notifications] 2009-09-09 17:11:45-0500 [XmlStream,client] [twistedcaldav.notify.XMPPNotificationFactory#warn] XMPP disconnected

I have a value of ZERO for "Connected Clients:" under my Push Notification Service.

Sep 10, 2009 1:11 PM in response to GLank

Alright,
I did another fresh install of SLServer. I was able to get Push Notifications working at the server but not on other systems. I am able to manually refresh my iCal on client systems and I see the notifications but for some very strange reason, it isn't pushing. I created a test account on the server, set up iCal on the server for the test account and I can add events on a client system and the Push Notifications work at the server. Push Notification service in Server Admin says I have 2 Connected Clients.

-abartjc

Sep 10, 2009 9:08 PM in response to abartjc

I did a fresh install as well and got the same results as you. My push information in SA is correct now, one instance for mail and one for iCal. I did have to disconnect iCal from the push notifications server because SA said I only had one client connected, which was mail. I reconnected iCal with the push notifications server and SA now says I have 2 connected clients. If I use a test account on the server's iCal app I have push, but not on machines other than the server. My ical on a remote computer says I'm using push, but it doesn't work. This leads me to believe a port might need to be opened. I'm going to play around with it and post my results. Anyone else with info please feel free to post. Any help is greatly appreciated!

Sep 15, 2009 3:23 PM in response to tfredriksson

Here's a shot in the dark since I'm looking into these issues for a client.

What happens with push notifications if you have an active VPN connection while on an outside connection?

This could be tied into the Mobile Access Service that would be running on a second machine. If VPN allows push notifications, then we have a better idea where we stand?

This could also be why apple cut the price of the server software in half. You could have to buy two licenses to run a Mobile Access Server.

-B

Sep 15, 2009 4:11 PM in response to Supreme.B.ing

I have to admit, I thought the same thing. The manual states that the Mobile Access Server is a "always on" connection.

A few people on this board stated the push works fine within the LAN, but not externally. I would be interested to see how the push services would work while using the MAS since it technically is a local connection.

Does anyone on the board have the ability to try?

iCal Server Push?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.