Previous 1 2 Next 21 Replies Latest reply: Nov 9, 2009 4:08 PM by DiscoNomad
GLank Level 1 Level 1 (65 points)
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
  • Cyrus Daboo Level 2 Level 2 (230 points)
    Is the Push Notification service running when viewed in Server Admin? What do the logs for that service and the iCal Server show? Any errors?
  • GLank Level 1 Level 1 (65 points)
    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/applexmlrpcserver/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/applexmlrpcserver/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'>
  • GLank Level 1 Level 1 (65 points)
    I deleted my CalDav account in iCal app and tried to add it again. The push option is no longer available, I can only fetch. Push is still running on the server and configured
  • abartjc Level 1 Level 1 (0 points)
    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.
  • GLank Level 1 Level 1 (65 points)
    This is aggravating! Push isn't even possible on iPhones, then doesn't work correctly on iCal. Apple, I bought snow leopard to use it's push functionality and I'm not impressed. I've never had a problem with an Apple product, but this is terrible.

    Any help is greatly appreciated
  • abartjc Level 1 Level 1 (0 points)
    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
  • abartjc Level 1 Level 1 (0 points)
    I too have fallen victim to Apple's very misleading ways. I am able to at least access my calendar from my iPhone, but I am not able to 1 get Push Notifications or 2 accept/decline invitations. Very Very Very misleading here.

    -abartjc
  • GLank Level 1 Level 1 (65 points)
    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!
  • GLank Level 1 Level 1 (65 points)
    Disabled firewall, still no push on remote machines. Why is the server getting push notifications and not other computers?!
  • tfredriksson Level 1 Level 1 (5 points)
    Our SL Server will do push fine. However I've currently only gotten it working inside our lan. Which is pretty useless. Updating calendars and so on work fine both from iphone and ical both internally and externally, but it doesn't push properly so Im guessing that I need to open up more ports.

    Anybody read what ports push need open?
  • Supreme.B.ing Level 1 Level 1 (0 points)
    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
  • sbkeith Level 1 Level 1 (50 points)
    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?
  • eXtremeSG Level 2 Level 2 (245 points)
    Hi,

    I've tested iCal on 10.6 clients (not on Lan), and PUSH works fine, across multiple machines. Email also works fine (although I suspect its using IMAP IDLE).

    So, I believe the Push Notification Server is working fine, ... its just we are waiting for an update on the iPhone to take advantage of it properly.

    Cheers!
  • GLank Level 1 Level 1 (65 points)
    I've got iCal push working on the LAN, but not outside it. The push email works outside the LAN fine. I did a fresh install, with no luck. Is there specific ports that need to be opened up?
Previous 1 2 Next