Also, the CT_API_URL should probably have http:// in front of it. I'm not 100% that is required, but it makes me feel better.