Announcement

Collapse
No announcement yet.

Email Account Test Connection ERROR 500

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Email Account Test Connection ERROR 500

    Hello,

    When i tried to add a a new email account and test connection in our ESPO CRM, I get ERROR 500 in the File Espo.define('views/email-account/fields/test-connection', 'views/fields/base', function (Dep) {}

    I am not sure how to fix this. Can you please help?

  • #2
    Hello
    Error 500 is response from the server.
    Check apache error log and espocrm log (data/logs)

    Comment


    • #3
      Hello tanya

      My ESPO CRM Log

      [2018-03-07 08:20:44] Espo.ERROR: API [POST]:/:controller/action/:action, Params:Array ( [controller] => EmailAccount [action] => testConnection ) , InputData: {"host":"smtp.gmail.com","port":"465","ssl":true," username":"empty.http@gmail.com","password":"***** "} - cannot connect to host ; error = fsockopen(): unable to connect to ssl://smtp.gmail.com:465 (Unknown error) (errno = 0 ) [] []
      [2018-03-07 08:20:44] Espo.ERROR: Display Error: cannot connect to host ; error = fsockopen(): unable to connect to ssl://smtp.gmail.com:465 (Unknown error) (errno = 0 ), Code: 0 URL: /crm/api/v1/EmailAccount/action/testConnection [] []
      [2018-03-07 08:20:56] Espo.ERROR: API [GET]:/:controller/action/:action, Params:Array ( [controller] => EmailAccount [action] => testConnection ) , InputData: - [] []
      [2018-03-07 08:20:56] Espo.ERROR: Display Error: , Code: 400 URL: /crm/api/v1/EmailAccount/action/testConnection [] []
      [2018-03-07 08:21:15] Espo.ERROR: API [POST]:/:controller/action/:action, Params:Array ( [controller] => EmailAccount [action] => testConnection ) , InputData: {"host":"smtp.gmail.com","port":"465","ssl":true," username":"empty.http@gmail.com","password":"***** "} - cannot connect to host ; error = fsockopen(): unable to connect to ssl://smtp.gmail.com:465 (Unknown error) (errno = 0 ) [] []
      [2018-03-07 08:21:15] Espo.ERROR: Display Error: cannot connect to host ; error = fsockopen(): unable to connect to ssl://smtp.gmail.com:465 (Unknown error) (errno = 0 ), Code: 0 URL: /crm/api/v1/EmailAccount/action/testConnection [] []

      Comment


      • #4
        Try to use TLS and port 587 intsead

        Comment

        Working...
        X