<?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 Alfresco https cmis url is not working properly in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-https-cmis-url-is-not-working-properly/m-p/82934#M25426</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using alfresco 6.1 version. We have configured the Alfresco environment using Kubernates on AWS cloud.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Session is taken on HTTPS url but when trying to execute a CMIS Query it is using HTTP url. anyone know why it is taking http url.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;String queryString = "SELECT hr:test FROM hr:Test where hr:dldocType = '103";&lt;BR /&gt; OperationContext opCon = session.createOperationContext();&lt;/P&gt;&lt;P style="margin: 2.0pt 0cm 2.0pt 0cm;"&gt;&lt;SPAN style="font-size: 10.0pt; color: #6a3e3e;"&gt;opCon&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;.setIncludeRelationships(IncludeRelationships.&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #0000c0; font-size: 10.0pt; "&gt;SOURCE&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0cm 2.0pt 0cm;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp; &amp;nbsp;ItemIterable&amp;lt;QueryResult&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #6a3e3e;"&gt;results&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #6a3e3e;"&gt;session&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;.query(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #6a3e3e;"&gt;queryString&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;, &lt;/SPAN&gt;&lt;STRONG style="color: #7f0055; font-size: 10.0pt; "&gt;false&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0cm 2.0pt 0cm;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; System.&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #0000c0; font-size: 10.0pt; "&gt;out&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;.println(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #2a00ff;"&gt;"results"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: #6a3e3e;"&gt;results&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;.getTotalNumItems());&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0cm 2.0pt 0cm;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Session Created successfully on &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;https://&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;&amp;lt;hosturl&amp;gt;&lt;/STRONG&gt;&lt;/SPAN&gt;/alfresco/api/-default-/public/cmis/versions/1.1/atom&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0cm 2.0pt 0cm;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;STAGING_AREA &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;C:\Temp\filenet\download&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0cm 2.0pt 0cm;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;----------&lt;/SPAN&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline; font-size: 10.0pt; "&gt;org.apache.chemistry.opencmis.commons.exceptions.CmisConnectionException&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;: Cannot access "&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;http://&lt;STRONG&gt;&amp;lt;hosturl&amp;gt;&lt;/STRONG&gt;:80/alfresco/api/-default-/public/cmis/versions/1.1/atom/query&lt;SPAN style="color: black;"&gt;": Connection timed out: connect&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0cm 2.0pt 0cm;"&gt;&lt;SPAN style="color: black; font-size: 10.0pt; "&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0cm 2.0pt 0cm;"&gt;&lt;SPAN style="color: black; font-size: 10.0pt; "&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 2.0pt 0cm 2.0pt 0cm;"&gt;&lt;SPAN style="color: black; font-size: 10.0pt; "&gt;Sandhya&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 8.0pt; color: #4e586a;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.5pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Sep 2019 12:16:18 GMT</pubDate>
    <dc:creator>sandhya_nair</dc:creator>
    <dc:date>2019-09-12T12:16:18Z</dc:date>
    <item>
      <title>Alfresco https cmis url is not working properly</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-https-cmis-url-is-not-working-properly/m-p/82934#M25426</link>
      <description>Hi All,I am using alfresco 6.1 version. We have configured the Alfresco environment using Kubernates on AWS cloud.Session is taken on HTTPS url but when trying to execute a CMIS Query it is using HTTP url. anyone know why it is taking http url.String queryString = "SELECT hr:test FROM hr:Test where</description>
      <pubDate>Thu, 12 Sep 2019 12:16:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-https-cmis-url-is-not-working-properly/m-p/82934#M25426</guid>
      <dc:creator>sandhya_nair</dc:creator>
      <dc:date>2019-09-12T12:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco https cmis url is not working properly</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-https-cmis-url-is-not-working-properly/m-p/82935#M25427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is in your alfresco-global.properties file for alfresco.protocol?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You also can try setting:&lt;/P&gt;&lt;P&gt;opencmis.server.override=true&lt;BR /&gt;opencmis.server.value=https://your-host-name.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2019 16:51:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-https-cmis-url-is-not-working-properly/m-p/82935#M25427</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2019-09-13T16:51:16Z</dc:date>
    </item>
  </channel>
</rss>

