lafleur1977 Posted July 11, 2014 Posted July 11, 2014 Hello, I am having a problem with our new installation of HAP v10. When testing uploading of documents I have noticed that documents above the size of 30 MB fail to upload. Anything less than 30 MB is fine. See attached error: Has anyone seen this before? I have read up and checked the webconfig file and the file upload limit is set to 2 GB as far as I can see. Thanks
nickbro Posted July 11, 2014 Posted July 11, 2014 Hmm that's an odd one, I uploaded a 150mb file last week and it uploaded fine, apart from the upload progress sticking 1
lafleur1977 Posted July 14, 2014 Author Posted July 14, 2014 Is there a file size upload limit? Is there anything I can check in order to troubleshoot the problem? Thanks
lafleur1977 Posted July 18, 2014 Author Posted July 18, 2014 Hi Nick, Any ideas what might be causing this? This could be a big limitation for me. Any suggestions would be appreciated. Thanks
nickbro Posted July 18, 2014 Posted July 18, 2014 The upload file size is in the web.config file, and it's set to around the 2gb mark. Does your hap go through a reverse proxy, it could be that which is cancelling the upload 1
lafleur1977 Posted July 21, 2014 Author Posted July 21, 2014 Checked the web.config file and it does appear to be set to 2GB roughly. I don't think it goes through a reverse proxy but would need to check with our ISP. As a test I disabled the proxy settings in the browser and tried a 30 MB upload which failed. I checked the event logs on the server and found the following error: An error occurred in Home Access Plus+ Page: HAP.Web.API.MyPic Creating Directory Search and Searching for then current user Using filter: (&(objectClass=user) (sAMAccountName=user)) Found 1 results, processing 1st result Found 0 thumnbnailPhotos However, this only seems to occur when a user has logged on and not when the file fails to upload. Possibly related or a red herring? Thanks
fairm010 Posted July 21, 2014 Posted July 21, 2014 I believe that error appears when the user has no AD picture and that is HAP telling you so. 1
lafleur1977 Posted July 22, 2014 Author Posted July 22, 2014 Could the server specification be causing the issue at all? I have it set up as a VM with 4 GB memory and 1 virtual CPU. What are the recommended spec's? Thanks
fairm010 Posted July 22, 2014 Posted July 22, 2014 I run HAP and our school website on a VM with 4GB RAM and 2 vcores. Works no problem at all. I'd say most likely the ISP is reverse proxying. 1
lafleur1977 Posted July 22, 2014 Author Posted July 22, 2014 I run HAP and our school website on a VM with 4GB RAM and 2 vcores. Works no problem at all. I'd say most likely the ISP is reverse proxying. Even though I disabled the proxy settings and uploads below 30MB work? Thanks
fairm010 Posted July 23, 2014 Posted July 23, 2014 Do you experience the same both on and off site? 1
lafleur1977 Posted July 23, 2014 Author Posted July 23, 2014 Yes, the problem is occurring on and offsite. Thanks
nickbro Posted July 23, 2014 Posted July 23, 2014 Which uploader are you using? Drag and Drop, single upload, or the multi upload box? If it's the 1st two, please try doing some http://www.edugeek.net/forums/home-access-plus/86059-hap-json-debugging.html, to see if it's giving a reason it's failing. 1
lafleur1977 Posted July 23, 2014 Author Posted July 23, 2014 Hi Nick, I get the following when doing the debugging when the upload fails: {"Actions":0,"Contents":null,"DateAccessed":null,"DateCreated":null,"DateModified":null,"Extension":null,"Icon":"..\/images\/icons\/folder.png","Location":"A\\","Name":"My Documents","Permissions":{"AppendData":true,"CreateDirs":true,"CreateFiles":true,"Delete":true,"DeleteSubDirsOrFiles":true,"Execute":true,"FullControl":true,"ListDirs":true,"Modify":true,"ReadAttr":true,"ReadData":true,"ReadExAttr":true,"ReadExecute":true,"Traverse":true,"Write":true,"WriteAttr":true,"WriteData":true,"WriteExAttr":true},"Size":null,"Type":"File Folder"} and also: {"Actions":0,"Contents":null,"DateAccessed":null,"DateCreated":null,"DateModified":null,"Extension":null,"Icon":null,"Location":null,"Name":null,"Permissions":null,"Size":null,"Type":null} Thanks
nickbro Posted July 23, 2014 Posted July 23, 2014 Ok, it's saying it was aborted, sounds like the page was refreshed or navigated away from while it was uploading 1
lafleur1977 Posted July 24, 2014 Author Posted July 24, 2014 The page isn't being refreshed unless its happening in the background somehow. The file upload fails straight away. Is there anything else I can do to further narrow it down? Thanks
lafleur1977 Posted August 28, 2014 Author Posted August 28, 2014 Hi Nick, I am still having this problem. Do you have any further suggestions as to what may be causing it? Thanks
lafleur1977 Posted October 17, 2014 Author Posted October 17, 2014 Finally resolved this after seeing your reply to the following post: http://www.edugeek.net/forums/home-access-plus/143725-404-error-uploading-files-over-35mb.html Cheers
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now