File upload documents (attachment) timeout error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nunos
    Member
    • Mar 2018
    • 94

    File upload documents (attachment) timeout error

    Hi everyone,

    I have started to have the following problem since a couple of weeks ago (it was working perfectly before)

    When i try to upload a file (1mb) , i get the uploading... info (attached image) and it take ages and the a timeout error is displayed.

    I have tried with several files, always the same error.

    The strangest thing is that if i upload a very small file, like 200kb, no problem, it works.

    No changes has been done to Espo or to the hosting server that i know of.

    Anyone with or had the same problem?

    Nuno
    Attached Files
    Last edited by nunos; 09-30-2022, 02:58 PM.
  • shalmaxb
    Senior Member
    • Mar 2015
    • 1611

    #2
    Could you have a look in Administrator-> System Requirements. There are the last five lines in PHP configuration. Might be, that there is something wrong configured, which would mean it has to be changed on the server.

    Comment

    • esforim
      Active Community Member
      • Jan 2020
      • 2204

      #3
      Dumb question, but check if your Harddrive/Hosting isn't full.

      Try uploading different file type.
      Try uploading it in a default entity and not one of your custom one.

      Comment

      • nunos
        Member
        • Mar 2018
        • 94

        #4
        Checked the Administrator-> System Requirements, everything SUCCESS
        Tried to upload different files types, jpg, png, pdf, same error.
        Tried to upload directly to documents entity, same error.
        Hosting has plenty of free space

        PHP version 7.1.33
        EspoCrm version 5.7.4

        Last edited by nunos; 10-03-2022, 10:06 AM.

        Comment

        • rabii
          Active Community Member
          • Jun 2016
          • 1253

          #5
          you might need to tweak some settings for attachments see https://docs.espocrm.com/administrat...s/#attachments

          under administration/Setting at the bottom there is a section for attachments configuration try to make Upload Chunk Size (Mb)​ = 0 to disable uploading by chunks.
          Rabii
          Web Dev

          Comment

          • esforim
            Active Community Member
            • Jan 2020
            • 2204

            #6
            One more test I suppose would be, try uploading in Stream? If you still fail, I have exhaust all possibility within my limited knowledge.

            By the way, you are not using that AWS/Amazon (something) Storage right?

            Comment

            • nunos
              Member
              • Mar 2018
              • 94

              #7
              Hi all,

              After some unsuccessful tests i have reported the problem to the hosting company and they have make some changes on their side that seems to have solved the problem.

              Not sure what it was but it's working now... i will ask them what was the problem and get back to you so it could help someone with the same problem.

              Comment

              • shalmaxb
                Senior Member
                • Mar 2015
                • 1611

                #8
                Did you ever get an answer from your hosting?

                Comment

                • nunos
                  Member
                  • Mar 2018
                  • 94

                  #9
                  Hi shalmaxb,

                  Sorry for the delay...

                  After some help requests to my hosting, they have updated or changed some setting on the system and the problem was solved. Not really sure what it was

                  Anyway i have now another really strange problem... i will create a new post about it.

                  Thanks guys for your help

                  Comment

                  Working...