chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rafa Haro (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CMIS-961) Connection reset by peer when trying to upload a document over 2M to Alfresco 5.0.d
Date Fri, 20 May 2016 12:09:12 GMT

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

Rafa Haro commented on CMIS-961:
--------------------------------

Hi all,

We have experimented this very same problem both with Alfresco and Nuxeo at the server side.
Extensively googling about this, I have found others developers with a similar problem (authorization
header missing) when using urllib2 HTTPPasswordMgrWithDefaultRealm authentication manager
which is the one used at cmislib version 0.5.1. This question at stackoverflow can be used
as a reference: http://stackoverflow.com/questions/2407126/python-urllib2-basic-auth-problem.
In this case, the only solution was to statically inject the authentication header in the
request. 

We will test this and let you know the results

> 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