<?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 Admin app REST Endpoint does not work in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/admin-app-rest-endpoint-does-not-work/m-p/6621#M3213</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all. I get the license for trying the Alfresco Process Services.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On my Lubuntu 18.04 64bit, I installed and run the dockers of the main app and the admin app.&lt;/P&gt;&lt;P&gt;The main app is on &lt;A class="link-titled" href="http://localhost:8082" title="http://localhost:8082" rel="nofollow noopener noreferrer"&gt;http://localhost:8082&lt;/A&gt; I tried the REST API accessing from browser &lt;A class="link-titled" href="http://localhost:8082/activiti-app/api/enterprise/admin/tenants" title="http://localhost:8082/activiti-app/api/enterprise/admin/tenants" rel="nofollow noopener noreferrer"&gt;http://localhost:8082/activiti-app/api/enterprise/admin/tenants&lt;/A&gt; . I get a good JSON response ( [{"id":1,"name":"trial"}] ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the admin app, running on &lt;A href="http://localhost:8082" title="http://localhost:8082" rel="nofollow noopener noreferrer"&gt;http://localhost:8083&lt;/A&gt; , the endpoint settings are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Server address: &lt;A class="jivelink4" href="http://localhost" title="http://localhost" rel="nofollow noopener noreferrer"&gt;http://localhost&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Server port: 8082&lt;/P&gt;&lt;P&gt;Context root: activiti-app&lt;/P&gt;&lt;P&gt;REST root: api&lt;/P&gt;&lt;P&gt;Username: &lt;A href="mailto:admin@app.activiti.com" rel="nofollow noopener noreferrer"&gt;admin@app.activiti.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Password: admin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unluckily the endpoint does not work. Checking the AJAX call, the response is "&lt;SPAN&gt;&lt;SPAN class=""&gt;Unable to connect to the Activiti server.&lt;/SPAN&gt;&lt;/SPAN&gt;" The ports are open on the firewall ( sudo ufw allow 8082 &amp;amp;&amp;amp; sudo ufw allow 8083 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using Alfresco Process Services v1.9.0 and Docker 18.06.1-ce, build e68fc7a&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: the documentation and the server log about license is wrong. I tried to put it to &lt;SPAN class=""&gt;$USER_HOME/.activiti/enterprise-license&lt;/SPAN&gt; as documented, but it did not work. The log of Spring says the home was `root`, so I created under /root the directories, copied the license file and changed the ownership of the subfolders and the file to my user and the group to "docker". Nothing. I had to upload the license from interface.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jul 2019 16:52:52 GMT</pubDate>
    <dc:creator>marcosulla</dc:creator>
    <dc:date>2019-07-09T16:52:52Z</dc:date>
    <item>
      <title>Admin app REST Endpoint does not work</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/admin-app-rest-endpoint-does-not-work/m-p/6621#M3213</link>
      <description>Hello all. I get the license for trying the Alfresco Process Services.On my Lubuntu 18.04 64bit, I installed and run the dockers of the main app and the admin app.The main app is on http://localhost:8082 I tried the REST API accessing from browser http://localhost:8082/activiti-app/api/enterprise/ad</description>
      <pubDate>Tue, 09 Jul 2019 16:52:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/admin-app-rest-endpoint-does-not-work/m-p/6621#M3213</guid>
      <dc:creator>marcosulla</dc:creator>
      <dc:date>2019-07-09T16:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Admin app REST Endpoint does not work</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/admin-app-rest-endpoint-does-not-work/m-p/6622#M3214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also tried with this command without success:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;docker run --name alfresco_admin -p 8083:8080 -d -e ACTIVITI_ADMIN_REST_APP_HOST='http://localhost' -e ACTIVITI_ADMIN_REST_APP_PORT='8082' -e ACTIVITI_ADMIN_REST_APP_USERNAME='admin@app.activiti.com' -e ACTIVITI_ADMIN_REST_APP_PASSWORD='admin' alfresco/process-services-admin&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2019 12:43:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/admin-app-rest-endpoint-does-not-work/m-p/6622#M3214</guid>
      <dc:creator>marcosulla</dc:creator>
      <dc:date>2019-07-10T12:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Admin app REST Endpoint does not work</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/admin-app-rest-endpoint-does-not-work/m-p/6623#M3215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are using Docker you can't set localhost as the endpoint&amp;nbsp;of another Docker&amp;nbsp;component, you should set the Docker Endpoint IP generated at runtime. Maybe the issue is just this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2019 10:25:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/admin-app-rest-endpoint-does-not-work/m-p/6623#M3215</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2019-07-12T10:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: Admin app REST Endpoint does not work</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/admin-app-rest-endpoint-does-not-work/m-p/6624#M3216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, putting the id of the machine from `ifconfig` works.&lt;/P&gt;&lt;P&gt;Just for your information, the Activiti app accepts `localhost`...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2019 15:06:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/admin-app-rest-endpoint-does-not-work/m-p/6624#M3216</guid>
      <dc:creator>marcosulla</dc:creator>
      <dc:date>2019-07-12T15:06:33Z</dc:date>
    </item>
  </channel>
</rss>

