<?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 Talend Log Server - elasticsearch connection issue in Installing and Upgrading</title>
    <link>https://community.qlik.com/t5/Installing-and-Upgrading/Talend-Log-Server-elasticsearch-connection-issue/m-p/2385960#M5347</link>
    <description>&lt;P&gt;I&amp;nbsp;have a question on&amp;nbsp;configuring the log server. I am getting a "Connection Failed - your elasticsearch server is down or unreachable".&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I updated elasticsearch.yml and set the following:&lt;/P&gt; 
&lt;P&gt;http.cors.enabled: true&lt;/P&gt; 
&lt;P&gt;http.cors.allow-origin: "&lt;A href="http://localhost:8080" target="_blank"&gt;http://localhost:8080&lt;/A&gt;"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I used localhost since both Kibana and Elasticsearch are running on the same machine. Tac and log server are on the same box.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I restarted the log server, but I am still getting the same message.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;When I try curl -sS -XGET localhost:9200, I get the following. So, it looks like Elasticsearch is running. Any ideas?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;{&lt;/P&gt; 
&lt;P&gt;"status" : 200,&lt;/P&gt; 
&lt;P&gt;"name" : "Power Skrull",&lt;/P&gt; 
&lt;P&gt;"cluster_name" : "talend-log-central",&lt;/P&gt; 
&lt;P&gt;"version" : {&lt;/P&gt; 
&lt;P&gt;"number" : "1.5.2",&lt;/P&gt; 
&lt;P&gt;"build_hash" : "62ff9868b4c8a0c45860bebb259e21980778ab1c",&lt;/P&gt; 
&lt;P&gt;"build_timestamp" : "2015-04-27T09:21:06Z",&lt;/P&gt; 
&lt;P&gt;"build_snapshot" : false,&lt;/P&gt; 
&lt;P&gt;"lucene_version" : "4.10.4"&lt;/P&gt; 
&lt;P&gt;},&lt;/P&gt; 
&lt;P&gt;"tagline" : "You Know, for Search"&lt;/P&gt; 
&lt;P&gt;}&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 09:39:12 GMT</pubDate>
    <dc:creator>radhikari</dc:creator>
    <dc:date>2024-11-16T09:39:12Z</dc:date>
    <item>
      <title>Talend Log Server - elasticsearch connection issue</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/Talend-Log-Server-elasticsearch-connection-issue/m-p/2385960#M5347</link>
      <description>&lt;P&gt;I&amp;nbsp;have a question on&amp;nbsp;configuring the log server. I am getting a "Connection Failed - your elasticsearch server is down or unreachable".&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I updated elasticsearch.yml and set the following:&lt;/P&gt; 
