<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>memoryliang-github</title>
    <link>https://ruby-china.org/memoryliang-github</link>
    <description/>
    <language>en-us</language>
    <item>
      <title>安装报错 Failed to open TCP connection to elasticsearch:9200 (getaddrinfo: Name does not resolve)</title>
      <description>&lt;p&gt;具体错误提示如下：请问如何解决&lt;/p&gt;

&lt;hr&gt;

&lt;p&gt;#&amp;gt;&lt;/p&gt;

&lt;p&gt;/usr/local/lib/ruby/2.7.0/net/http.rb:960:in &lt;code&gt;initialize'
/usr/local/lib/ruby/2.7.0/net/http.rb:960:in&lt;/code&gt;open'
/usr/local/lib/ruby/2.7.0/net/http.rb:960:in &lt;code&gt;block in connect'
/usr/local/lib/ruby/2.7.0/timeout.rb:95:in&lt;/code&gt;block in timeout'
/usr/local/lib/ruby/2.7.0/timeout.rb:105:in &lt;code&gt;timeout'
/usr/local/lib/ruby/2.7.0/net/http.rb:958:in&lt;/code&gt;connect'
/usr/local/lib/ruby/2.7.0/net/http.rb:943:in &lt;code&gt;do_start'
/usr/local/lib/ruby/2.7.0/net/http.rb:932:in&lt;/code&gt;start'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/faraday-1.0.1/lib/faraday/adapter/net_http.rb:152:in &lt;code&gt;request_via_request_method'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/faraday-1.0.1/lib/faraday/adapter/net_http.rb:137:in&lt;/code&gt;request_with_wrapped_block'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/faraday-1.0.1/lib/faraday/adapter/net_http.rb:128:in &lt;code&gt;perform_request'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/faraday-1.0.1/lib/faraday/adapter/net_http.rb:70:in&lt;/code&gt;block in call'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/faraday-1.0.1/lib/faraday/adapter.rb:60:in &lt;code&gt;connection'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/faraday-1.0.1/lib/faraday/adapter/net_http.rb:68:in&lt;/code&gt;call'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/faraday-1.0.1/lib/faraday/rack_builder.rb:153:in &lt;code&gt;build_response'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/faraday-1.0.1/lib/faraday/connection.rb:492:in&lt;/code&gt;run_request'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/elasticsearch-transport-7.6.0/lib/elasticsearch/transport/transport/http/faraday.rb:27:in &lt;code&gt;block in perform_request'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/elasticsearch-transport-7.6.0/lib/elasticsearch/transport/transport/base.rb:274:in&lt;/code&gt;perform_request'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/elasticsearch-transport-7.6.0/lib/elasticsearch/transport/transport/http/faraday.rb:24:in &lt;code&gt;perform_request'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/elasticsearch-transport-7.6.0/lib/elasticsearch/transport/client.rb:163:in&lt;/code&gt;perform_request'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/elasticsearch-api-7.6.0/lib/elasticsearch/api/actions/index.rb:64:in &lt;code&gt;index'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/elasticsearch-model-7.1.0/lib/elasticsearch/model/indexing.rb:377:in&lt;/code&gt;index_document'
/home/app/homeland/app/jobs/search_indexer.rb:25:in &lt;code&gt;perform'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activejob-6.0.3.1/lib/active_job/execution.rb:40:in&lt;/code&gt;block in perform_now'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/callbacks.rb:112:in &lt;code&gt;block in run_callbacks'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/i18n-1.8.3/lib/i18n.rb:313:in&lt;/code&gt;with_locale'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activejob-6.0.3.1/lib/active_job/translation.rb:9:in &lt;code&gt;block (2 levels) in &amp;lt;module:Translation&amp;gt;'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/callbacks.rb:121:in&lt;/code&gt;instance_exec'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/callbacks.rb:121:in &lt;code&gt;block in run_callbacks'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/core_ext/time/zones.rb:66:in&lt;/code&gt;use_zone'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activejob-6.0.3.1/lib/active_job/timezones.rb:9:in &lt;code&gt;block (2 levels) in &amp;lt;module:Timezones&amp;gt;'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/callbacks.rb:121:in&lt;/code&gt;instance_exec'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/callbacks.rb:121:in &lt;code&gt;block in run_callbacks'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activejob-6.0.3.1/lib/active_job/logging.rb:25:in&lt;/code&gt;block (4 levels) in &lt;a rel="nofollow" target="_blank"&gt;module:Logging&lt;/a&gt;'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/notifications.rb:180:in &lt;code&gt;block in instrument'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/notifications/instrumenter.rb:24:in&lt;/code&gt;instrument'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/notifications.rb:180:in &lt;code&gt;instrument'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activejob-6.0.3.1/lib/active_job/logging.rb:24:in&lt;/code&gt;block (3 levels) in &lt;a rel="nofollow" target="_blank"&gt;module:Logging&lt;/a&gt;'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activejob-6.0.3.1/lib/active_job/logging.rb:45:in &lt;code&gt;block in tag_logger'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/tagged_logging.rb:80:in&lt;/code&gt;block in tagged'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/tagged_logging.rb:28:in &lt;code&gt;tagged'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/tagged_logging.rb:80:in&lt;/code&gt;tagged'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activejob-6.0.3.1/lib/active_job/logging.rb:45:in &lt;code&gt;tag_logger'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activejob-6.0.3.1/lib/active_job/logging.rb:21:in&lt;/code&gt;block (2 levels) in &lt;a rel="nofollow" target="_blank"&gt;module:Logging&lt;/a&gt;'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/callbacks.rb:121:in &lt;code&gt;instance_exec'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/callbacks.rb:121:in&lt;/code&gt;block in run_callbacks'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/callbacks.rb:139:in &lt;code&gt;run_callbacks'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activejob-6.0.3.1/lib/active_job/execution.rb:39:in&lt;/code&gt;perform_now'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activejob-6.0.3.1/lib/active_job/execution.rb:25:in &lt;code&gt;block in execute'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/callbacks.rb:112:in&lt;/code&gt;block in run_callbacks'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activejob-6.0.3.1/lib/active_job/railtie.rb:43:in &lt;code&gt;block (4 levels) in &amp;lt;class:Railtie&amp;gt;'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/execution_wrapper.rb:88:in&lt;/code&gt;wrap'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/reloader.rb:72:in &lt;code&gt;block in wrap'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/execution_wrapper.rb:84:in&lt;/code&gt;wrap'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/reloader.rb:71:in &lt;code&gt;wrap'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activejob-6.0.3.1/lib/active_job/railtie.rb:42:in&lt;/code&gt;block (3 levels) in &lt;a rel="nofollow" target="_blank"&gt;class:Railtie&lt;/a&gt;'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/callbacks.rb:121:in &lt;code&gt;instance_exec'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/callbacks.rb:121:in&lt;/code&gt;block in run_callbacks'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/callbacks.rb:139:in &lt;code&gt;run_callbacks'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activejob-6.0.3.1/lib/active_job/execution.rb:23:in&lt;/code&gt;execute'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activejob-6.0.3.1/lib/active_job/queue_adapters/sidekiq_adapter.rb:42:in &lt;code&gt;perform'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/sidekiq-6.0.7/lib/sidekiq/processor.rb:196:in&lt;/code&gt;execute_job'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/sidekiq-6.0.7/lib/sidekiq/processor.rb:164:in &lt;code&gt;block (2 levels) in process'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/sidekiq-6.0.7/lib/sidekiq/middleware/chain.rb:133:in&lt;/code&gt;invoke'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/sidekiq-6.0.7/lib/sidekiq/processor.rb:163:in &lt;code&gt;block in process'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/sidekiq-6.0.7/lib/sidekiq/processor.rb:136:in&lt;/code&gt;block (6 levels) in dispatch'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/sidekiq-6.0.7/lib/sidekiq/job_retry.rb:111:in &lt;code&gt;local'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/sidekiq-6.0.7/lib/sidekiq/processor.rb:135:in&lt;/code&gt;block (5 levels) in dispatch'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/sidekiq-6.0.7/lib/sidekiq/rails.rb:43:in &lt;code&gt;block in call'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/execution_wrapper.rb:88:in&lt;/code&gt;wrap'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/reloader.rb:72:in &lt;code&gt;block in wrap'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/execution_wrapper.rb:88:in&lt;/code&gt;wrap'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/reloader.rb:71:in &lt;code&gt;wrap'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/sidekiq-6.0.7/lib/sidekiq/rails.rb:42:in&lt;/code&gt;call'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/sidekiq-6.0.7/lib/sidekiq/processor.rb:131:in &lt;code&gt;block (4 levels) in dispatch'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/sidekiq-6.0.7/lib/sidekiq/processor.rb:257:in&lt;/code&gt;stats'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/sidekiq-6.0.7/lib/sidekiq/processor.rb:126:in &lt;code&gt;block (3 levels) in dispatch'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/sidekiq-6.0.7/lib/sidekiq/job_logger.rb:13:in&lt;/code&gt;call'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/sidekiq-6.0.7/lib/sidekiq/processor.rb:125:in &lt;code&gt;block (2 levels) in dispatch'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/sidekiq-6.0.7/lib/sidekiq/job_retry.rb:78:in&lt;/code&gt;global'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/sidekiq-6.0.7/lib/sidekiq/processor.rb:124:in &lt;code&gt;block in dispatch'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/sidekiq-6.0.7/lib/sidekiq/logger.rb:10:in&lt;/code&gt;with'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/sidekiq-6.0.7/lib/sidekiq/job_logger.rb:33:in &lt;code&gt;prepare'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/sidekiq-6.0.7/lib/sidekiq/processor.rb:123:in&lt;/code&gt;dispatch'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/sidekiq-6.0.7/lib/sidekiq/processor.rb:162:in &lt;code&gt;process'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/sidekiq-6.0.7/lib/sidekiq/processor.rb:78:in&lt;/code&gt;process_one'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/sidekiq-6.0.7/lib/sidekiq/processor.rb:68:in &lt;code&gt;run'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/sidekiq-6.0.7/lib/sidekiq/util.rb:15:in&lt;/code&gt;watchdog'
/home/app/homeland/vendor/bundle/ruby/2.7.0/gems/sidekiq-6.0.7/lib/sidekiq/util.rb:24:in `block in safe_thread'&lt;/p&gt;</description>
      <author>memoryliang-github</author>
      <pubDate>Tue, 30 Jun 2020 08:00:59 +0800</pubDate>
      <link>https://ruby-china.org/topics/40081</link>
      <guid>https://ruby-china.org/topics/40081</guid>
    </item>
  </channel>
</rss>
