<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Some Alfresco Share proxy requests fail with 500 http status code, although Alfresco repository returns successfull http response (200) in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/some-alfresco-share-proxy-requests-fail-with-500-http-status/m-p/44866#M18174</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe we might have hit the same problem, using external authentication.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Works fine on another environment - same version - with saml module enabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;roxana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Feb 2019 18:43:32 GMT</pubDate>
    <dc:creator>anghelutar</dc:creator>
    <dc:date>2019-02-05T18:43:32Z</dc:date>
    <item>
      <title>Some Alfresco Share proxy requests fail with 500 http status code, although Alfresco repository returns successfull http response (200)</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/some-alfresco-share-proxy-requests-fail-with-500-http-status/m-p/44865#M18173</link>
      <description>I have upgraded a customer from 5.1.4 to 5.2.4 Alfresco Enterprise.After migrating the source code and installing the new Alfresco installation via installer, we have&amp;nbsp;Alfresco Share itself is running, but certain requests to the alfresco repository via Share proxy SOMETIMES work and SOMETIMES fail.W</description>
      <pubDate>Thu, 31 Jan 2019 09:02:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/some-alfresco-share-proxy-requests-fail-with-500-http-status/m-p/44865#M18173</guid>
      <dc:creator>jego</dc:creator>
      <dc:date>2019-01-31T09:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: Some Alfresco Share proxy requests fail with 500 http status code, although Alfresco repository returns successfull http response (200)</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/some-alfresco-share-proxy-requests-fail-with-500-http-status/m-p/44866#M18174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe we might have hit the same problem, using external authentication.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Works fine on another environment - same version - with saml module enabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;roxana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2019 18:43:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/some-alfresco-share-proxy-requests-fail-with-500-http-status/m-p/44866#M18174</guid>
      <dc:creator>anghelutar</dc:creator>
      <dc:date>2019-02-05T18:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Some Alfresco Share proxy requests fail with 500 http status code, although Alfresco repository returns successfull http response (200)</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/some-alfresco-share-proxy-requests-fail-with-500-http-status/m-p/44867#M18175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I finally have some time after DevCon to look through the longer questions / posts on this plattform again (and Roxana also had contacted me about this issue this week).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not seen similar behaviour before myself. I too consider the missing rethrow of the RuntimeException case a programming&amp;nbsp;mistake,&amp;nbsp;though the only consequence of this is a missing "error" log entry and missing stacktrace information about the real exception - the response to the client will look exactly the same as for the other catch-clauses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd personally patch that rethrow into the specific version of webscripts used in 5.2.4, run with that and then check the stacktrace. Alternative - in a dirtier approach - I'd use remote debugging with a breakpoint in that catch clause.&lt;/P&gt;&lt;P&gt;Since I don't see any TRACE output from the&amp;nbsp;copyResponseStreamOutput method, I expect the RuntimeException to be triggered in that method, though I can see no&amp;nbsp;readily apparent errors / relevant corner cases in that code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2019 10:03:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/some-alfresco-share-proxy-requests-fail-with-500-http-status/m-p/44867#M18175</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2019-02-07T10:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: Some Alfresco Share proxy requests fail with 500 http status code, although Alfresco repository returns successfull http response (200)</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/some-alfresco-share-proxy-requests-fail-with-500-http-status/m-p/44868#M18176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok -&amp;nbsp;the cause is a stupid NullPointerException that Alfresco has introduced in&amp;nbsp;Share code for one of the 5.2 Service Packs. The bug did not exist in the latest 5.2 Community code. The&amp;nbsp;bug only affects any proxy URLs that do not include a URL query (so no ? in the URL). The&amp;nbsp;bug is located &lt;A href="https://github.com/Alfresco/share/blob/develop/share/src/main/java/org/alfresco/web/scripts/SlingshotRemoteClient.java#L85" rel="nofollow noopener noreferrer"&gt;in line 85 of SlingshotRemoteClient&lt;/A&gt;. Whenever the url.getQuery() returns null, the proxy request will fail.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2019 13:36:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/some-alfresco-share-proxy-requests-fail-with-500-http-status/m-p/44868#M18176</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2019-02-07T13:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Some Alfresco Share proxy requests fail with 500 http status code, although Alfresco repository returns successfull http response (200)</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/some-alfresco-share-proxy-requests-fail-with-500-http-status/m-p/44869#M18177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is actually a known issue and already fixed for the next 5.2.X service pack:&amp;nbsp;&lt;A href="https://issues.alfresco.com/jira/browse/MNT-19933" rel="nofollow noopener noreferrer"&gt;MNT-19933&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Still unclear though how this was not caught in testing with dozens of requests issued by the browser failing and access logs showing 500er errors...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2019 13:56:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/some-alfresco-share-proxy-requests-fail-with-500-http-status/m-p/44869#M18177</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2019-02-07T13:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: Some Alfresco Share proxy requests fail with 500 http status code, although Alfresco repository returns successfull http response (200)</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/some-alfresco-share-proxy-requests-fail-with-500-http-status/m-p/44870#M18178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One reason it may not have been caught in testing is that SSO was not being used. When SSO is not enabled, the proxy should actually append an "alf_ticket=sdfghj" query fragment to the URL, so the specific condition for the NullPointerException does not trigger.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2019 14:00:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/some-alfresco-share-proxy-requests-fail-with-500-http-status/m-p/44870#M18178</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2019-02-07T14:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: Some Alfresco Share proxy requests fail with 500 http status code, although Alfresco repository returns successfull http response (200)</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/some-alfresco-share-proxy-requests-fail-with-500-http-status/m-p/44871#M18179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Axel, you are great. Thanks for finding the root cause of the issue. I owe you a beer!!&lt;/P&gt;&lt;P&gt;I had patched the class with my own version to log the error correctly, but in this case the error was not happening anymore, so I was not sure what really happened...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2019 14:15:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/some-alfresco-share-proxy-requests-fail-with-500-http-status/m-p/44871#M18179</guid>
      <dc:creator>jego</dc:creator>
      <dc:date>2019-02-07T14:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: Some Alfresco Share proxy requests fail with 500 http status code, although Alfresco repository returns successfull http response (200)</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/some-alfresco-share-proxy-requests-fail-with-500-http-status/m-p/44872#M18180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Possible solution until the hotfix is out (tested): go back to 5.2.3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2019 00:57:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/some-alfresco-share-proxy-requests-fail-with-500-http-status/m-p/44872#M18180</guid>
      <dc:creator>anghelutar</dc:creator>
      <dc:date>2019-02-08T00:57:16Z</dc:date>
    </item>
  </channel>
</rss>

