xpages-noob
xpages-noob

Reputation: 1579

Getting "connection was reset" when uploading large files using the file upload control

When I'm trying to upload large files (>10Mb) with a file upload control in my XPages application, I'm always redirected to an error page in my browser, saying "The connection to the server was reset while the page was loading". In the application's xsp.properties file I already set "xsp.upload.maximumsize=128000" which should allow uploads of files with up to 128Mb. However I keep getting the "connection was reset" error. Does anybody know how to fix this problem?

Upvotes: 2

Views: 1478

Answers (1)

Knut Herrmann
Knut Herrmann

Reputation: 30970

In addition to xsp.upload.maximumsize setting you have to set values in Domino Directory in server document in "Internet Protocols..." tab:

Set fields

  • "HTTP" tab / "HTTP Protocol Limits" section / "Maximum size of request content" and
  • "Domino Web Engine" tab / "POST Data" section / "Maximum POST data"

to value 128000 too.

Upvotes: 8

Related Questions