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

Karam edited comment on CMIS-863 at 10/29/14 8:19 AM:
------------------------------------------------------

Here is a link to the file : 
http://sherpa.kalilog.fr/download.ashx?FID=72d53ef0a6974ea4883b2e6af2f5aa52781abdd872da4ad994f89c1dfac892c7&CRC=265e70737e6d4018b66871d513150d75039adfa3a83c46a79d031e8920610517

I"ve tried with CMIS Workbench on the AtomPub connector and the upload (that 
was failing via DotCMIS) has worked.

Here is the .NET stack trace :

2014-10-28 16:32:43,613 [6] ERROR CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder 
[(null)] - Could not upload file: evinc.msi
DotCMIS.Exceptions.CmisConnectionException: Cannot access 
https://xxx/Alfresco/cmisatom/85f01a87-4402-43c5-b18f-d1b0286b81c5/children?id=workspace://SpacesStore/98e634ee-9291-4fe2-bca9-672f64ba6e61:
 La demande a été abandonnée : La demande a été annulée. ---> 
System.Net.WebException: La demande a été abandonnée : La demande a été annulée.
   à System.Net.ConnectStream.InternalWrite(Boolean async, Byte[] buffer, Int32 
offset, Int32 size, AsyncCallback callback, Object state)
   à System.Net.ConnectStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   à System.Xml.XmlUtf8RawTextWriter.FlushBuffer()
   à System.Xml.XmlUtf8RawTextWriter.WriteRawWithCharChecking(Char* pSrcBegin, 
Char* pSrcEnd)
   à System.Xml.XmlUtf8RawTextWriter.WriteRaw(Char[] buffer, Int32 index, Int32 
count)
   à System.Xml.XmlRawWriterBase64Encoder.WriteChars(Char[] chars, Int32 index, 
Int32 count)
   à System.Xml.Base64Encoder.Encode(Byte[] buffer, Int32 index, Int32 count)
   à System.Xml.XmlRawWriter.WriteBase64(Byte[] buffer, Int32 index, Int32 
count)
   à System.Xml.XmlWellFormedWriter.WriteBase64(Byte[] buffer, Int32 index, 
Int32 count)
   à DotCMIS.Binding.AtomPub.AtomEntryWriter.WriteContent(XmlWriter writer)
   à DotCMIS.Binding.AtomPub.AtomEntryWriter.Write(Stream outStream)
   à DotCMIS.Binding.Impl.HttpUtils.Invoke(UrlBuilder url, String method, 
String contentType, Output writer, BindingSession session, Nullable`1 offset, 
Nullable`1 length, IDictionary`2 headers)
   --- Fin de la trace de la pile d'exception interne ---
   à DotCMIS.Binding.Impl.HttpUtils.Invoke(UrlBuilder url, String method, 
String contentType, Output writer, BindingSession session, Nullable`1 offset, 
Nullable`1 length, IDictionary`2 headers)
   à DotCMIS.Binding.Impl.HttpUtils.InvokePOST(UrlBuilder url, String 
contentType, Output writer, BindingSession session)
   à DotCMIS.Binding.AtomPub.AbstractAtomPubService.Post(UrlBuilder url, String 
contentType, Output writer)
   à DotCMIS.Binding.AtomPub.ObjectService.CreateDocument(String repositoryId, 
IProperties properties, String folderId, IContentStream contentStream, 
Nullable`1 versioningState, IList`1 policies, IAcl addAces, IAcl removeAces, 
IExtensionsData extension)
   à DotCMIS.Client.Impl.Session.CreateDocument(IDictionary`2 properties, 
IObjectId folderId, IContentStream contentStream, Nullable`1 versioningState, 
IList`1 policies, IList`1 addAces, IList`1 removeAces)
   à DotCMIS.Client.Impl.Folder.CreateDocument(IDictionary`2 properties, 
IContentStream contentStream, Nullable`1 versioningState, IList`1 policies, 
IList`1 addAces, IList`1 removeAces, IOperationContext context)
   à DotCMIS.Client.Impl.Folder.CreateDocument(IDictionary`2 properties, 
IContentStream contentStream, Nullable`1 versioningState)
   à CmisSync.Lib.Sync.CmisRepo.SynchronizedFolder.UploadFile(String filePath, 
IFolder remoteFolder)
2014-10-28 16:32:43,658 [6] ERROR CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder 
[(null)] - Could not crawl sync local file: 
C:\Users\abaudin\CmisSync\testUploadKali2\evinc.msi
DotCMIS.Exceptions.CmisConnectionException: Cannot access 
https://share1.ks2.fr/core/cmisatom/85f01a87-4402-43c5-b18f-d1b0286b81c5/children?id=workspace://SpacesStore/98e634ee-9291-4fe2-bca9-672f64ba6e61:
 La demande a été abandonnée : La demande a été annulée. ---> 
