Invalid content length on app package

Discussions about syncing data via Bluetooth, Dropbox, FTP, and using CSWeb
Forum rules
New release: CSPro 8.0
Post Reply
wesnich
Posts: 11
Joined: June 5th, 2019, 11:16 pm

Invalid content length on app package

Post by wesnich »

We've installed CSWeb 7.7.0 on a new server. Testing it out by uploading applications and we are receiving 403 errors with the message "Invalid content length on app package". Seeing the same thing in the api logs.

[2022-09-12 22:40:05] app.ERROR: Invalid content length on app packageTHIS 2022-2023 Survey Form - v.117 [] []
[2022-09-12 22:57:13] app.ERROR: Invalid content length on app packageTHIS 2022-2023 Listing Form - v205 [] []

Any idea what might be causing this?

It seems the action eventually completes though slowly. Are there any recommendations for memory and cpu for CSWeb?
savy
Posts: 159
Joined: December 27th, 2012, 1:36 pm

Re: Invalid content length on app package

Post by savy »

This error can occur when the server does not recieve all the bytes that it is supposed to get from the client. It appears that this is more of an issue of the client having slow internet speeds. This issue does not seem to be related to your server performance. Unless you are running CSWeb for a Census or a very large survey, any server that can run a Linux/Windows with PHP and MySQL should be able to perform fine.
Post Reply