Thread:Extension talk:LDAP Authentication/LDAP SSL - works, but eventually results in a 503 service unavaliable error

I currently have the following config, with SSL enabled. It works fine with cleartext, but when enabling ssl, the login procedure takes forever and results in a 503 service unavaliable error. I can tell it is logging in properly, because it gives me my email at the end. Config debug.log