System.Net.WebException: La demande a été abandonnée : La demande a été annulée.
   à System.Net.ConnectStream.InternalWrite(Boolean async, Byte[] buffer, Int32 
offset, Int32 size, AsyncCallback callback, Object state)
   à System.Net.ConnectStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   à System.Xml.XmlUtf8RawTextWriter.FlushBuffer()
   à System.Xml.XmlUtf8RawTextWriter.WriteRawWithCharChecking(Char* pSrcBegin, 
Char* pSrcEnd)
   à System.Xml.XmlUtf8RawTextWriter.WriteRaw(Char[] buffer, Int32 index, Int32 
count)
   à System.Xml.XmlRawWriterBase64Encoder.WriteChars(Char[] chars, Int32 index, 
Int32 count)
   à System.Xml.Base64Encoder.Encode(Byte[] buffer, Int32 index, Int32 count)
  à System.Xml.XmlRawWriter.WriteBase64(Byte[] buffer, Int32 index, Int32 count)
   à System.Xml.XmlWellFormedWriter.WriteBase64(Byte[] buffer, Int32 index, 
Int32 count)
   à DotCMIS.Binding.AtomPub.AtomEntryWriter.WriteContent(XmlWriter writer)
   à DotCMIS.Binding.AtomPub.AtomEntryWriter.Write(Stream outStream)
   à DotCMIS.Binding.Impl.HttpUtils.Invoke(UrlBuilder url, String method, 
String contentType, Output writer, BindingSession session, Nullable`1 offset, 
Nullable`1 length, IDictionary`2 headers)
   --- Fin de la trace de la pile d'exception interne ---
   à 
CmisSync.Lib.Sync.CmisRepo.SynchronizedFolder.ProcessRecoverableException(String
 logMessage, Exception exception)
   à CmisSync.Lib.Sync.CmisRepo.SynchronizedFolder.UploadFile(String filePath, 
IFolder remoteFolder)
   à CmisSync.Lib.Sync.CmisRepo.SynchronizedFolder.CrawlLocalFile(String 
filePath, IFolder remoteFolder, IList`1 remoteFiles)
2014-10-28 16:32:43,659 [6] INFO  CmisSync.Lib.RepoBase [(null)] - Sync Error: 
Cannot access 
https://share1.ks2.fr/core/cmisatom/85f01a87-4402-43c5-b18f-d1b0286b81c5/children?id=workspace://SpacesStore/98e634ee-9291-4fe2-bca9-672f64ba6e61:
 La demande a été abandonnée : La demande a été annulée.
2014-10-28 16:32:43,660 [6] ERROR CmisSync.StatusIconController [(null)] - 
Error syncing 'testUploadKali2': Cannot access 
https://share1.ks2.fr/core/cmisatom/85f01a87-4402-43c5-b18f-d1b0286b81c5/children?id=workspace://SpacesStore/98e634ee-9291-4fe2-bca9-672f64ba6e61:
 La demande a été abandonnée : La demande a été annulée.
CmisSync.Lib.Cmis.BaseException: Cannot access 
https://share1.ks2.fr/core/cmisatom/85f01a87-4402-43c5-b18f-d1b0286b81c5/children?id=workspace://SpacesStore/98e634ee-9291-4fe2-bca9-672f64ba6e61:
 La demande a été abandonnée : La demande a été annulée. ---> 
