AnsweredAssumed Answered

Share Quickshare problem when sharing with public

Question asked by digcat on Jul 15, 2014
Alfresco Quickshare problem, 5.0.a, and still present in latest head as of Current version: 5.0.0 (r76481) schema 8,001.
quickshare of a link to public fails, quickshare to an existing user in the site works.

quickshare link
http://localhost:8080/share/s/nzeSJ3sISWa71h4XEAUefg

in the browser console, we get errors

GET http://localhost:8080/share/res/components/images/filetypes/JPEG-file-48.png 404 (Not Found) nzeSJ3sISWa71h4XEAUefg:280
POST http://localhost:8080/share/proxy/alfresco/api/events//webpreview/view 401 (Unauthorized) yui-common_1e05bcc6c91109f75b5e1088634cf5c8.js:17
YAHOO.util.Connect.asyncRequest yui-common_1e05bcc6c91109f75b5e1088634cf5c8.js:17
request alfresco_a57cfae7ab28392a7027e39b524cd397.js:1
jsonRequest alfresco_a57cfae7ab28392a7027e39b524cd397.js:1
jsonPost alfresco_a57cfae7ab28392a7027e39b524cd397.js:1
WP_onReady web-preview_672f19eb416e38b7ed53258629d5eb07.js:1
r yui-common_1e05bcc6c91109f75b5e1088634cf5c8.js:14
_tryPreloadAttach yui-common_1e05bcc6c91109f75b5e1088634cf5c8.js:14
q yui-common_1e05bcc6c91109f75b5e1088634cf5c8.js:8
XHR finished loading: POST "http://localhost:8080/share/proxy/alfresco/api/events//webpreview/view".

….. it gets stuck in loop and repeats till browser window closes.

in catalina.out

We see this error, on each loop.

2014-07-15 10:34:40,304  INFO  [webscripts.connector.RemoteClient] [http-apr-8080-exec-2] Exception calling (GET) http://localhost:8080/alfresco/s/api/internal/shared/node/nzeSJ3sISWa71h4XEAUefg/content/thumbnails/imgpreview?c=force&lastModified=imgpreview%3A1405432657474
2014-07-15 10:34:40,304  INFO  [webscripts.connector.RemoteClient] [http-apr-8080-exec-2] Error status 500 null
ClientAbortException:  java.io.IOException
        at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:413)
        at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:480)
        at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:366)
        at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:438)
        at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:426)
        at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:91)

      …..
      
any thoughts welcome, I will endeavour to reproduce on a second setup.


looks like this one

https://issues.alfresco.com/jira/browse/MNT-10366

Outcomes