my five cents worth, i have had the same problem. brand new server with sme 9 - server gateway mode
i didn't solve the problem but found this.
When i did the first install the roundcube v 1.0 it worked fine, but after about 5 or 6 logins with diferent users it stopped working,
the log files showed the connection to the address book failed. Uninstalled and re-installed made no difference.
Re-formatted the server and reinstalled roundcube, worked same as above but eventauly failed. After about 5 times re-formatting and about a week trying to get it working i gave up and ran the Horde 5.2 upgrade and works like a charm
thanks