<?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: ADF CORS with Alfresco in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/adf-cors-with-alfresco/m-p/13369#M5907</link>
    <description>&lt;P&gt;Good afternoon.&lt;/P&gt;&lt;P&gt;No recommendation in topics solves the problem I have.&lt;/P&gt;&lt;P&gt;The ADF that I implement on another server is the war package that is installed on the NEXUS Hyland and I am not doing any customization. I just want to install this .war on a Tomcat on another server. On this server Tomcat is installed correctly on port 8080, so my adf url is:&lt;BR /&gt;&lt;A href="http://localhost:8080/alfresco-digital-workspace-2.0.0" target="_blank" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco-digital-workspace-2.0.0&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;I'm pointing this application to another server that is on AWS with the following url:&lt;BR /&gt;http://&amp;lt;ip&amp;gt;:8080/alfresco&lt;/P&gt;&lt;P&gt;But when trying to log in to Alfresco Digital Workspace from anywhere it says ""Request has been terminated Possible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc."&lt;/P&gt;&lt;P&gt;What and where can and should I change something?&lt;/P&gt;&lt;P&gt;I tried to put filter inside Tomcat web.conf of Alfresco Server, change alfresco-global.properties and nothing.&lt;/P&gt;&lt;P&gt;I don't have access to proxy.json.conf that could direct something because I'm using the NEXUS .war file.&lt;/P&gt;&lt;P&gt;Can you help me?&lt;/P&gt;</description>
    <pubDate>Fri, 18 Feb 2022 20:25:43 GMT</pubDate>
    <dc:creator>marcog</dc:creator>
    <dc:date>2022-02-18T20:25:43Z</dc:date>
    <item>
      <title>ADF CORS with Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/adf-cors-with-alfresco/m-p/13366#M5904</link>
      <description>&lt;P&gt;I am installing ADF on Isolated Server to connect with another ACS Community server. I'm not using the APS part.&lt;/P&gt;&lt;P&gt;I installed Tomcat on an Ubuntu 18.04 Desktop and downloaded it from the Hyland Alfresco website version to connect to Alfresco 6.2.&lt;/P&gt;&lt;P&gt;After tomcat created the corresponding folder, I changed the app.config.json file as requested by the documentation, including the url of the Alfresco server.&lt;/P&gt;&lt;P&gt;When I open the Alfresco Digital Workspace local url and try to login, it gives me the following error message:&lt;BR /&gt;"Request has been terminated Possible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc."&lt;/P&gt;&lt;P&gt;Already include the following lines in alfresco-global.properties (Alfresco server):&lt;BR /&gt;cors.enabled=true&lt;BR /&gt;cors.allowed.origins="*"&lt;BR /&gt;cors.allowed.methods=GET,POST,PUT&lt;BR /&gt;cors.allowed.headers=Authorization,Content-Type,Cache-Control,X-Requested-With,X-CSRF-Token&lt;BR /&gt;cors.exposed.headers=Access-Control-Allow-Origin,Access-Control-Allow-Credentials&lt;BR /&gt;cors.support.credentials=true&lt;BR /&gt;cors.preflight.maxage=10&lt;/P&gt;&lt;P&gt;But without success.&lt;/P&gt;&lt;P&gt;I also put the filter in the tomcat/conf/web.xml file on the ADF application server.&lt;BR /&gt;&amp;lt;filter&amp;gt;&lt;BR /&gt;&amp;lt;filter-name&amp;gt;CorsFilter&amp;lt;/filter-name&amp;gt;&lt;BR /&gt;&amp;lt;filter-class&amp;gt;org.apache.catalina.filters.CorsFilter&amp;lt;/filter-class&amp;gt;&lt;BR /&gt;&amp;lt;init-param&amp;gt;&lt;BR /&gt;&amp;lt;param-name&amp;gt;cors.allowed.origins&amp;lt;/param-name&amp;gt;&lt;BR /&gt;&amp;lt;param-value&amp;gt;URL_ALLOWED_ORIGIN&amp;lt;/param-value&amp;gt;&lt;BR /&gt;&amp;lt;/init-param&amp;gt;&lt;BR /&gt;&amp;lt;init-param&amp;gt;&lt;BR /&gt;&amp;lt;param-name&amp;gt;cors.allowed.methods&amp;lt;/param-name&amp;gt;&lt;BR /&gt;&amp;lt;param-value&amp;gt;GET,POST,HEAD,OPTIONS,PUT&amp;lt;/param-value&amp;gt;&lt;BR /&gt;&amp;lt;/init-param&amp;gt;&lt;BR /&gt;&amp;lt;init-param&amp;gt;&lt;BR /&gt;&amp;lt;param-name&amp;gt;cors.allowed.headers&amp;lt;/param-name&amp;gt;&lt;BR /&gt;&amp;lt;param-value&amp;gt;Content-Type,X-Requested-With,accept,Origin,Access-Control-Request-Method,Access-Control-Request-Headers&amp;lt;/param-value&amp;gt;&lt;BR /&gt;&amp;lt;/init-param&amp;gt;&lt;BR /&gt;&amp;lt;init-param&amp;gt;&lt;BR /&gt;&amp;lt;param-name&amp;gt;cors.exposed.headers&amp;lt;/param-name&amp;gt;&lt;BR /&gt;&amp;lt;param-value&amp;gt;Access-Control-Allow-Origin,Access-Control-Allow-Credentials&amp;lt;/param-value&amp;gt;&lt;BR /&gt;&amp;lt;/init-param&amp;gt;&lt;BR /&gt;&amp;lt;init-param&amp;gt;&lt;BR /&gt;&amp;lt;param-name&amp;gt;cors.support.credentials&amp;lt;/param-name&amp;gt;&lt;BR /&gt;&amp;lt;param-value&amp;gt;true&amp;lt;/param-value&amp;gt;&lt;BR /&gt;&amp;lt;/init-param&amp;gt;&lt;BR /&gt;&amp;lt;init-param&amp;gt;&lt;BR /&gt;&amp;lt;param-name&amp;gt;cors.preflight.maxage&amp;lt;/param-name&amp;gt;&lt;BR /&gt;&amp;lt;param-value&amp;gt;10&amp;lt;/param-value&amp;gt;&lt;BR /&gt;&amp;lt;/init-param&amp;gt;&lt;BR /&gt;&amp;lt;/filter&amp;gt;&lt;BR /&gt;&amp;lt;filter-mapping&amp;gt;&lt;BR /&gt;&amp;lt;filter-name&amp;gt;CorsFilter&amp;lt;/filter-name&amp;gt;&lt;BR /&gt;&amp;lt;url-pattern&amp;gt;/*&amp;lt;/url-pattern&amp;gt;&lt;BR /&gt;&amp;lt;/filter-mapping&amp;gt;&lt;BR /&gt;But also without success.&lt;/P&gt;&lt;P&gt;What is the best way to enable CORS or if I'm doing something in the wrong file.&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 20:43:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/adf-cors-with-alfresco/m-p/13366#M5904</guid>
      <dc:creator>marcog</dc:creator>
      <dc:date>2022-02-16T20:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: ADF CORS with Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/adf-cors-with-alfresco/m-p/13367#M5905</link>
      <description>&lt;P&gt;This thread will help you :&amp;nbsp;&lt;A href="https://hub.alfresco.com/t5/application-development/installing-alfresco-content-services-as-adf-service-layer/ba-p/289812" target="_blank" rel="nofollow noopener noreferrer"&gt;https://hub.alfresco.com/t5/application-development/installing-alfresco-content-services-as-adf-service-layer/ba-p/289812&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 04:36:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/adf-cors-with-alfresco/m-p/13367#M5905</guid>
      <dc:creator>sp2</dc:creator>
      <dc:date>2022-02-17T04:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: ADF CORS with Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/adf-cors-with-alfresco/m-p/13368#M5906</link>
      <description>&lt;P&gt;Good afternoon.&lt;/P&gt;&lt;P&gt;I had already seen this post about installing Alfresco 5.2, enablecors.jar.&lt;/P&gt;&lt;P&gt;But I'm using Alfresco 6.2 and I installed enablecors.jar but without success.&lt;/P&gt;&lt;P&gt;I created a Banco Novo and removed all Solr indexes and it does not install successfully.&lt;/P&gt;&lt;P&gt;I followed the steps in the url you sent me.&lt;/P&gt;&lt;P&gt;I believe that enablecors.jar is for the 5.2 environment, correct?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marco Gianini&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 17:34:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/adf-cors-with-alfresco/m-p/13368#M5906</guid>
      <dc:creator>marcog</dc:creator>
      <dc:date>2022-02-17T17:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: ADF CORS with Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/adf-cors-with-alfresco/m-p/13369#M5907</link>
      <description>&lt;P&gt;Good afternoon.&lt;/P&gt;&lt;P&gt;No recommendation in topics solves the problem I have.&lt;/P&gt;&lt;P&gt;The ADF that I implement on another server is the war package that is installed on the NEXUS Hyland and I am not doing any customization. I just want to install this .war on a Tomcat on another server. On this server Tomcat is installed correctly on port 8080, so my adf url is:&lt;BR /&gt;&lt;A href="http://localhost:8080/alfresco-digital-workspace-2.0.0" target="_blank" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco-digital-workspace-2.0.0&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;I'm pointing this application to another server that is on AWS with the following url:&lt;BR /&gt;http://&amp;lt;ip&amp;gt;:8080/alfresco&lt;/P&gt;&lt;P&gt;But when trying to log in to Alfresco Digital Workspace from anywhere it says ""Request has been terminated Possible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc."&lt;/P&gt;&lt;P&gt;What and where can and should I change something?&lt;/P&gt;&lt;P&gt;I tried to put filter inside Tomcat web.conf of Alfresco Server, change alfresco-global.properties and nothing.&lt;/P&gt;&lt;P&gt;I don't have access to proxy.json.conf that could direct something because I'm using the NEXUS .war file.&lt;/P&gt;&lt;P&gt;Can you help me?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 20:25:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/adf-cors-with-alfresco/m-p/13369#M5907</guid>
      <dc:creator>marcog</dc:creator>
      <dc:date>2022-02-18T20:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: ADF CORS with Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/adf-cors-with-alfresco/m-p/13370#M5908</link>
      <description>&lt;P&gt;No recommendation in topics solves the problem I have.&lt;/P&gt;&lt;P&gt;The ADF that I implement on another server is the war package that is installed on the NEXUS Hyland and I am not doing any customization. I just want to install this .war on a Tomcat on another server. On this server Tomcat is installed correctly on port 8080, so my adf url is:&lt;BR /&gt;&lt;A href="http://localhost:8080/alfresco-digital-workspace-2.0.0" target="_blank" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco-digital-workspace-2.0.0&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;I'm pointing this application to another server that is on AWS with the following url:&lt;BR /&gt;http://&amp;lt;ip&amp;gt;:8080/alfresco&lt;/P&gt;&lt;P&gt;But when trying to log in to Alfresco Digital Workspace from anywhere it says ""Request has been terminated Possible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc."&lt;/P&gt;&lt;P&gt;What and where can and should I change something?&lt;/P&gt;&lt;P&gt;I tried to put filter inside Tomcat web.conf of Alfresco Server, change alfresco-global.properties and nothing.&lt;/P&gt;&lt;P&gt;I don't have access to proxy.json.conf that could direct something because I'm using the NEXUS .war file.&lt;/P&gt;&lt;P&gt;Can you help me?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Feb 2022 12:28:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/adf-cors-with-alfresco/m-p/13370#M5908</guid>
      <dc:creator>marcog</dc:creator>
      <dc:date>2022-02-21T12:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: ADF CORS with Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/adf-cors-with-alfresco/m-p/13371#M5909</link>
      <description>&lt;P&gt;Did you try this property in alfresco?&lt;/P&gt;&lt;P&gt;csrf.filter.enabled=false&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 04:02:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/adf-cors-with-alfresco/m-p/13371#M5909</guid>
      <dc:creator>sp2</dc:creator>
      <dc:date>2022-03-02T04:02:05Z</dc:date>
    </item>
  </channel>
</rss>

