Announcement

Collapse
No announcement yet.

Error 500:5.7.8 Authentication failed UGFzc3dvcmQ6,

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

  • Error 500:5.7.8 Authentication failed UGFzc3dvcmQ6,

    Want to start off by saying thanks for all your efforts in developing this outstanding CRM platform! Has provided immense value to our small construction company. The application has been running smoothly for months. However...

    Did something stupid last week. Meant to run sudo apt update and ran upgrade instead. Hosed my server. Did fresh install and restored by data tables. Everything seems to be working ok except unable to send emails via SMTP. Get the error msg listed above.

    System:
    EspoCRM v5.1.2
    mySQL v5.7.21
    php v7.0.28

    Error log excerpt:

    [2018-04-15 15:55:04] Espo.ERROR: EmailAccount 5a5ccb43b645f29b3 (Select Folder) [0] cannot change folder, maybe it does not exist [] []
    [2018-04-15 15:55:51] Espo.ERROR: API [PATCH]:/:controller/:id, Params:Array ( [controller] => Email [id] => 5ad36d2d92f9c19d5 ) , InputData: {"isRead":true,"status":"Sending"} - 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 [] []
    [2018-04-15 15:55:51] Espo.ERROR: Display Error: 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 , Code: 500 URL: /EspoCRM/api/v1/Email/5ad36d2d92f9c19d5 [] []
    [2018-04-15 15:57:07] Espo.ERROR: API [POST]:/:controller, Params:Array ( [controller] => Email ) , InputData: {"status":"Sending","isRead":true,"isImportant":fa lse,"inTrash":false,"folderId":false,"isUsers":fal se,"isHtml":true,"isSystem":false,"isJustSent":fal se,"assignedUserId":"5a4771414e28d2009","assignedU serName":"Eddie Mahiko III","teamsIds":["5a5e3a37ad30ea208"],"teamsNames":{"5a5e3a37ad30ea208":"Team"},"body": "<p><br></p><br><p>Eddie Mahiko</p><p>Mgr., Construction Services</p><p>Larrabee &amp; Associates Inc.</p><p>W: (408) 364-9000</p>","attachmentsIds":[],"attachmentsNames":{},"attachmentsTypes":{},"subj ect":"test","to":"eddie.mahiko@zoho.com","bodyPlai n":"\n\n\n\nEddie Mahiko\n\nMgr., Construction Services\n\nLarrabee & Associates Inc.\n\nW: (408) 364-9000\n\n","from":"eddie@larrabeeandassociates.com" ,"cc":"","bcc":"","parentType":null,"parentName":n ull,"parentId":null,"selectTemplateName":null,"sel ectTemplateId":null} - 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 [] []
    .
    .
    .
    [2018-04-15 16:55:09] Espo.ERROR: EmailAccount 5ad378e0de490be88 (Import Message w/ MailMimeParser): [HY000] SQLSTATE[HY000]: General error: 1366 Incorrect string value: '\xF0\x9F\x94\xB4 S...' for column 'name' at row 1 [] []
    [2018-04-15 17:04:07] Espo.ERROR: EmailAccount 5ad378e0de490be88 (Import Message w/ MailMimeParser): [HY000] SQLSTATE[HY000]: General error: 1366 Incorrect string value: '\xF0\x9F\x92\xA1 L...' for column 'name' at row 1 [] []
    [2018-04-15 17:10:33] Espo.ERROR: API [POST]:/:controller, Params:Array ( [controller] => Email ) , InputData: {"status":"Sending","isRead":true,"isImportant":fa lse,"inTrash":false,"folderId":false,"isUsers":fal se,"isHtml":true,"isSystem":false,"isJustSent":fal se,"assignedUserId":"5a4771414e28d2009","assignedU serName":"Eddie Mahiko III","teamsIds":["5a5e3a37ad30ea208"],"teamsNames":{"5a5e3a37ad30ea208":"Team"},"body": "<p><br></p><br><p>Eddie Mahiko</p><p>Mgr., Construction Services</p><p>Larrabee &amp; Associates Inc.</p><p>W: (408) 364-9000</p>","attachmentsIds":[],"attachmentsNames":{},"attachmentsTypes":{},"to": "eddie@larrabeeandassociates.com","bodyPlain":"\n\ n\n\nEddie Mahiko\n\nMgr., Construction Services\n\nLarrabee & Associates Inc.\n\nW: (408) 364-9000\n\n","subject":"test","from":"eddie@larrabeea ndassociates.com","cc":"","bcc":"","parentType":nu ll,"parentName":null,"parentId":null,"selectTempla teName":null,"selectTemplateId":null} - 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 [] []
    [2018-04-15 17:10:33] Espo.ERROR: Display Error: 5.7.8 Error: authentication failed: UGFzc3dvcmQ6 , Code: 500 URL: /EspoCRM/api/v1/Email [] []

    Deleted personal email setup and readded. When I run test and send email. Says it's successful. However, when I try to reply to incoming email, get the error.

    Any help appreciated...

  • #2
    Hi,

    Try to re-enter and re-save all SMTP passwords. In user preferences and Administration > Outbound Emails.

    Comment


    • sleddie61
      sleddie61 commented
      Editing a comment
      re-entered all email account info/passwords..same error msg...

  • #3
    Have re-entered and re-saved all SMTP passwords for both Admin>Outbound and Personal email account. Still getting error. Could you suggest steps to debug this? Not sure where to look to resolve. Thanks...

    Comment


    • #4
      It's not clear from your post what the error you finaly got.

      Comment


      • #5
        Where to debug: https://github.com/espocrm/espocrm/b...Email.php#L203

        Comment


        • #6
          thank you...will see if i can track it down...

          Comment


          • #7
            Took a different approach to resolving this problem. Wanted to post to hopefully save others some time. Ending up backing up my data using mysqldump, created a new instance of EspoCRM, copying the passwordSALT to the old config.php, then restoring the data into the new instance, replacing the new config.php with the edited old config.php and logging back in. Then ran a test email to verify and found authentication issues were resolved.

            Keep up the good work! Love the application and the value it brings. All the best!

            Comment

            Working...
            X