質問編集履歴

7

2020/09/29 01:00

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -20,7 +20,7 @@
20
20
 
21
21
 
22
22
 
23
- また、不足している情報などがあればご教示ください。
23
+ 不足している情報などがあればご教示ください。
24
24
 
25
25
  よろしくお願いいたします。
26
26
 

6

2020/09/29 01:00

投稿

退会済みユーザー
test CHANGED
@@ -1 +1 @@
1
- 【解決者には1500円】docker-composeでelasticsearchへ繋げない
1
+ docker-composeでelasticsearchへ繋げない
test CHANGED
@@ -17,10 +17,6 @@
17
17
  Docker version 19.03.5
18
18
 
19
19
  docker-compose version 1.24.1
20
-
21
-
22
-
23
- 解決していただいた方にはiTunesカード、Google Playギフトカード、Amazonギフトカードなどで1500円お支払いいたします。
24
20
 
25
21
 
26
22
 

5

2020/09/29 00:59

投稿

退会済みユーザー
test CHANGED
@@ -1 +1 @@
1
- docker-composeでelasticsearchへの接続がFailed to open TCP connection to localhost:9200
1
+ 【解決者には1500円】docker-composeでelasticsearchへ繋げない
test CHANGED
@@ -20,7 +20,11 @@
20
20
 
21
21
 
22
22
 
23
+ 解決していただいた方にはiTunesカード、Google Playギフトカード、Amazonギフトカードなどで1500円お支払いいたします。
24
+
25
+
26
+
23
- 解決方法につご教示いたければ幸です
27
+ また、不足してる情報などがあればご教示い。
24
28
 
25
29
  よろしくお願いいたします。
26
30
 

4

2020/09/29 00:32

投稿

退会済みユーザー
test CHANGED
@@ -1 +1 @@
1
- docker-composeでelasticsearchへ繋げない
1
+ docker-composeでelasticsearchへの接続がFailed to open TCP connection to localhost:9200
test CHANGED
File without changes

3

2020/09/27 08:25

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -7,8 +7,6 @@
7
7
 
8
8
 
9
9
  railsからはsearchkickジェムを利用し、「bin/rails r Hoge.reindex」コマンドを叩いています。
10
-
11
-
12
10
 
13
11
 
14
12
 

2

2020/09/27 08:22

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -31,8 +31,6 @@
31
31
 
32
32
 
33
33
  ```
34
-
35
- /usr/local/lib/ruby/2.7.0/net/http.rb:960:in `open'
36
34
 
37
35
  /usr/local/lib/ruby/2.7.0/net/http.rb:960:in `initialize': Cannot assign requested address - connect(2) for "localhost" port 9200 (Errno::EADDRNOTAVAIL)
38
36
 

1

2020/09/26 18:53

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -32,105 +32,7 @@
32
32
 
33
33
  ```
34
34
 