DotCMIS.Exceptions.CmisConnectionException: Cannot access 
https://share1.ks2.fr/core/cmisatom/85f01a87-4402-43c5-b18f-d1b0286b81c5/children?id=workspace://SpacesStore/98e634ee-9291-4fe2-bca9-672f64ba6e61:
 La demande a été abandonnée : La demande a été annulée. ---> 
System.Net.WebException: La demande a été abandonnée : La demande a été annulée.
   à System.Net.ConnectStream.InternalWrite(Boolean async, Byte[] buffer, Int32 
offset, Int32 size, AsyncCallback callback, Object state)
   à System.Net.ConnectStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   à System.Xml.XmlUtf8RawTextWriter.FlushBuffer()
   à System.Xml.XmlUtf8RawTextWriter.WriteRawWithCharChecking(Char* pSrcBegin, 
Char* pSrcEnd)
   à System.Xml.XmlUtf8RawTextWriter.WriteRaw(Char[] buffer, Int32 index, Int32 
count)
   à System.Xml.XmlRawWriterBase64Encoder.WriteChars(Char[] chars, Int32 index, 
Int32 count)
   à System.Xml.Base64Encoder.Encode(Byte[] buffer, Int32 index, Int32 count)
   à System.Xml.XmlRawWriter.WriteBase64(Byte[] buffer, Int32 index, Int32 
count)
   à System.Xml.XmlWellFormedWriter.WriteBase64(Byte[] buffer, Int32 index, 
Int32 count)
   à DotCMIS.Binding.AtomPub.AtomEntryWriter.WriteContent(XmlWriter writer)
   à DotCMIS.Binding.AtomPub.AtomEntryWriter.Write(Stream outStream)
   à DotCMIS.Binding.Impl.HttpUtils.Invoke(UrlBuilder url, String method, 
String contentType, Output writer, BindingSession session, Nullable`1 offset, 
Nullable`1 length, IDictionary`2 headers)
   --- Fin de la trace de la pile d'exception interne ---
   à 
CmisSync.Lib.Sync.CmisRepo.SynchronizedFolder.ProcessRecoverableException(String
 logMessage, Exception exception)
   à CmisSync.Lib.Sync.CmisRepo.SynchronizedFolder.CrawlLocalFile(String 
filePath, IFolder remoteFolder, IList`1 remoteFiles)
   à CmisSync.Lib.Sync.CmisRepo.SynchronizedFolder.CrawlLocalFiles(String 
localFolder, IFolder remoteFolder, IList`1 remoteFiles)
   à CmisSync.Lib.Sync.CmisRepo.SynchronizedFolder.CrawlDescendants(IFolder 
remoteFolder, IList`1 children, String localFolder)
   à CmisSync.Lib.Sync.CmisRepo.SynchronizedFolder.CrawlSync(IFolder 
remoteFolder, String localFolder)
   à CmisSync.Lib.Sync.CmisRepo.SynchronizedFolder.Sync(Boolean syncFull)
   à CmisSync.Lib.Sync.CmisRepo.SynchronizedFolder.<.ctor>b__4(Object o, 
DoWorkEventArgs args)
   --- Fin de la trace de la pile d'exception interne ---



was (Author: fka):
Here is a link to the file : 
http://sherpa.kalilog.fr/download.ashx?FID=72d53ef0a6974ea4883b2e6af2f5aa52781abdd872da4ad994f89c1dfac892c7&CRC=265e70737e6d4018b66871d513150d75039adfa3a83c46a79d031e8920610517

I"ve tried with CMIS Workbench on the AtomPub connector and the upload (that 
was failing via DotCMIS) has worked.

Here is the .NET stack trace :

