Cron Error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ziondevil
    Member
    • Jun 2016
    • 30

    #1

    Cron Error

    Hi i'm getting this on log file


    [2016-09-01 11:59:51] Espo.ERROR: CronManager: Failed job running, job [57c8169d6c7a267b8]. Error Details: Job CheckEmailAccounts 57c80bd9996daa14a: [0] Invalid header value detected [] []
  • yuri
    EspoCRM product developer
    • Mar 2014
    • 9679

    #2
    Hi,

    Hope this will be fixed in the next release. This means it could not retrieve particular email from imap. It also can be that email is not properly formatted.

    Comment

    • ziondevil
      Member
      • Jun 2016
      • 30

      #3
      It's odd because yesterday everything was fine. Until i remove all of my email and clean the database.

      Today i setup all of the data host, webmail and pass.

      And i can't get any emails.

      Comment

      • yuri
        EspoCRM product developer
        • Mar 2014
        • 9679

        #4
        1. Can you check what's in Admininstration > Scheduled Jobs > Check Personal Email Accounts > Log?
        2. What version of EspoCRM?

        Thanks
        Last edited by yuri; 09-01-2016, 05:15 PM.

        Comment

        • ziondevil
          Member
          • Jun 2016
          • 30

          #5
          it's a group email account.

          Name
          Check Group Email Accounts
          Status
          Success
          Execute At
          Today 10:50
          Attempts Left
          3
          Created At
          Today 10:50
          Failed Attempts
          None
          Modified At
          Today 10:52
          Scheduled Job
          Check Group Email Accounts
          Service
          Method
          CheckInboundEmails
          Data
          null

          4.2.4

          Comment

          • yuri
            EspoCRM product developer
            • Mar 2014
            • 9679

            #6
            But error in log related to Personal Email Account? You re still getting the same error?

            Comment

            • ziondevil
              Member
              • Jun 2016
              • 30

              #7
              It's odd because i setup up the same email in both personal and group email account and in the personal i get that error but in the group email i don't have any type of error.


              Comment

              • ziondevil
                Member
                • Jun 2016
                • 30

                #8
                Still have the same error i think the problem is from zend framework.


                [2016-09-01 11:59:51] Espo.ERROR: CronManager: Failed job running, job [57c8169d6c7a267b8]. Error Details: Job CheckEmailAccounts 57c80bd9996daa14a: [0] Invalid header value detected

                Do you have any workaround?

                http://stackoverflow.com/questions/3...nd-mail-storag

                Comment

                • yuri
                  EspoCRM product developer
                  • Mar 2014
                  • 9679

                  #9
                  I have no clue how this error can occur. It must be caught by try {} catch () {} according code. Except for that the error occurs during connecting to IMAP and trying to fetch ids of emails $ids = $storage->getIdsFromUID($lastUID);

                  application/Espo/Services/EmailAccount.php function
                  fetchFromMailServer

                  Comment

                  • ziondevil
                    Member
                    • Jun 2016
                    • 30

                    #10
                    Still have the same error


                    [2016-09-05 11:40:10] Espo.ERROR: CronManager: Failed job running, job [57cd586581fbcd426]. Error Details: Job CheckEmailAccounts 57cd57a7a338c14cd: [0] Invalid header value detected [] []
                    [2016-09-05 11:40:10] Espo.ERROR: CronManager: empty Job entity [57cd5865a5a804518]. [] []

                    Comment

                    • yuri
                      EspoCRM product developer
                      • Mar 2014
                      • 9679

                      #11
                      Did you try to create new Email Account with "fetch since" = today?
                      Error occurs with Personal Email Account rather than Group. According your log message.

                      Comment

                      • ziondevil
                        Member
                        • Jun 2016
                        • 30

                        #12
                        yes....

                        Fetch since today and still gives me the same error

                        Comment

                        • ziondevil
                          Member
                          • Jun 2016
                          • 30

                          #13
                          any way to see more detailed log?

                          Comment

                          • yuri
                            EspoCRM product developer
                            • Mar 2014
                            • 9679

                            #14
                            The most efficient way is to disable cron and run cron.php manually
                            php cron.php

                            debug
                            application/Espo/Services/EmailAccount.php fetchFromMailServer

                            Comment

                            Working...