<?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: 401 unauthorized webscript in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/401-unauthorized-webscript/m-p/181646#M134776</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Good point - I've never tried the 401 case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could tell Tomcat to redirect instead via web.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;web-app&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;error-page&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;error-code&amp;gt;401&amp;lt;/error-code&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;location&amp;gt;/error401.jsp&amp;lt;/location&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/error-page&amp;gt;&lt;BR /&gt;…&lt;BR /&gt;&amp;lt;web-app&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Dec 2008 20:46:24 GMT</pubDate>
    <dc:creator>mikeh</dc:creator>
    <dc:date>2008-12-11T20:46:24Z</dc:date>
    <item>
      <title>401 unauthorized webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/401-unauthorized-webscript/m-p/181643#M134773</link>
      <description>is it possible to capture this error in case of basic http authentication while accessing a webscript and give custom message.thanks</description>
      <pubDate>Thu, 11 Dec 2008 18:11:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/401-unauthorized-webscript/m-p/181643#M134773</guid>
      <dc:creator>robain</dc:creator>
      <dc:date>2008-12-11T18:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: 401 unauthorized webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/401-unauthorized-webscript/m-p/181644#M134774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please see: &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Web_Scripts#Response_Status" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Web_Scripts#Response_Status&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2008 20:10:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/401-unauthorized-webscript/m-p/181644#M134774</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2008-12-11T20:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: 401 unauthorized webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/401-unauthorized-webscript/m-p/181645#M134775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Mike. But what we have there is a way to define our own flow to throw different http error exception. However 401 means you cannot even get to the point where the javascript code gets executed. Isnt that right? So how do I capture such exception.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2008 20:22:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/401-unauthorized-webscript/m-p/181645#M134775</guid>
      <dc:creator>robain</dc:creator>
      <dc:date>2008-12-11T20:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: 401 unauthorized webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/401-unauthorized-webscript/m-p/181646#M134776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Good point - I've never tried the 401 case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could tell Tomcat to redirect instead via web.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;web-app&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;error-page&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;error-code&amp;gt;401&amp;lt;/error-code&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;location&amp;gt;/error401.jsp&amp;lt;/location&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/error-page&amp;gt;&lt;BR /&gt;…&lt;BR /&gt;&amp;lt;web-app&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2008 20:46:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/401-unauthorized-webscript/m-p/181646#M134776</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2008-12-11T20:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: 401 unauthorized webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/401-unauthorized-webscript/m-p/181647#M134777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Mike. That would solve the problem but this wont isolate the error messaging to the webscript alone but will be applied to any general 401 error. Was looking for something that could address this issue with webscripts only. Appreciate the post though. Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2008 20:53:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/401-unauthorized-webscript/m-p/181647#M134777</guid>
      <dc:creator>robain</dc:creator>
      <dc:date>2008-12-11T20:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: 401 unauthorized webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/401-unauthorized-webscript/m-p/181648#M134778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can place a 401.ftl at the root of the webscript search path (classes/alfresco/templates/webscripts or classes/alfresco/extension/templates/webscripts for instance).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In case the /401.ftl isn't found (which is the case by default), it defaults to /status.ftl&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This will be used even for non-DeclarativeWebScripts (Java-backed web scripts for instance)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2008 09:34:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/401-unauthorized-webscript/m-p/181648#M134778</guid>
      <dc:creator>t_broyer</dc:creator>
      <dc:date>2008-12-12T09:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: 401 unauthorized webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/401-unauthorized-webscript/m-p/181649#M134779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the post boyer. But unfortunately it does not seem to work. The error I am getting right now is posted below. This is the tomcat message. Not sure if even the status.ftl is being used.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;=============&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;HTTP Status 401 -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;type Status report&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;message&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;description This request requires HTTP authentication ().&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Apache Tomcat/5.5.23&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;==============&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Finally I also tried the web.xml configuration but seems like even that doesnt work for the alfresco webapp. It works for other web applications though. Any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Appreciate all the help guys.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2008 15:56:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/401-unauthorized-webscript/m-p/181649#M134779</guid>
      <dc:creator>robain</dc:creator>
      <dc:date>2008-12-12T15:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: 401 unauthorized webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/401-unauthorized-webscript/m-p/181650#M134780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;D'oh, right!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It actually totally depends on the authenticator being used, as it has to send back the authentication challenge (WWW-Authenticate for HTTP auth, redirect to the login page for Web-Client auth (see below)).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So if you really want to control the 401 content, you'd be better writing your own org.alfresco.web.scripts.Authenticator and setting it up in the web.xml (either replacing the BasicHttpAuthenticator for /alfresco/s and /alfresco/service, or defining your own URI space).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For instance, I quite easily put in place something similar to &lt;/SPAN&gt;&lt;A href="http://lists.w3.org/Archives/Public/ietf-http-wg/2008OctDec/0379.html" rel="nofollow noopener noreferrer"&gt;this proposal&lt;/A&gt;&lt;SPAN&gt; in a new, distinct URI space (this would IMO be The Right Way™ to do the Web-Client authentication BTW).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As a side note, the WebScriptRuntime is broken wrt HTTP (at least in 2.2, I didn't check in 3.0) as it sends back 401s (without WWW-Authenticate!) instead of 403s in the following cases:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;the web script requires authentication (either user or admin) but is called with ?guest=true&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;the web script requires admin privileges be the authenticated user isn't an admin&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2008 16:19:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/401-unauthorized-webscript/m-p/181650#M134780</guid>
      <dc:creator>t_broyer</dc:creator>
      <dc:date>2008-12-12T16:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: 401 unauthorized webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/401-unauthorized-webscript/m-p/181651#M134781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for clarifying. How about the tomcat custom error page solution. That shouldnt require rewiring the authenticator, right? But why is that not working for alfresco?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2008 17:03:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/401-unauthorized-webscript/m-p/181651#M134781</guid>
      <dc:creator>robain</dc:creator>
      <dc:date>2008-12-12T17:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: 401 unauthorized webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/401-unauthorized-webscript/m-p/181652#M134782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That's because Alfresco uses response.setStatus(). Error pages are only used when response.sendError() is called or in case of an exception. (see section SRV.9.9.2 of the Servlet Specification 2.4)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2008 09:12:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/401-unauthorized-webscript/m-p/181652#M134782</guid>
      <dc:creator>t_broyer</dc:creator>
      <dc:date>2008-12-15T09:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: 401 unauthorized webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/401-unauthorized-webscript/m-p/181653#M134783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using Alfresco and Share but my alfresco is running under an another port than 8080&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In order to get Share working I edited a lot of file to change the 8080.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can now use Share but I've got an 401 error after saving a wiki page while Alfresco is trying to generate the feeds.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I try the URL given, I've got a prompt saying that the url require an authentication and that the site indicate "Alfresco"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why is Alfresco asking "itself" or Share for a password ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I solve that ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My stack :&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;13:57:30,389 INFO&amp;nbsp; [org.alfresco.repo.activities.feed.FeedTaskProcessor] &amp;gt;&amp;gt;&amp;gt; Generated 4 activity feed entries for 1 activity posts&lt;BR /&gt;13:57:32,041 INFO&amp;nbsp; [org.alfresco.repo.activities.post.lookup.PostLookup] Update: 1 activity posts&lt;BR /&gt;13:57:47,047 INFO&amp;nbsp; [org.alfresco.repo.activities.feed.FeedTaskProcessor] &amp;gt;&amp;gt;&amp;gt; Generated 0 activity feed entries for 1 activity posts&lt;BR /&gt;13:57:47,047 ERROR [org.alfresco.repo.activities.feed.local.LocalFeedGridJob] java.io.IOException: Server returned HTTP response code: 401 for URL: &lt;A href="http://localhost:18200/alfresco/service/api/activities/templates/org/alfresco/wiki/*?format=json" rel="nofollow noopener noreferrer"&gt;http://localhost:18200/alfresco/service/api/activities/templates/org/alfresco/wiki/*?format=json&lt;/A&gt;&lt;BR /&gt;13:57:47,047 ERROR [org.alfresco.repo.activities.feed.AbstractFeedGenerator] Exception during generation of feeds&lt;BR /&gt;java.lang.Exception: Server returned HTTP response code: 401 for URL: &lt;A href="http://localhost:18200/alfresco/service/api/activities/templates/org/alfresco/wiki/*?format=json" rel="nofollow noopener noreferrer"&gt;http://localhost:18200/alfresco/service/api/activities/templates/org/alfresco/wiki/*?format=json&lt;/A&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.alfresco.repo.activities.feed.local.LocalFeedGridJob.execute(LocalFeedGridJob.java:64)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.alfresco.repo.activities.feed.local.LocalFeedGenerator.generate(LocalFeedGenerator.java:102)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.alfresco.repo.activities.feed.AbstractFeedGenerator.execute(AbstractFeedGenerator.java:133)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.alfresco.repo.activities.feed.FeedGeneratorJob.execute(FeedGeneratorJob.java:56)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.quartz.core.JobRunShell.run(JobRunShell.java:202)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)&lt;BR /&gt;13:58:00,658 INFO&amp;nbsp; [org.alfresco.repo.activities.feed.FeedTaskProcessor] &amp;gt;&amp;gt;&amp;gt; Generated 4 activity feed entries for 1 activity posts&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2009 13:16:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/401-unauthorized-webscript/m-p/181653#M134783</guid>
      <dc:creator>sylvain_d</dc:creator>
      <dc:date>2009-02-23T13:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: 401 unauthorized webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/401-unauthorized-webscript/m-p/181654#M134784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hello there…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I installed the alfresco 3 stable with success. I had no problems until now: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I just used share one time to create a new project, just for tests. After create that project I get the following error in alfresco.log&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; 16:02:09,150 ERROR [org.alfresco.repo.activities.feed.local.LocalFeedGridJob] java.io.IOException: Server returned HTTP response code: 400 for URL: &lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco/service/api/activities/templates/org/alfresco/links/*?format=json" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/api/activities/templates/org/alfresco/links/*?format=json&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;16:02:09,152 ERROR [org.alfresco.repo.activities.feed.AbstractFeedGenerator] Exception during generation of feeds&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;java.lang.Exception: Server returned HTTP response code: 400 for URL: &lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco/service/api/activities/templates/org/alfresco/links/*?format=json" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/api/activities/templates/org/alfresco/links/*?format=json&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.repo.activities.feed.local.LocalFeedGridJob.execute(LocalFeedGridJob.java:64)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.repo.activities.feed.local.LocalFeedGenerator.generate(LocalFeedGenerator.java:102)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.repo.activities.feed.AbstractFeedGenerator.execute(AbstractFeedGenerator.java:133)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.repo.activities.feed.FeedGeneratorJob.execute(FeedGeneratorJob.java:56)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.quartz.core.JobRunShell.run(JobRunShell.java:202)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I my alfresco is not running in default port (8080), but in 8280. I think the problem is that I missed to modify a configuration file somewhere. But where?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I changed all the 8080 to 8280 in the configuration files in:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- &amp;lt;Alfresco_Directory&amp;gt;/tomcat/webapps/share/WEB-INF/classes/alfresco/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- &amp;lt;Alfresco_Directory&amp;gt;/tomcat/webapps/studio/WEB-INF/classes/alfresco/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- &amp;lt;Alfresco_Directory&amp;gt;/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you please tell me what file I miss to modify?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Help, Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Luis&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2009 15:10:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/401-unauthorized-webscript/m-p/181654#M134784</guid>
      <dc:creator>luisg</dc:creator>
      <dc:date>2009-04-15T15:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: 401 unauthorized webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/401-unauthorized-webscript/m-p/181655#M134785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Probably (certainly) the "repo.remote.endpoint.url" property in repository.properties (in the "alfresco" webapp)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2009 15:25:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/401-unauthorized-webscript/m-p/181655#M134785</guid>
      <dc:creator>t_broyer</dc:creator>
      <dc:date>2009-04-15T15:25:17Z</dc:date>
    </item>
  </channel>
</rss>