35
- Running via Spring preloader in process 226
36
-
37
- Traceback (most recent call last):
38
-
39
- 48: from -e:1:in `<main>'
40
-
41
- 47: from /usr/local/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:72:in `require'
42
-
43
- 46: from /usr/local/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:72:in `require'
44
-
45
- 45: from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:in `load'
46
-
47
- 44: from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:59:in `load'
48
-
49
- 43: from /app/bin/rails:9:in `<main>'
50
-
51
- 42: from /app/vendor/bundle/ruby/2.7.0/gems/zeitwerk-2.4.0/lib/zeitwerk/kernel.rb:34:in `require'
52
-
53
- 41: from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
54
-
55
- 40: from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
56
-
57
- 39: from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
58
-
59
- 38: from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
60
-
61
- 37: from /app/vendor/bundle/ruby/2.7.0/gems/bootsnap-1.4.8/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
62
-
63
- 36: from /app/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.3/lib/rails/commands.rb:18:in `<main>'
64
-
65
- 35: from /app/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.3/lib/rails/command.rb:46:in `invoke'
66
-
67
- 34: from /app/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.3/lib/rails/command/base.rb:69:in `perform'
68
-
69
- 33: from /app/vendor/bundle/ruby/2.7.0/gems/thor-1.0.1/lib/thor.rb:392:in `dispatch'
70
-
71
- 32: from /app/vendor/bundle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/invocation.rb:127:in `invoke_command'
72
-
73
- 31: from /app/vendor/bundle/ruby/2.7.0/gems/thor-1.0.1/lib/thor/command.rb:27:in `run'
74
-
75
- 30: from /app/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.3/lib/rails/commands/runner/runner_command.rb:45:in `perform'
76
-
77
- 29: from /app/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.3/lib/rails/commands/runner/runner_command.rb:45:in `eval'
78
-
79
- 28: from /app/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.3/lib/rails/commands/runner/runner_command.rb:45:in `<main>'
80
-
81
- 27: from /app/vendor/bundle/ruby/2.7.0/gems/searchkick-4.3.1/lib/searchkick/model.rb:64:in `searchkick_reindex'
82
-
83
- 26: from /app/vendor/bundle/ruby/2.7.0/gems/searchkick-4.3.1/lib/searchkick/index.rb:207:in `reindex'
84
-
85
- 25: from /app/vendor/bundle/ruby/2.7.0/gems/searchkick-4.3.1/lib/searchkick/index.rb:290:in `reindex_scope'
86
-
87
- 24: from /app/vendor/bundle/ruby/2.7.0/gems/searchkick-4.3.1/lib/searchkick/index.rb:119:in `clean_indices'
88
-
89
- 23: from /app/vendor/bundle/ruby/2.7.0/gems/searchkick-4.3.1/lib/searchkick/index.rb:106:in `all_indices'
90
-
91
- 22: from /app/vendor/bundle/ruby/2.7.0/gems/elasticsearch-api-7.9.0/lib/elasticsearch/api/actions/indices/get_alias.rb:56:in `get_alias'
92
-
93
- 21: from /app/vendor/bundle/ruby/2.7.0/gems/elasticsearch-api-7.9.0/lib/elasticsearch/api/namespace/common.rb:38:in `perform_request'
94
-
95
- 20: from /app/vendor/bundle/ruby/2.7.0/gems/elasticsearch-transport-7.9.0/lib/elasticsearch/transport/client.rb:176:in `perform_request'
96
-
97
- 19: from /app/vendor/bundle/ruby/2.7.0/gems/elasticsearch-transport-7.9.0/lib/elasticsearch/transport/transport/http/faraday.rb:37:in `perform_request'
98
-
99
- 18: from /app/vendor/bundle/ruby/2.7.0/gems/elasticsearch-transport-7.9.0/lib/elasticsearch/transport/transport/base.rb:288:in `perform_request'
100
-
101
- 17: from /app/vendor/bundle/ruby/2.7.0/gems/elasticsearch-transport-7.9.0/lib/elasticsearch/transport/transport/http/faraday.rb:40:in `block in perform_request'
102
-
103
- 16: from /app/vendor/bundle/ruby/2.7.0/gems/faraday-1.0.1/lib/faraday/connection.rb:492:in `run_request'
104
-
105
- 15: from /app/vendor/bundle/ruby/2.7.0/gems/faraday-1.0.1/lib/faraday/rack_builder.rb:153:in `build_response'
106
-
107
- 14: from /app/vendor/bundle/ruby/2.7.0/gems/searchkick-4.3.1/lib/searchkick/middleware.rb:9:in `call'
108
-
109
- 13: from /app/vendor/bundle/ruby/2.7.0/gems/faraday-1.0.1/lib/faraday/adapter/net_http.rb:68:in `call'
110
-
111
- 12: from /app/vendor/bundle/ruby/2.7.0/gems/faraday-1.0.1/lib/faraday/adapter.rb:60:in `connection'
112
-
113
- 11: from /app/vendor/bundle/ruby/2.7.0/gems/faraday-1.0.1/lib/faraday/adapter/net_http.rb:70:in `block in call'
114
-
115
- 10: from /app/vendor/bundle/ruby/2.7.0/gems/faraday-1.0.1/lib/faraday/adapter/net_http.rb:128:in `perform_request'
116
-
117
- 9: from /app/vendor/bundle/ruby/2.7.0/gems/faraday-1.0.1/lib/faraday/adapter/net_http.rb:135:in `request_with_wrapped_block'
118
-
119
- 8: from /app/vendor/bundle/ruby/2.7.0/gems/faraday-1.0.1/lib/faraday/adapter/net_http.rb:144:in `request_via_get_method'
120
-
121
- 7: from /usr/local/lib/ruby/2.7.0/net/http.rb:932:in `start'
122
-
123
- 6: from /usr/local/lib/ruby/2.7.0/net/http.rb:943:in `do_start'
124
-
125
- 5: from /usr/local/lib/ruby/2.7.0/net/http.rb:958:in `connect'
126
-
127
- 4: from /usr/local/lib/ruby/2.7.0/timeout.rb:105:in `timeout'
128
-
129
- 3: from /usr/local/lib/ruby/2.7.0/timeout.rb:95:in `block in timeout'
130
-
131
- 2: from /usr/local/lib/ruby/2.7.0/net/http.rb:960:in `block in connect'
132
-
133
- 1: from /usr/local/lib/ruby/2.7.0/net/http.rb:960:in `open'
35
+ /usr/local/lib/ruby/2.7.0/net/http.rb:960:in `open'
134
36
 
135
37
  /usr/local/lib/ruby/2.7.0/net/http.rb:960:in `initialize': Cannot assign requested address - connect(2) for "localhost" port 9200 (Errno::EADDRNOTAVAIL)
136
38