A XHR response code: 500 is usually an indication that there is an issue with the HTTPS certificate. Make sure you’re using a real certificate and not the self-signed one that comes with the system.
Of course it could mean other things as well. Is there any way that you can provide a screenshot of the JavaScript console log?