I am trting to upload a docx file of 50MB into alfresco repository using a python script that leveraging on opencmis library however, I am getting an error that connection was closed. I have attached the python scipt and the document. The error log is as shown below opencmis
File "C:\Python27\Lib\httplib.py", line 1121, in getresponse
response.begin()
File "C:\Python27\Lib\httplib.py", line 438, in begin
version, status, reason = self._read_status()
File "C:\Python27\Lib\httplib.py", line 394, in _read_status
line = self.fp.readline(_MAXLINE + 1)
File "C:\Python27\Lib\socket.py", line 480, in readline
data = self._sock.recv(self._rbufsize)
socket.error: [Errno 10054] An existing connection was forcibly closed by the remote host
Steps taken so far on Alfresco 5.2 include adding
opencmis.maxContentSize=1024
to algresco global properties file and adding
maxPostSize="1073741824"
to server.xml for tomcat and restarting the service.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.