Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SOLVED Upload always stuck on 99%

Discussion in 'General Discussion' started by rhe6a, Sep 13, 2017.

Tags:
  1. rhe6a

    rhe6a Registered

    Joined:
    Apr 25, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    I have 7 VPS CENTOS 6.9 virtuozzo and all have the same setting...
    and all have the same problem with uploading issue, i dont know what is wrong with it... its my server configuration or security issue... all upload process always stuck on 99% and never sucess. its happen in few weeks.

    and I am using this plugins on my server:
    CSF, MODSec, ClamAV, RKHunter, Maldetect, ENGINTRON or ntPHPselector

    is there any suggest what i should do and start from ?

    Thanks for advice
     

    Attached Files:

  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Do you notice any output to /usr/local/cpanel/logs/error_log when uploading a file?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. rhe6a

    rhe6a Registered

    Joined:
    Apr 25, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I check it and found 2 lines related to my upload activity

    [2017-09-15 09:33:46 +0700] info [cpaneld] Request Timeout: "POST /cpsess8783553275/execute/Fileman/upload_files HTTP/1.1" 408 Your request could not be processed during the allowed timeframe.
    [2017-09-15 09:48:31 +0700] info [cpaneld] User , userpro.zip upload failed due to EOF.

    seems its stuck and freeze, but it's work for small size files

    no idea whats wrong... maybe from ClamAV, rkhunter or other files scaner monitor or from upload size limitation

    any suggest ?
     

    Attached Files:

    #3 rhe6a, Sep 14, 2017
    Last edited: Sep 14, 2017
  4. rhe6a

    rhe6a Registered

    Joined:
    Apr 25, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    around the world with millions cpanel users... it's only me who get this error ?
    its make me frustrating who make me cant import my backup with file manager and phpmyadmin...

    any help from the expert will be appreciated
     
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Could you open a support ticket using the link in my signature so we can take a closer look?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. rhe6a

    rhe6a Registered

    Joined:
    Apr 25, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    SOLVED...

    I just change permission for this both directory
    chmod 1777 /tmp
    chmod 1770 /var/cpanel/secdatadir
    and everything is back to normal now

    Thanks
     
  7. nunoleite

    nunoleite Well-Known Member

    Joined:
    Jun 4, 2007
    Messages:
    55
    Likes Received:
    1
    Trophy Points:
    158
    Hi!

    I'm having the same problem.
    After changing chmod for those 2 folders i can upload a file with 25mb, but after that i can't upload anymore. It just stays stuck at 99%.
    If the files have less than 8mb it works, but more than that, it stops at 99%.

    I'm not sure because i don't do lot's of uploads, but i think with version 66 it was working and now with version 68 i'm having this problem.

    Thanks
     
  8. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Do you notice any output to /usr/local/cpanel/logs/error_log when this happens?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. nunoleite

    nunoleite Well-Known Member

    Joined:
    Jun 4, 2007
    Messages:
    55
    Likes Received:
    1
    Trophy Points:
    158
    Hi!
    I have tried some files to test.

    TeamViewerPortable.zip = 25MB
    cdu.zip = 261MB

    [2017-11-27 02:43:21 +0000] info [cpaneld] Request Timeout: "POST /cpsess4412023736/execute/Fileman/upload_files HTTP/1.1" 408 Your request could not be processed during the allowed timeframe.
    [2017-11-27 02:54:50 +0000] info [cpaneld] User , TeamViewerPortable.zip upload failed due to EOF.
    [2017-11-27 03:08:42 +0000] info [cpaneld] User , cdu.zip upload failed due to EOF.
    [2017-11-27 03:12:43 +0000] info [cpaneld] User , TeamViewerPortable.zip upload failed due to EOF.

    Thanks
     
  10. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    It looks like your upload attempt is timing out. This could be due to a slow connection, or a network issue that's preventing the file from uploading before reaching the timeout value (300 seconds). I recommend uploading larger files (e.g. 25MB+) using FTP instead of File Manager.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. nunoleite

    nunoleite Well-Known Member

    Joined:
    Jun 4, 2007
    Messages:
    55
    Likes Received:
    1
    Trophy Points:
    158
    Hi!
    I think that's not the problem, as it used to work. And i have a good upload speed.
    I could easily upload using file manager for example joomla installation files (13mb) and then expand to install joomla, now they are failing and not completing the upload. They Stop at 99%.
    If i upload a file below 8mb is ok, but more than that they stuck at 99%.
    If do the chmod that i said before the first upload works, then after that they don't work anymore.
    I just made a test upload with a file with 104MB it took 130 seconds to get to 99%.
    Tried another file with 25MB it took 30seconds and get stuck at 99%.
    So, that's not the problem.

    Screenshot:
    upload_2017-11-28_22-44-33.png

    Hi!
    All these files reported:
    [2017-11-28 22:42:43 +0000] info [cpaneld] Request Timeout: "POST /cpsess5422801143/execute/Fileman/upload_files HTTP/1.1" 408 Your request could not be processed during the allowed timeframe.
    Unless this is not 300seconds, but a lot less.
    Where can i check that number?
     
    #11 nunoleite, Nov 28, 2017
    Last edited by a moderator: Dec 4, 2017
  12. nunoleite

    nunoleite Well-Known Member

    Joined:
    Jun 4, 2007
    Messages:
    55
    Likes Received:
    1
    Trophy Points:
    158
    Hi!
    These are the access_logs if it can help:

    Code:
    xx.xx.xx.xx - coalbatr [11/28/2017:22:26:24 -0000] "POST /cpsess5422801143/execute/Fileman/upload_files HTTP/1.1" 408 0 "https://server.xxx.com:2083/cpsess5422801143/frontend/paper_lantern/filemanager/upload-ajax.html?file=&fileop=&dir=%2Fhome%2Fcoalbatr%2Fpublic_html%2Fteste&dirop=&charset=&file_charset=&baseurl=&basedir=" "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:56.0) Gecko/20100101 Firefox/56.0" "s" "-" 2083
    
    xx.xx.xx.xx - coalbatr [11/28/2017:22:39:49 -0000] "POST /cpsess5422801143/execute/Fileman/upload_files HTTP/1.1" 200 0 "https://server.xxx.com:2083/cpsess5422801143/frontend/paper_lantern/filemanager/upload-ajax.html?file=&fileop=&dir=%2Fhome%2Fcoalbatr%2Fpublic_html%2Fteste&dirop=&charset=&file_charset=&baseurl=&basedir=" "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:56.0) Gecko/20100101 Firefox/56.0" "s" "-" 2083
    
    xx.xx.xx.xx - coalbatr [11/28/2017:22:36:10 -0000] "POST /cpsess5422801143/execute/Fileman/upload_files HTTP/1.1" 408 0 "https://server.xxx.com:2083/cpsess5422801143/frontend/paper_lantern/filemanager/upload-ajax.html?file=&fileop=&dir=%2Fhome%2Fcoalbatr%2Fpublic_html%2Fteste&dirop=&charset=&file_charset=&baseurl=&basedir=" "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:56.0) Gecko/20100101 Firefox/56.0" "s" "-" 2083
    
    xx.xx.xx.xx - coalbatr [11/28/2017:22:40:16 -0000] "POST /cpsess5422801143/execute/Fileman/upload_files HTTP/1.1" 408 0 "https://server.xxx.com:2083/cpsess5422801143/frontend/paper_lantern/filemanager/upload-ajax.html?file=&fileop=&dir=%2Fhome%2Fcoalbatr%2Fpublic_html%2Fteste&dirop=&charset=&file_charset=&baseurl=&basedir=" "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:56.0) Gecko/20100101 Firefox/56.0" "s" "-" 2083
    
    
     
    #12 nunoleite, Nov 28, 2017
    Last edited by a moderator: Dec 4, 2017
  13. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Could you open a support ticket using the link in my signature so we can take a closer look?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. nunoleite

    nunoleite Well-Known Member

    Joined:
    Jun 4, 2007
    Messages:
    55
    Likes Received:
    1
    Trophy Points:
    158
    Hi!
    Ok, i will do that.
    Thanks
     
  15. nunoleite

    nunoleite Well-Known Member

    Joined:
    Jun 4, 2007
    Messages:
    55
    Likes Received:
    1
    Trophy Points:
    158
    Hi!
    Just do close this i will put here the conclusion of the ticket.
    With the help of cPanel support and after a lot of tests with other browsers and my Firefox, i found that the problem is related with an extension.
    The extension for Firefox is Check4Change (C4C).
    When this extension is enabled the problem happens, when the extension is disabled the upload finishes even with files with 100MB or 400MB.
    I already send a bug report to the extension developer so they know whats happening.
    Maybe this could help others with the same problem.
    Thanks
     
    Infopro likes this.
  16. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    I'm glad to see the issue is now solved. Thank you for updating us with the outcome.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice