cancel
Showing results for 
Search instead for 
Did you mean: 

Failure to Upload File via Share Interface

neil_benn
Champ in-the-making
Champ in-the-making
Hello,

         Every time I try to upload a file via the share interface it fails.  When done through the flash interface it simply shows orange and says 'failure' and when run without the flash interface it reports 500 (which I assume is the return code).  It works however when uploaded via the Sharepoint interface.

  The Alfresco log shows no error or comments at all.

  System : Alfresco 3.4a, server Ubuntu 10.04, client Chrome and IE8.

  We've pulled Alfresco totally out of service for now as we've got too many errors - does anyone have an idea as to what is happening here?

Regards,

Neil
23 REPLIES 23

neil_benn
Champ in-the-making
Champ in-the-making
Hello,

        I moved to another location (as in picked up my laptop and drove 50 miles to my company office) and it started working!  I was on my home network which then broke (physically the line stopped working) right after it stopped working so it could have been a line problem??

Cheers,

Neil

mikeh
Star Contributor
Star Contributor
Possible I guess, although seems surprising you got the page HTML, JS & CSS source all ok. Maybe the upload path only was affected?

Chalk another one up to "computers, eh?"  Smiley Happy

Thanks,
Mike

ekimnosneb
Champ in-the-making
Champ in-the-making
Hello,

         Every time I try to upload a file via the share interface it fails.  When done through the flash interface it simply shows orange and says 'failure' and when run without the flash interface it reports 500 (which I assume is the return code).  It works however when uploaded via the Sharepoint interface.

  The Alfresco log shows no error or comments at all.

  System : Alfresco 3.4a, server Ubuntu 10.04, client Chrome and IE8.

  We've pulled Alfresco totally out of service for now as we've got too many errors - does anyone have an idea as to what is happening here?

Regards,

Neil

It doesn't appear that you're using a linux client, but I just found that disabling my proxy settings in Fedora 14 allowed me to upload using the flash interface in Chrome and Firefox.  I was seeing the same exact symptoms that you state.  I realized that it worked on a different network and the only difference was the proxy settings.  I was able to upload from XP clients easily, so my issue related directly to linux.

srinivasmurty
Champ in-the-making
Champ in-the-making
I am facing similar issues. I am unable to upload files (I have tried XLSX, JPG, DOC).

I switched to using SSL port 8443 to connect with Share. I am able to login to Share (a different problem that I asked a question about in another thread!) by changing the end points to the correct port. Could this change be causing a problem with the file uploader?

srinivasmurty
Champ in-the-making
Champ in-the-making
Does anyone have any ideas on this issue? I would be happy to provide any other info (like Tomcat / Alfresco logs, etc.).

mikeh
Star Contributor
Star Contributor
Using the Flash uploader with https and anything other than MSIE will fail. There's nothing we can do about it.

Thanks,
Mike

srinivasmurty
Champ in-the-making
Champ in-the-making
Thanks Mike. That was very helpful and important to know and I appreciate your reply. Just out of curiosity, would you know if there is something in the Flash plug-in architecture of the other browsers (Firefox, Chrome) that prevents this?

Also, how can I ask users to not use the Flash uploader but a "normal" HTML file upload? If you can point me to the forum or Alfresco docs, I'll take a look.

srinivasmurty
Champ in-the-making
Champ in-the-making
Just to add to my previous….I did not mean to write "How can I ask…"!!! What I meant was "How do I use the HTML file uploader?".

mikeh
Star Contributor
Star Contributor
There are some notes in our JIRA ticket; it looks like you *might* be able to get it working on Windows: https://issues.alfresco.com/jira/browse/ALF-1324

To disable the Flash uploader, create a file called "share-config-custom.xml" in Tomcat/shared/classes/alfresco/web-extension with the following content:
<alfresco-config>

   <!– Document Library config section –>
   <config evaluator="string-compare" condition="DocumentLibrary" replace="true">

      <!–
         File upload configuration
      –>
      <file-upload>
         <!–
            Adobe Flash™
            In certain environments, an HTTP request originating from Flash cannot be authenticated using an existing session.
            See: http://bugs.adobe.com/jira/browse/FP-4830
            For these cases, it is useful to disable the Flash-based uploader for Share Document Libraries.
         –>
         <adobe-flash-enabled>false</adobe-flash-enabled>
      </file-upload>
   </config>

</alfresco-config>

Thanks,
Mike

srinivasmurty
Champ in-the-making
Champ in-the-making
To round things off for this thread, once I received my SSL cert from a Certificate Authority (independently validated), it works on IE, Firefox and Chrome. So it looks like only the self certified SSL certs have a problem using the Flash file uploader.

Cheers!