Hi German,

As an experiment, can you try changing the 
org.purl.sword.client.Client#setBasicCredentials 
<https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace-sword/src/main/java/org/purl/sword/client/Client.java#L143>
 
method to 
this https://gist.github.com/tomdesair/82e32ec17365918558b52edf31d2fc40

I've had some trouble before with a SWORDv2 client whose uploads were also 
interrupted. I've solved that problem then by using preemptive 
authentication in the SWORDv2 client 
<https://github.com/milieuinfo/dspace-atmire-swordv2-client/commit/82177fe4943934ebbd8e87195c9d8e29f6a699d1>.
 
The above snippet tries to add preemptive authentication to the SWORDv1 
client. 

 
[image: logo] Tom Desair
250-B Suite 3A, Lucius Gordon Drive, West Henrietta, NY 14586
Gaston Geenslaan 14, Leuven 3001, Belgium
www.atmire.com 
<http://atmire.com/website/?q=services&utm_source=emailfooter&utm_medium=email&utm_campaign=tomdesair>


On Monday, February 5, 2018 at 5:11:26 PM UTC+1, Tim Donohue wrote:
>
> Hi German,
>
> This is the first I've heard of this issue (though I admit, I'm not a 
> regular user of the SWORD client & server, myself). Could you check your 
> logs (DSpace and Tomcat) to see if any errors are being thrown behind the 
> scenes (by either the SWORD client or server)?
>
> https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error
>
> Hopefully if others have seen similar behavior in DSpace 6 (or run SWORD 
> without any issues), they'll also let us know in this thread.
>
> - Tim 
>
> On Mon, Feb 5, 2018 at 9:10 AM Germán Biozzoli <[email protected] 
> <javascript:>> wrote:
>
>> Hi
>>
>> Somebody has experienced problems copying items between instances of 
>> DSpace using SWORD client & sever? It looks like working OK for attachments 
>> less than 4Mb, for attachments greater than this size, the server returns 
>> connection reset. I've checked that
>>
>> sword-server.max-upload-size = 0
>>
>> is set for the server. Could it be a default limit of modern linux 
>> distros? I'm almost sure it was working ok some years ago.
>>
>> DSpace 6.2
>> PostgreSQL 9.6.6
>> Debian 9
>>
>> both instances
>>
>> Regards & thanks in advance
>> German
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
> -- 
> Tim Donohue
> Technical Lead for DSpace & DSpaceDirect
> DuraSpace.org | DSpace.org | DSpaceDirect.org
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to