2014-10-28 16:32:43,613 [6] ERROR CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder 
[(null)] - Could not upload file: 
C:\Users\abaudin\CmisSync\testUploadKali2\evinc.msi
DotCMIS.Exceptions.CmisConnectionException: Cannot access 
https://share1.ks2.fr/core/cmisatom/85f01a87-4402-43c5-b18f-d1b0286b81c5/children?id=workspace://SpacesStore/98e634ee-9291-4fe2-bca9-672f64ba6e61:
 La demande a été abandonnée : La demande a été annulée. ---> 
System.Net.WebException: La demande a été abandonnée : La demande a été annulée.
   à System.Net.ConnectStream.InternalWrite(Boolean async, Byte[] buffer, Int32 
offset, Int32 size, AsyncCallback callback, Object state)
   à System.Net.ConnectStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   à System.Xml.XmlUtf8RawTextWriter.FlushBuffer()
   à System.Xml.XmlUtf8RawTextWriter.WriteRawWithCharChecking(Char* pSrcBegin, 
Char* pSrcEnd)
   à System.Xml.XmlUtf8RawTextWriter.WriteRaw(Char[] buffer, Int32 index, Int32 
count)
   à System.Xml.XmlRawWriterBase64Encoder.WriteChars(Char[] chars, Int32 index, 
Int32 count)
   à System.Xml.Base64Encoder.Encode(Byte[] buffer, Int32 index, Int32 count)
   à System.Xml.XmlRawWriter.WriteBase64(Byte[] buffer, Int32 index, Int32 
count)
   à System.Xml.XmlWellFormedWriter.WriteBase64(Byte[] buffer, Int32 index, 
Int32 count)
   à DotCMIS.Binding.AtomPub.AtomEntryWriter.WriteContent(XmlWriter writer)
   à DotCMIS.Binding.AtomPub.AtomEntryWriter.Write(Stream outStream)
   à DotCMIS.Binding.Impl.HttpUtils.Invoke(UrlBuilder url, String method, 
String contentType, Output writer, BindingSession session, Nullable`1 offset, 
Nullable`1 length, IDictionary`2 headers)
   --- Fin de la trace de la pile d'exception interne ---
   à DotCMIS.Binding.Impl.HttpUtils.Invoke(UrlBuilder url, String method, 
String contentType, Output writer, BindingSession session, Nullable`1 offset, 
Nullable`1 length, IDictionary`2 headers)
   à DotCMIS.Binding.Impl.HttpUtils.InvokePOST(UrlBuilder url, String 
contentType, Output writer, BindingSession session)
   à DotCMIS.Binding.AtomPub.AbstractAtomPubService.Post(UrlBuilder url, String 
contentType, Output writer)
   à DotCMIS.Binding.AtomPub.ObjectService.CreateDocument(String repositoryId, 
IProperties properties, String folderId, IContentStream contentStream, 
Nullable`1 versioningState, IList`1 policies, IAcl addAces, IAcl removeAces, 
IExtensionsData extension)
   à DotCMIS.Client.Impl.Session.CreateDocument(IDictionary`2 properties, 
IObjectId folderId, IContentStream contentStream, Nullable`1 versioningState, 
IList`1 policies, IList`1 addAces, IList`1 removeAces)
   à DotCMIS.Client.Impl.Folder.CreateDocument(IDictionary`2 properties, 
IContentStream contentStream, Nullable`1 versioningState, IList`1 policies, 
IList`1 addAces, IList`1 removeAces, IOperationContext context)
   à DotCMIS.Client.Impl.Folder.CreateDocument(IDictionary`2 properties, 
IContentStream contentStream, Nullable`1 versioningState)
   à CmisSync.Lib.Sync.CmisRepo.SynchronizedFolder.UploadFile(String filePath, 
IFolder remoteFolder)
2014-10-28 16:32:43,658 [6] ERROR CmisSync.Lib.Sync.CmisRepo+SynchronizedFolder 
[(null)] - Could not crawl sync local file: 
C:\Users\abaudin\CmisSync\testUploadKali2\evinc.msi
DotCMIS.Exceptions.CmisConnectionException: Cannot access 
https://share1.ks2.fr/core/cmisatom/85f01a87-4402-43c5-b18f-d1b0286b81c5/children?id=workspace://SpacesStore/98e634ee-9291-4fe2-bca9-672f64ba6e61:
 La demande a été abandonnée : La demande a été annulée. ---> 
