Jump to content

Recommended Posts

Posted

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: File upload error.jpg

 

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

Posted

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

  • Thanks 1
Posted

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

Posted

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

Posted
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

Posted

Hi Nick,

I get the following when doing the debugging when the upload fails: Debugging.jpg

 

{"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

Posted

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

  • 1 month later...
  • 1 month later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...