&lt;P&gt;http.cors.enabled: true&lt;/P&gt; 
&lt;P&gt;http.cors.allow-origin: "&lt;A href="http://localhost:8080" target="_blank"&gt;http://localhost:8080&lt;/A&gt;"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I used localhost since both Kibana and Elasticsearch are running on the same machine. Tac and log server are on the same box.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I restarted the log server, but I am still getting the same message.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;When I try curl -sS -XGET localhost:9200, I get the following. So, it looks like Elasticsearch is running. Any ideas?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;{&lt;/P&gt; 
&lt;P&gt;"status" : 200,&lt;/P&gt; 
&lt;P&gt;"name" : "Power Skrull",&lt;/P&gt; 
&lt;P&gt;"cluster_name" : "talend-log-central",&lt;/P&gt; 
&lt;P&gt;"version" : {&lt;/P&gt; 
&lt;P&gt;"number" : "1.5.2",&lt;/P&gt; 
&lt;P&gt;"build_hash" : "62ff9868b4c8a0c45860bebb259e21980778ab1c",&lt;/P&gt; 
&lt;P&gt;"build_timestamp" : "2015-04-27T09:21:06Z",&lt;/P&gt; 
&lt;P&gt;"build_snapshot" : false,&lt;/P&gt; 
&lt;P&gt;"lucene_version" : "4.10.4"&lt;/P&gt; 
&lt;P&gt;},&lt;/P&gt; 
&lt;P&gt;"tagline" : "You Know, for Search"&lt;/P&gt; 
&lt;P&gt;}&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:39:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/Talend-Log-Server-elasticsearch-connection-issue/m-p/2385960#M5347</guid>
      <dc:creator>radhikari</dc:creator>
      <dc:date>2024-11-16T09:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Log Server - elasticsearch connection issue</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/Talend-Log-Server-elasticsearch-connection-issue/m-p/2385961#M5348</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Have you already checked your elasticsearch server in TAC to see if it is running well(green)?&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2017 04:51:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/Talend-Log-Server-elasticsearch-connection-issue/m-p/2385961#M5348</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-12T04:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Log Server - elasticsearch connection issue</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/Talend-Log-Server-elasticsearch-connection-issue/m-p/2385962#M5349</link>
      <description>&lt;P&gt;In TAC - under Monitoring,&amp;nbsp;I see that Kibana is running (has a green check mark), but I don't see a place to configure Elasticsearch.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2017 12:41:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/Talend-Log-Server-elasticsearch-connection-issue/m-p/2385962#M5349</guid>
      <dc:creator>radhikari</dc:creator>
      <dc:date>2017-06-12T12:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Log Server - elasticsearch connection issue</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/Talend-Log-Server-elasticsearch-connection-issue/m-p/2385963#M5350</link>
      <description>&lt;P&gt;any update on this? we really need this resolved. Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2017 14:10:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/Talend-Log-Server-elasticsearch-connection-issue/m-p/2385963#M5350</guid>
      <dc:creator>radhikari</dc:creator>
      <dc:date>2017-06-13T14:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Log Server - elasticsearch connection issue</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/Talend-Log-Server-elasticsearch-connection-issue/m-p/2385964#M5351</link>
      <description>&lt;P&gt;Hello radhikari,&lt;BR /&gt;&lt;BR /&gt;I would suggest you to replace localhost with the external facing IP.&lt;/P&gt;
