質問編集履歴

2

内容の修正

2021/03/23 04:23

投稿

opqrstu
opqrstu

スコア0

test CHANGED
@@ -1 +1 @@
1
- Rおkげああhfcd
1
+ Redmineメール送れない
test CHANGED
@@ -1,33 +1,59 @@
1
1
  ```
2
2
 
3
- エラーメッセージ
3
+ エラーメッセージscore 0
4
-
5
- ```
6
4
 
7
5
 
8
6
 
7
+ redmineからメールを送信したいがテストメールを送信すると
8
+
9
- ### 該当のソースコード
9
+ 以下エラーが発生しました。
10
10
 
11
11
 
12
12
 
13
- ```ここに言語名を入力
13
+ 発生している問題・エラーメッセージ
14
14
 
15
- ソースコード
15
+ Internal error
16
16
 
17
- ```
17
+ An error occurred on the page you were trying to access.
18
+
19
+ If you continue to experience problems please contact your Redmine administrator for assistance.
18
20
 
19
21
 
20
22
 
21
- ### 試したこと
23
+ If you are the Redmine administrator, check your log files for details about the error.
22
24
 
23
25
 
24
26
 
25
- ここに問題に対して試したこを記載してください。
27
+ /var/log/nginx/error.logをみる
28
+
29
+ [error] 14049#0: *20 upstream prematurely closed connection while reading response header from upstream,
30
+
31
+ client: 0.0.0.0, server: _, request: "POST /admin/test_email HTTP/1.1",
32
+
33
+ upstream: "http://unix:/var/lib/redmine/tmp/sockets/redmine.sock:/admin/test_email",
34
+
35
+ host: "0.0.0.0, referrer: "http://0.0.0.0,/settings?tab=notifications"
26
36
 
27
37
 
28
38
 
29
- ### 補足情報(FW/ツールのバージョンなど)
39
+ ※IPアドレスはぼかしています
30
40
 
31
41
 
32
42
 
43
+ unicorn.stderr.log
44
+
45
+ ERROR -- : worker=0 PID:14544 timeout (31s > 30s), killing
46
+
47
+ ERROR -- : reaped #<Process::Status: pid 14544 SIGKILL (signal 9)> worker=0
48
+
49
+ could not change user, oh well
50
+
51
+
52
+
53
+ /var/log/nginx/error.logエラーメッセージについて調べたら、
54
+
33
- ここにより詳細な情報を記載しください。
55
+ timeoutの時間が原因と書いあったので
56
+
57
+ unicorn.rbファイルのtimeout部分を30から120に変更しましたがエラーは変わりませんでした。
58
+
59
+ メールが送信できるようにするにはどのように設定すればよいでしょうか。

1

ぐいういふjk

2021/03/23 04:23

投稿

opqrstu
opqrstu

スコア0

test CHANGED
@@ -1 +1 @@
1
- Redmineメール送信できない
1
+ Rおkげああhfcd
test CHANGED
@@ -1,53 +1,3 @@
1
- ### 前提・実現したいこと
2
-
3
- redmineからメールを送信したいがテストメールを送信すると
4
-
5
- 以下エラーが発生しました。
6
-
7
-
8
-
9
-
10
-
11
- ### 発生している問題・エラーメッセージ
12
-
13
- Internal error
14
-
15
- An error occurred on the page you were trying to access.
16
-
17
- If you continue to experience problems please contact your Redmine administrator for assistance.
18
-
19
-
20
-
21
- If you are the Redmine administrator, check your log files for details about the error.
22
-
23
-
24
-
25
- /var/log/nginx/error.logをみると
26
-
27
- [error] 14049#0: *20 upstream prematurely closed connection while reading response header from upstream,
28
-
29
- client: 0.0.0.0, server: _, request: "POST /admin/test_email HTTP/1.1",
30
-
31
- upstream: "http://unix:/var/lib/redmine/tmp/sockets/redmine.sock:/admin/test_email",
32
-
33
- host: "0.0.0.0, referrer: "http://0.0.0.0,/settings?tab=notifications"
34
-
35
-
36
-
37
- ※IPアドレスはぼかしています
38
-
39
-
40
-
41
- unicorn.stderr.log
42
-
43
- ERROR -- : worker=0 PID:14544 timeout (31s > 30s), killing
44
-
45
- ERROR -- : reaped #<Process::Status: pid 14544 SIGKILL (signal 9)> worker=0
46
-
47
- could not change user, oh well
48
-
49
-
50
-
51
1
  ```
52
2
 
53
3
  エラーメッセージ