Problem
User gets one of these errors:
- E07777 - Upload error: Could not upload file: 'C:\Users\...'
- PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
- HTTP-ERROR: 500 - (Internal Server Error)
- Could not close streams. java.io.IOException: Server returned HTTP response code: 500 for URL
- ODBC State S1000; Error Code -10807
- Could not close streams. java.io.IOException: Server returned HTTP response code: 500 for URL
- HTTP-ERROR: 413 - Request Entity Too Large
- HTTP/1.1 413 Request Entity Too Large
- Server: Microsoft-IIS/10.0
Solution
General
- Do the analysis of How to analyze http checkout error 404 or 500 (E30080, E30078) to check not working content or cache server.
- A 500 error is often returned from the cache server if the content server can not be reached.
- The error "Error Stream Closed transferring file" is often returned from content server because of firewall - or network security restrictions.
- Component for Content Server issues: BC-SRV-KPR-CS. Needed information for creating an incident:
- OS, Content Server version, Content Server Patch level of the Content Server installation.
- Attach a copy of the ContentServer.ini / cs.conf file.
- (Windows only) attach the ODBC trace: See 1405031 - Generate ODBC trace on Windows
PKIX path building failed
The error "sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target" happens usually if you are using a self signed certificate that is signed by itself rather than a trusted authority.
The self signed certificat is not "trusted" by the JVM of ECTR (<ECTR>\basis\sys\win\jre64\lib\security).
=> Don't manipulate cacert of JRE, use an official CA signed certificate for your content server instead!
HTTP/1.1 413 Request Entity Too Large
See 2406369 - How to change the size limitation in IIS (Internet Information Services)