System.Net.WebException: La demande a été abandonnée : La demande a été annulée.
   à System.Net.ConnectStream.InternalWrite(Boolean async, Byte[] buffer, Int32 
offset, Int32 size, AsyncCallback callback, Object state)
   à System.Net.ConnectStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   à System.Xml.XmlUtf8RawTextWriter.FlushBuffer()
   à System.Xml.XmlUtf8RawTextWriter.WriteRawWithCharChecking(Char* pSrcBegin, 
Char* pSrcEnd)
   à System.Xml.XmlUtf8RawTextWriter.WriteRaw(Char[] buffer, Int32 index, Int32 
count)
   à System.Xml.XmlRawWriterBase64Encoder.WriteChars(Char[] chars, Int32 index, 
Int32 count)
   à System.Xml.Base64Encoder.Encode(Byte[] buffer, Int32 index, Int32 count)
  à System.Xml.XmlRawWriter.WriteBase64(Byte[] buffer, Int32 index, Int32 count)
   à System.Xml.XmlWellFormedWriter.WriteBase64(Byte[] buffer, Int32 index, 
Int32 count)
   à DotCMIS.Binding.AtomPub.AtomEntryWriter.WriteContent(XmlWriter writer)
   à DotCMIS.Binding.AtomPub.AtomEntryWriter.Write(Stream outStream)
   à DotCMIS.Binding.Impl.HttpUtils.Invoke(UrlBuilder url, String method, 
String contentType, Output writer, BindingSession session, Nullable`1 offset, 
Nullable`1 length, IDictionary`2 headers)
   --- Fin de la trace de la pile d'exception interne ---
   à 
CmisSync.Lib.Sync.CmisRepo.SynchronizedFolder.ProcessRecoverableException(String
 logMessage, Exception exception)
   à CmisSync.Lib.Sync.CmisRepo.SynchronizedFolder.UploadFile(String filePath, 
IFolder remoteFolder)
   à CmisSync.Lib.Sync.CmisRepo.SynchronizedFolder.CrawlLocalFile(String 
filePath, IFolder remoteFolder, IList`1 remoteFiles)
2014-10-28 16:32:43,659 [6] INFO  CmisSync.Lib.RepoBase [(null)] - Sync Error: 
Cannot access 
https://share1.ks2.fr/core/cmisatom/85f01a87-4402-43c5-b18f-d1b0286b81c5/children?id=workspace://SpacesStore/98e634ee-9291-4fe2-bca9-672f64ba6e61:
 La demande a été abandonnée : La demande a été annulée.
2014-10-28 16:32:43,660 [6] ERROR CmisSync.StatusIconController [(null)] - 
Error syncing 'testUploadKali2': Cannot access 
https://share1.ks2.fr/core/cmisatom/85f01a87-4402-43c5-b18f-d1b0286b81c5/children?id=workspace://SpacesStore/98e634ee-9291-4fe2-bca9-672f64ba6e61:
 La demande a été abandonnée : La demande a été annulée.
CmisSync.Lib.Cmis.BaseException: Cannot access 
https://share1.ks2.fr/core/cmisatom/85f01a87-4402-43c5-b18f-d1b0286b81c5/children?id=workspace://SpacesStore/98e634ee-9291-4fe2-bca9-672f64ba6e61:
 La demande a été abandonnée : La demande a été annulée. ---> 
DotCMIS.Exceptions.CmisConnectionException: Cannot access 
https://share1.ks2.fr/core/cmisatom/85f01a87-4402-43c5-b18f-d1b0286b81c5/children?id=workspace://SpacesStore/98e634ee-9291-4fe2-bca9-672f64ba6e61:
 La demande a été abandonnée : La demande a été annulée. ---> 
