Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Dimwhit

macrumors 68020
Original poster
Apr 10, 2007
2,069
299
Couldn't decide if I should post this here or in the iPhone forums, but does anyone know if iOS 4 is going to offer better support for AddressBook Server and iCal server? And by 'better' I mean any?
 

pdjudd

macrumors 601
Jun 19, 2007
4,037
65
Plymouth, MN
I don't think that anything has been publicly announced. If it hasn't been publicly announced, then it's still covered by NDA and won't be known until next week when the embargo gets lifted.
 

Dimwhit

macrumors 68020
Original poster
Apr 10, 2007
2,069
299
Thanks pdjudd. I was mostly wondering if someone had heard anything specific. Guess I'll wait another week. :)

iOS 3 already supports CalDAV/iCal Server

But not Snow Leopard Server's implementation of it.
 

Dimwhit

macrumors 68020
Original poster
Apr 10, 2007
2,069
299
I use iCal Server on my Linux server (from macosforge) and I have no problem accessing my calendars from my iPhone. Apple even advertises iPhone support on their website http://www.apple.com/server/macosx/features/ical-server.html
What doesn't work is syncing via iTunes. Your calendars won't be recognized as CalDAV calendars. You have to set them up manually.

Hmm. I forgot that it's supposed to be supported. It won't let me log on with my iPhone like i'm supposed to, though.

It's actually AddressBook Server that hurts the most. I really need that functionality.

Still, I'll have to work on the calendar part. Don't know why it won't work.
 

Cenobite

macrumors newbie
Sep 8, 2009
28
8
Germany
try adding the port number to your server address on your iPhone like this:

example.com:8008
or
example.com:8443 (for SSL encryption)

I have to do this because my server uses non-standard ports and I have no problems logging in.
 

Dimwhit

macrumors 68020
Original poster
Apr 10, 2007
2,069
299
Weird, when I add the port number, it removes it before it will try to connect me.

There is a port number in the advanced settings, and it's showing 8008. But I can't put it after the address.
 

Cenobite

macrumors newbie
Sep 8, 2009
28
8
Germany
the phone removes the port number but puts it into the advanced tab, i guess (happens for me, too).
You can also test if the phone actually able to connect server by simply using your browser. Just browse to http://example.com:8008 or https://example.com:8443. A username/password dialog should pop up. If you are able to log in you can at least be sure it is not a networking problem or a wrong username or password.
 

Dimwhit

macrumors 68020
Original poster
Apr 10, 2007
2,069
299
the phone removes the port number but puts it into the advanced tab, i guess (happens for me, too).
You can also test if the phone actually able to connect server by simply using your browser. Just browse to http://example.com:8008 or https://example.com:8443. A username/password dialog should pop up. If you are able to log in you can at least be sure it is not a networking problem or a wrong username or password.

Cool trick! Didn't think of that. I am able to log in, so at least I know I'm using the right username/password and the server is working. Thanks!
 

Estrates

macrumors newbie
Aug 28, 2008
20
0
As per my reply on apples support forums.

I can confirm with GM iOS it supports mac osx server much better now, iCal, AddressBook, CardAV and CalDAV.

It also supports Gmail all in one rather than syncing and adding and exchange account.

I just wish we could sync files now with the Server, unless Im missing something on that end.

iOS is far more superior now...
 

Cenobite

macrumors newbie
Sep 8, 2009
28
8
Germany
Cool trick! Didn't think of that. I am able to log in, so at least I know I'm using the right username/password and the server is working. Thanks!

Well, I'm slowly running out of ideas why it won't work on your phone :(
Does it work with iCal? Maybe you need to create a calendar for your user first.
Here are some instructions on how to setup CalDAV for various clients: http://trac.calendarserver.org/wiki/CalendarClients. Maybe you missed a step in the setup process.
 

Dimwhit

macrumors 68020
Original poster
Apr 10, 2007
2,069
299
Well, I'm slowly running out of ideas why it won't work on your phone :(
Does it work with iCal? Maybe you need to create a calendar for your user first.
Here are some instructions on how to setup CalDAV for various clients: http://trac.calendarserver.org/wiki/CalendarClients. Maybe you missed a step in the setup process.

I already have calendars set up. I use iCal Server in the office already. All our MacBooks/MacBookPros can connect up to it fine, and we've used it for a while.

But for whatever reason, our phones just won't connect. I'm going to see if iOS 4 clears it up next week. Otherwise, I guess it's a call to Apple to see what the problem is.

Thanks for the help, though!
 

Dimwhit

macrumors 68020
Original poster
Apr 10, 2007
2,069
299
OK, so after I posted that I tried going to my server using Safari (like you suggested), but on my phone. (I just tried from my laptop before). My computer gets to it fine, even from outside our office network, but my phone won't when I'm connected to our wi-fi network.

So I turned off wi-fi on the phone and, lo and behold, I was able to set up the calendar on my phone!

So I guess the next question is, why can't my phone access my network via the outside url from within my network? My computer can. Gotta be a DNS setting somewhere, I suppose, but the DNS settings within my network should be fine.

Edit: And it doesn't look like you can view delegate calendars on the iPhone, right? I'm not seeing any of them, anyway.
 

Cenobite

macrumors newbie
Sep 8, 2009
28
8
Germany
OK, so after I posted that I tried going to my server using Safari (like you suggested), but on my phone. (I just tried from my laptop before). My computer gets to it fine, even from outside our office network, but my phone won't when I'm connected to our wi-fi network.

So I turned off wi-fi on the phone and, lo and behold, I was able to set up the calendar on my phone!

I'm glad it finally worked :)
So I guess the next question is, why can't my phone access my network via the outside url from within my network? My computer can. Gotta be a DNS setting somewhere, I suppose, but the DNS settings within my network should be fine.

It's hard to tell without knowing your network configuration. Could be a NAT/port forwarding or firewall problem. Do you use the same Wifi for your Macbook?

Edit: And it doesn't look like you can view delegate calendars on the iPhone, right? I'm not seeing any of them, anyway.

That might be. I never used the more advanced features of CalDAV, but I have heard that there a some limitations on the iPhone.
 

Dimwhit

macrumors 68020
Original poster
Apr 10, 2007
2,069
299
It's hard to tell without knowing your network configuration. Could be a NAT/port forwarding or firewall problem. Do you use the same Wifi for your Macbook?

Yeah, my MBP is on the same network and hits it just fine. That's why I'm so confused about it. I did change the DNS server in my Network settings on my Mac, so I'm guessing my phone is having problems on that end. But far as I know, you can't put in a custom DNS server on an iPhone. But within my network, the DNS server is handled through 192.168.0.3. If my phone is hitting the wrong internal ip for DNS (the .0.3 is, I believe, my AEBS), then I guess it makes sense it can't see it.

That might be. I never used the more advanced features of CalDAV, but I have heard that there a some limitations on the iPhone.

I googled a bit and found a workaround for the delegates. Not pretty, but it works fine.
 

Dimwhit

macrumors 68020
Original poster
Apr 10, 2007
2,069
299
OK, apparently, you CAN change the DNS settings on the iPhone, which I did. Everything works great! For iCal Server, anyway. Here's to hoping AddressBook server is, in fact, supported with iOS 4

Thanks for the help, Cenobite!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.