chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Ligtenberg (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CMIS-961) Connection reset by peer when trying to upload a document over 2M to Alfresco 5.0.d
Date Sun, 13 Dec 2015 20:37:46 GMT

    [ https://issues.apache.org/jira/browse/CMIS-961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15054998#comment-15054998
] 

Willem Ligtenberg edited comment on CMIS-961 at 12/13/15 8:36 PM:
------------------------------------------------------------------

ok, I think this observation deserves a new comment.
It appears to only be triggered when called using localhost.
I have checked and the test also seem to be run on localhost, so that might explain why you
also get the error.
The question then remains, why does it work from a different machine and not from the localhost...

Some SO posts that might be interesting:
http://stackoverflow.com/questions/7012227/python-urllib-and-urllib2-not-opening-localhost-urls
http://stackoverflow.com/questions/201515/urllib-urlopen-works-but-urllib2-urlopen-doesnt


was (Author: wligtenberg):
ok, I think this observation deserves a new comment.
It appears to only be triggered when called using localhost.
I have checked and the test also seem to be run on localhost, so that might explain why you
also get the error.
The question then remains, why does it work from a different machine and not from the localhost...

> Connection reset by peer when trying to upload a document over 2M to Alfresco 5.0.d
> -----------------------------------------------------------------------------------
>
>                 Key: CMIS-961
>                 URL: https://issues.apache.org/jira/browse/CMIS-961
>             Project: Chemistry
>          Issue Type: Bug
>          Components: python-cmislib
>    Affects Versions: cmislib 0.5.1
>         Environment: Alfresco 5.0.d community edition on an Ubuntu 14.04 LTS based system.
>            Reporter: Willem Ligtenberg
>            Assignee: Jeff Potts
>         Attachments: Sample-Bigish.pdf, Sample-Smallish.pdf
>
>
> Using Alfresco 5.0.a I was able to store large data files (up to 250M tested) in Alfresco
using:
> doc = repo.createDocument(remoteFile, props, folder, localFile, properties['contentType'],
None)
> Now, small files work, but any file larger than 2M fails.
> Uploading the same file using CMIS Workbench works fine.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message