<?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: Error communicating with Activit in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/error-communicating-with-activit/m-p/302056#M255186</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Gary, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you have a look at your Tenants page in your Activiti admin console and verify the id of the Alfresco repository you're trying to connect to?&amp;nbsp; Activiti allows you have multiple Alfresco repositories configured against the same Activiti instance, and so it is potentially dealing with more than one set of configuration/credential properties.&amp;nbsp; To do this, it expects Alfresco to send across it's id so that Activiti knows which set of repo config to compare it against.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In Alfresco, the properties you need to set are suffixed by the appropriate id, e.g. activiti.alfrescoRepositoryName=alfresco-1 or activiti.alfrescoRepositoryName=alfresco-2 etc where the 1 &amp;amp; 2 correspond to the id of the repository as seen in the Activiti admin page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If your repository id is not 1, then you also need to make sure the activiti.alfrescoRepositoryName property is set to the right value in your alfresco-global.properties file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you still encounter errors after this, or you already have things set up this way, the best thing to try and do would be to try and capture the details of the traffic being sent between Alfresco and Activiti. The logs show that Alfresco is sending a POST to &lt;/SPAN&gt;&lt;A href="http://192.168.100.77:8090/activiti-app/app/rest/integration/login" rel="nofollow noopener noreferrer"&gt;http://192.168.100.77:8090/activiti-app/app/rest/integration/login&lt;/A&gt;&lt;SPAN&gt; which is failing, it might shed some light if you can see what parameters are being sent with the request. If the Alfresco and Activiti apps are on different hosts you can easily capture the traffic using a tool like tcpdump or Wireshark.&amp;nbsp; If they are on the same host its a bit more complex, but you could use something like Charles Proxy or maybe Fiddler to do it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steven&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Jun 2016 12:13:52 GMT</pubDate>
    <dc:creator>steven_okennedy</dc:creator>
    <dc:date>2016-06-27T12:13:52Z</dc:date>
    <item>
      <title>Error communicating with Activit</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-communicating-with-activit/m-p/302052#M255182</link>
      <description>Hi All, We are currently in the process of exploring and evaluating Alfresco one and Alfresco Activiti and currently stuck at integration of alfresco one with alfresco activiti using share connector .Below is the error we see in the alfresco.log , hope you could guide us through this ."Caused by: ja</description>
      <pubDate>Thu, 23 Jun 2016 13:02:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-communicating-with-activit/m-p/302052#M255182</guid>
      <dc:creator>mahesh_bheema</dc:creator>
      <dc:date>2016-06-23T13:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error communicating with Activit</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-communicating-with-activit/m-p/302053#M255183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks like the shared secret that allows Alfresco and Activti to communicate is not in sync in both systems.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically you have two places that this secret is configured:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;li&amp;gt;In Actviti - when you add a new repository under the Alfresco Repositories section of the Tenants page.&amp;nbsp; It's the field "Secret"&amp;lt;/li&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;li&amp;gt;In Alfresco - by default a value should be already set ("activiti-share-connector-secret" I think), but you can override this by adding a line to your alfresco-global.properties file:&amp;lt;/li&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;activiti.secret=my-custom-secret&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Make sure the value is the same in both places and you should be fine.&amp;nbsp; See here for more details: &lt;/SPAN&gt;&lt;A href="http://docs.alfresco.com/activiti/docs/admin-guide/1.3.2/#_activiti_share_connector" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/activiti/docs/admin-guide/1.3.2/#_activiti_share_connector&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you still hit errors, please provide more information about your setup and the configuration you've done&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steven&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 14:15:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-communicating-with-activit/m-p/302053#M255183</guid>
      <dc:creator>steven_okennedy</dc:creator>
      <dc:date>2016-06-23T14:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error communicating with Activit</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-communicating-with-activit/m-p/302054#M255184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Steven, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your reply,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have same error, but even i set activiti.secret=somekey that equal to Activiti/Alfresco Repositories - Repository secret (be set as same as somekey). but it doesn't work, Alfresco always throw 401 exception.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you pls give me further advice ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;gary&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jun 2016 19:04:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-communicating-with-activit/m-p/302054#M255184</guid>
      <dc:creator>hoecake</dc:creator>
      <dc:date>2016-06-25T19:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error communicating with Activit</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-communicating-with-activit/m-p/302055#M255185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Steven,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Appreciate the reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We configured the same password in tenants and in the properties file but still getting the same error . Attaching the alfresco.log here . Hope you could find some clue .&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2016 06:32:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-communicating-with-activit/m-p/302055#M255185</guid>
      <dc:creator>mahesh_bheema</dc:creator>
      <dc:date>2016-06-27T06:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error communicating with Activit</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-communicating-with-activit/m-p/302056#M255186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Gary, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you have a look at your Tenants page in your Activiti admin console and verify the id of the Alfresco repository you're trying to connect to?&amp;nbsp; Activiti allows you have multiple Alfresco repositories configured against the same Activiti instance, and so it is potentially dealing with more than one set of configuration/credential properties.&amp;nbsp; To do this, it expects Alfresco to send across it's id so that Activiti knows which set of repo config to compare it against.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In Alfresco, the properties you need to set are suffixed by the appropriate id, e.g. activiti.alfrescoRepositoryName=alfresco-1 or activiti.alfrescoRepositoryName=alfresco-2 etc where the 1 &amp;amp; 2 correspond to the id of the repository as seen in the Activiti admin page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If your repository id is not 1, then you also need to make sure the activiti.alfrescoRepositoryName property is set to the right value in your alfresco-global.properties file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you still encounter errors after this, or you already have things set up this way, the best thing to try and do would be to try and capture the details of the traffic being sent between Alfresco and Activiti. The logs show that Alfresco is sending a POST to &lt;/SPAN&gt;&lt;A href="http://192.168.100.77:8090/activiti-app/app/rest/integration/login" rel="nofollow noopener noreferrer"&gt;http://192.168.100.77:8090/activiti-app/app/rest/integration/login&lt;/A&gt;&lt;SPAN&gt; which is failing, it might shed some light if you can see what parameters are being sent with the request. If the Alfresco and Activiti apps are on different hosts you can easily capture the traffic using a tool like tcpdump or Wireshark.&amp;nbsp; If they are on the same host its a bit more complex, but you could use something like Charles Proxy or maybe Fiddler to do it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steven&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2016 12:13:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-communicating-with-activit/m-p/302056#M255186</guid>
      <dc:creator>steven_okennedy</dc:creator>
      <dc:date>2016-06-27T12:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error communicating with Activit</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-communicating-with-activit/m-p/302057#M255187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Steven,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I couldnt find respository ID in activiti admin page as you mentioned in the answer , could you please let me know where i could see the repository ID in the activit admin page , meanwhile i am trying to analyze what is being sent using fiddler , thanks for the insight and your time . &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 09:28:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-communicating-with-activit/m-p/302057#M255187</guid>
      <dc:creator>mahesh_bheema</dc:creator>
      <dc:date>2016-06-28T09:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error communicating with Activit</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-communicating-with-activit/m-p/302058#M255188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mahesh,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When you go login to activiti-app as an admin, go to the Identity Management app, click Tenants, and then the Alfresco Repositories tab.&amp;nbsp; It shows a table/list of Alfresco repositories that have been configured and the Id column here is the one you're interested in.&amp;nbsp; See the attached screenshot, the id of my one here being "1"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steven&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 11:03:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-communicating-with-activit/m-p/302058#M255188</guid>
      <dc:creator>steven_okennedy</dc:creator>
      <dc:date>2016-06-28T11:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error communicating with Activit</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-communicating-with-activit/m-p/302059#M255189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Steven,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the help , I have tried all possible ways still the error persists . Is it recommended to have alfresco one and alfresco activiti installed on different hosts ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 06:05:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-communicating-with-activit/m-p/302059#M255189</guid>
      <dc:creator>mahesh_bheema</dc:creator>
      <dc:date>2016-06-29T06:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error communicating with Activit</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-communicating-with-activit/m-p/302060#M255190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've set it up locally previously on a single dev box, so no it's not essential and it is possible to get it to work on a single host - the tricky part I found was in getting them talking to the same LDAP and ensuring the LDAP parameters etc all work correctly - this is essential for the proper authentication/authorisation of users between the two systems.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 21:25:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-communicating-with-activit/m-p/302060#M255190</guid>
      <dc:creator>steven_okennedy</dc:creator>
      <dc:date>2016-06-29T21:25:54Z</dc:date>
    </item>
  </channel>
</rss>

