Troubleshooting error 500

Check the following article:
Debugging Server Connect Errors
Here it’s explained how to debug server connect errors.