As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
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.