System.Net.WebException: La demande a été abandonnée : La demande a été annulée.
   à System.Net.ConnectStream.InternalWrite(Boolean async, Byte[] buffer, Int32 
offset, Int32 size, AsyncCallback callback, Object state)
   à System.Net.ConnectStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   à System.Xml.XmlUtf8RawTextWriter.FlushBuffer()
   à System.Xml.XmlUtf8RawTextWriter.WriteRawWithCharChecking(Char* pSrcBegin, 
Char* pSrcEnd)
   à System.Xml.XmlUtf8RawTextWriter.WriteRaw(Char[] buffer, Int32 index, Int32 
count)
   à System.Xml.XmlRawWriterBase64Encoder.WriteChars(Char[] chars, Int32 index, 
Int32 count)
   à System.Xml.Base64Encoder.Encode(Byte[] buffer, Int32 index, Int32 count)
   à System.Xml.XmlRawWriter.WriteBase64(Byte[] buffer, Int32 index, Int32 
count)
   à System.Xml.XmlWellFormedWriter.WriteBase64(Byte[] buffer, Int32 index, 
Int32 count)
   à DotCMIS.Binding.AtomPub.AtomEntryWriter.WriteContent(XmlWriter writer)
   à DotCMIS.Binding.AtomPub.AtomEntryWriter.Write(Stream outStream)
   à DotCMIS.Binding.Impl.HttpUtils.Invoke(UrlBuilder url, String method, 
String contentType, Output writer, BindingSession session, Nullable`1 offset, 
Nullable`1 length, IDictionary`2 headers)
   --- Fin de la trace de la pile d'exception interne ---
   à 
CmisSync.Lib.Sync.CmisRepo.SynchronizedFolder.ProcessRecoverableException(String
 logMessage, Exception exception)
   à CmisSync.Lib.Sync.CmisRepo.SynchronizedFolder.CrawlLocalFile(String 
filePath, IFolder remoteFolder, IList`1 remoteFiles)
   à CmisSync.Lib.Sync.CmisRepo.SynchronizedFolder.CrawlLocalFiles(String 
localFolder, IFolder remoteFolder, IList`1 remoteFiles)
   à CmisSync.Lib.Sync.CmisRepo.SynchronizedFolder.CrawlDescendants(IFolder 
remoteFolder, IList`1 children, String localFolder)
   à CmisSync.Lib.Sync.CmisRepo.SynchronizedFolder.CrawlSync(IFolder 
remoteFolder, String localFolder)
   à CmisSync.Lib.Sync.CmisRepo.SynchronizedFolder.Sync(Boolean syncFull)
   à CmisSync.Lib.Sync.CmisRepo.SynchronizedFolder.<.ctor>b__4(Object o, 
DoWorkEventArgs args)
   --- Fin de la trace de la pile d'exception interne ---


> Error uploading some files
> --------------------------
>
>                 Key: CMIS-863
>                 URL: https://issues.apache.org/jira/browse/CMIS-863
>             Project: Chemistry
>          Issue Type: Bug
>          Components: dotcmis
>    Affects Versions: DotCMIS 0.6
>         Environment: Windows 7 X64 Client against Alfresco 4.2.e
>            Reporter: Karam
>            Priority: Critical
>
> Hi,
> I encounter an error uploading a file with DotCMIS 0.6 against an Alfresco 
> 4.2.e server (I don't know the version of the embedded openCMIS component).
> For certain files, I get on the server : 
> [impl.atompub.CmisAtomPubServlet] [ajp-apr-8009-exec-10] Base64 input not 
> properly padded.
> this raise the folowing exception on the client component :
> DotCMIS.Exceptions.CmisConnectionException: Cannot access 
> https://xxx/core/cmisatom/85f01a87-4402-43c5-b18f-d1b0286b81c5/children?id=workspace://SpacesStore/98e634ee-9291-4fe2-bca9-672f64ba6e61:
>  La demande a été abandonnée : La demande a été annulée. ---> 
> System.Net.WebException: La demande a été abandonnée : La demande a été 
> annulée.
> Is this a known issue ?



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

Reply via email to