&lt;P&gt;The problem that you have is when you ping from TAC Kibana, Kibana is trying to get from your computer 'localhost' which is (unless you have installed TAC on your machine) not accessible.&lt;BR /&gt;&lt;BR /&gt;Another source of issue is when your TAC is under SSL and EL is through&amp;nbsp;HTTP. Tomcat will refuse the connection.&lt;BR /&gt;Last, could you indicate what is your version of Talend? As Talend&amp;nbsp;6.2 come with ELK version 1.x while Talend 6.3 implement ELK v5.x!&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2017 01:52:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/Talend-Log-Server-elasticsearch-connection-issue/m-p/2385964#M5351</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-14T01:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Log Server - elasticsearch connection issue</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/Talend-Log-Server-elasticsearch-connection-issue/m-p/2385965#M5352</link>
      <description>&lt;P&gt;We have log server and TAC running on the same host without SSL (for now).&lt;/P&gt;&lt;P&gt;We are using Talend 6.2.1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried using an external IP as well as "/.*/", but that didn't help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;http.cors.enabled: true&lt;/P&gt;&lt;P&gt;http.cors.allow-origin: "/.*/"&lt;/P&gt;&lt;P&gt;#http.cors.allow-origin: "http://&amp;lt;external_ip&amp;gt;:8080/"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2017 15:00:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/Talend-Log-Server-elasticsearch-connection-issue/m-p/2385965#M5352</guid>
      <dc:creator>radhikari</dc:creator>
      <dc:date>2017-06-14T15:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Log Server - elasticsearch connection issue</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/Talend-Log-Server-elasticsearch-connection-issue/m-p/2385966#M5353</link>
      <description>&lt;P&gt;Have you modified the logstash-talend.conf&lt;BR /&gt;output {&lt;BR /&gt;elasticsearch {&lt;BR /&gt;embedded =&amp;gt; false&lt;BR /&gt;host =&amp;gt; "yourhost"&amp;nbsp;&lt;BR /&gt;port =&amp;gt; 9200&lt;BR /&gt;protocol =&amp;gt; http&lt;BR /&gt;....&lt;BR /&gt;&lt;BR /&gt;For the elasticsearch.yml, I will stick to&amp;nbsp;&lt;SPAN&gt;http.cors.allow-origin: "http://&amp;lt;external_ip&amp;gt;:8080/"&lt;BR /&gt;&lt;BR /&gt;Have you tried to access Kibana directly http://localhost:8080/kibana?&lt;BR /&gt;I had the issue as well in the past where the allow-origin need to be type the exact same way you will type it on your browser.&lt;BR /&gt;Eg. your ext ip is 1.2.3.4 but you called with a DNS like&amp;nbsp;mysupertac.mycompany.com tomcat will struggle to process and it will be denied&lt;BR /&gt;&lt;BR /&gt;Please tell us your progress&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2017 00:40:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/Talend-Log-Server-elasticsearch-connection-issue/m-p/2385966#M5353</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-15T00:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Log Server - elasticsearch connection issue</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/Talend-Log-Server-elasticsearch-connection-issue/m-p/2385967#M5354</link>
      <description>&lt;P&gt;Yes, I have modified the logstash-talend.conf to include the proper hostname.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am using &lt;SPAN&gt;http.cors.allow-origin: "http://my_ip:8080/" in elasticsearch.yml.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;I can access Kibana directly from http://my_ip:8080/kibana, but I get the following message.&lt;/P&gt; 
&lt;P&gt;Connection Failed Possibility #1: Your elasticsearch server is down or unreachable&lt;/P&gt; 
&lt;P&gt;This can be caused by a network outage, or a failure of the Elasticsearch process. If you have recently run a query that required a &lt;I&gt;terms&lt;/I&gt; facet to be executed it is possible the process has run out of memory and stopped. Be sure to check your Elasticsearch logs for any sign of memory pressure.&lt;/P&gt; 
&lt;P&gt;Possibility #2: You are running Elasticsearch 1.4 or higher&lt;/P&gt; 
&lt;P&gt;Elasticsearch 1.4 ships with a security setting that prevents Kibana from connecting. You will need to set the following in your elasticsearch.yml:&lt;/P&gt; 
&lt;OL&gt; 
 &lt;LI&gt;&lt;I&gt;http.cors.enabled: true&lt;/I&gt;&lt;/LI&gt; 
 &lt;LI&gt;&lt;I&gt;http.cors.allow-origin&lt;/I&gt; to the correct protocol, hostname, and port (if not 80) that your access Kibana from. Note that if you are running Kibana in a sub-url, you should exclude the sub-url path and only include the protocol, hostname and port. For example, &lt;I&gt;&lt;A href="http://mycompany.com:8080" target="_blank" rel="nofollow noopener noreferrer"&gt;http://mycompany.com:8080&lt;/A&gt;&lt;/I&gt;, not &lt;I&gt;&lt;A href="http://mycompany.com:8080/kibana" target="_blank" rel="nofollow noopener noreferrer"&gt;http://mycompany.com:8080/kibana&lt;/A&gt;&lt;/I&gt;.&lt;/LI&gt; 
&lt;/OL&gt;</description>
      <pubDate>Thu, 15 Jun 2017 00:55:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/Talend-Log-Server-elasticsearch-connection-issue/m-p/2385967#M5354</guid>
      <dc:creator>radhikari</dc:creator>
      <dc:date>2017-06-15T00:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Log Server - elasticsearch connection issue</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/Talend-Log-Server-elasticsearch-connection-issue/m-p/2385968#M5355</link>
      <description>Just to be sure, everything is distributed in HTTP not HTTPS?</description>
      <pubDate>Wed, 21 Jun 2017 01:00:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/Talend-Log-Server-elasticsearch-connection-issue/m-p/2385968#M5355</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-21T01:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Talend Log Server - elasticsearch connection issue</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/Talend-Log-Server-elasticsearch-connection-issue/m-p/2385969#M5356</link>
      <description>&lt;P&gt;correct, everything is distributed in HTTP. We were able to finally resolve this issue. We have Talend running in AWS and port 9200 isn't open in our network. So, we had to switch to a port that was open.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2017 21:31:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/Talend-Log-Server-elasticsearch-connection-issue/m-p/2385969#M5356</guid>
      <dc:creator>radhikari</dc:creator>
      <dc:date>2017-06-21T21:31:21Z</dc:date>
    </item>
  </channel>
</rss>

