cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Edit Offline

danyfortier
Champ in-the-making
Champ in-the-making
I am unable to use Edit offline because i always got a 500 error from the browser.

I have ssl enabled and is working fine except for that part.

Here is a little part my Share-custom-config.xml of what i think the problem is located


<endpoint>
            <id>alfresco</id>
            <name>Alfresco - user access</name>
            <description>Access to Alfresco Repository WebScripts that require user authentication</description>
            <connector-id>alfrescoCookie</connector-id>
            <endpoint-url>http://localhost:80/alfresco/wcs</endpoint-url>
            <identity>user</identity>
            <external-auth>true</external-auth>
         </endpoint>


If i change the line <endpoint-url>http://localhost:80/alfresco/wcs</endpoint-url> for <endpoint-url>https://localhost:443/alfresco/wcs</endpoint-url>

i got these errors on my logs :

<blockquote>
2015-06-08 20:45:52,221  INFO  [webscripts.connector.RemoteClient] [http-bio-443-exec-1] Exception calling (GET) https://localhost:443/alfresco/wcs/api/admin/restrictions?guest=true
2015-06-08 20:45:52,221  INFO  [webscripts.connector.RemoteClient] [http-bio-443-exec-1] Error status 500 java.security.cert.CertificateException: No X509TrustManager implementation available
javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No X509TrustManager implementation available
</blockquote>

If i let my share-custom-config.xml with this http://localhost:80/alfresco/wcs</endpoint-url>

<blockquote>

then i got these errors in logs:

2015-06-08 21:23:59,362  INFO  [webscripts.connector.RemoteClient] [http-bio-443-exec-14] Exception calling (GET) http://localhost:80/alfresco/wcs/api/node/workspace/SpacesStore/cb12f6df-8f27-43fa-9d79-762eaf8684e7...
2015-06-08 21:23:59,362  INFO  [webscripts.connector.RemoteClient] [http-bio-443-exec-14] Error status 500 java.net.SocketException: Connection reset by peer: socket write error
org.apache.catalina.connector.ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error
</blockquote>

What can i do to solve that ?
3 REPLIES 3

danyfortier
Champ in-the-making
Champ in-the-making
Anyone know what can i do to solve that ?

eswbitto
Confirmed Champ
Confirmed Champ
You are going to have to provide more details. It can be any number of issues.

Probably start off by giving more details about your install and setup.

adanecki
Champ in-the-making
Champ in-the-making
I have also the same issue in alfresco 5.0.4.
In chrome and FF offline edit wokrs fine, in IE8, IE9 and IE11 there is HTTP 500 error, when we use offline edit option to download file. Normal download, by "Download"button works fine in every browser.


For example link to retrieve test.docx file after clicking Offline Edit, looks like this:

https://alfresco:8443/share/proxy/alfresco/slingshot/node/content/workspace/SpacesStore/d689f416-224..." target="_blank

When I paste this link to Chrome and firefox, file is downloaded without any problems,
but in IE I get 500 error.
But if I remove " signs from this URL, IE is able to download file

So final link for IE should look like this
https://alfresco:8443/share/proxy/alfresco/slingshot/node/content/workspace/SpacesStore/d689f416-224... target=_blank

without " signs

How can this be solved

Best Regards
Adam