質問編集履歴

3

一部修正

2020/06/24 12:17

投稿

Randy_Tozuka
Randy_Tozuka

スコア19

test CHANGED
File without changes
test CHANGED
@@ -4,7 +4,9 @@
4
4
 
5
5
 
6
6
 
7
- 0. Herokuのサイン
7
+ <Herokuのサイン>
8
+
9
+
8
10
 
9
11
  We're sorry, but something went wrong.
10
12
 
@@ -12,7 +14,7 @@
12
14
 
13
15
 
14
16
 
15
- 0. herokuのログ
17
+ <herokuのログ>
16
18
 
17
19
  > 2020-06-24T12:10:45.771082+00:00 app[web.1]:
18
20
 
@@ -36,7 +38,7 @@
36
38
 
37
39
 
38
40
 
39
- 0. config/environments/production.rb の環境設定
41
+ <config/environments/production.rb の環境設定>
40
42
 
41
43
  ```Ruby
42
44
 

2

Heroku ログを更新

2020/06/24 12:17

投稿

Randy_Tozuka
Randy_Tozuka

スコア19

test CHANGED
File without changes
test CHANGED
@@ -12,33 +12,31 @@
12
12
 
13
13
 
14
14
 
15
- 0. herokuのログの最初の部分logを見る限り、赤文字でerrorのような箇所が見当たらず、それらしきものはstatus = 500 という文字が赤文字になっています。
15
+ 0. herokuのログ
16
16
 
17
- > ubuntu:~/environment/sample_app (master) $ heroku logs
17
+ > 2020-06-24T12:10:45.771082+00:00 app[web.1]:
18
18
 
19
- 2020-06-24T07:25:29.995968+00:00 app[web.1]:
19
+ 2020-06-24T12:10:45.771082+00:00 app[web.1]: ----==_mimepart_5ef342c5b907b_a2b1320468f1c70566--
20
20
 
21
- 2020-06-24T07:25:29.995968+00:00 app[web.1]: Hi Randy Tozuka,
21
+ 2020-06-24T12:10:45.771083+00:00 app[web.1]:
22
22
 
23
- 2020-06-24T07:25:29.995968+00:00 app[web.1]:
23
+ 2020-06-24T12:10:45.771633+00:00 app[web.1]: I, [2020-06-24T12:10:45.771557 #10] INFO -- : [5586b325-0aec-4c69-ba59-808108915ad3] Completed 500 Internal Server Error in 1340ms (ActiveRecord: 14.7ms | Allocations: 6005)
24
24
 
25
- 2020-06-24T07:25:29.995969+00:00 app[web.1]: Welcome to the Sample App! Click on the link below to activate your account:
25
+ 2020-06-24T12:10:45.773148+00:00 app[web.1]: F, [2020-06-24T12:10:45.772901 #10] FATAL -- : [5586b325-0aec-4c69-ba59-808108915ad3]
26
26
 
27
- 2020-06-24T07:25:29.995969+00:00 app[web.1]:
27
+ 2020-06-24T12:10:45.773149+00:00 app[web.1]: [5586b325-0aec-4c69-ba59-808108915ad3] ArgumentError (SMTP-AUTH requested but missing secret phrase):
28
28
 
29
- 2020-06-24T07:25:29.995970+00:00 app[web.1]: https://guarded-wildwood-41214.herokuapp.com/account_activations/S3ZIwj3YjYemyUMDC-zcGw/edit?email=kazm1208%40me.com
29
+ 2020-06-24T12:10:45.773150+00:00 app[web.1]: [5586b325-0aec-4c69-ba59-808108915ad3]
30
30
 
31
- 2020-06-24T07:25:29.995970+00:00 app[web.1]:
31
+ 2020-06-24T12:10:45.773150+00:00 app[web.1]: [5586b325-0aec-4c69-ba59-808108915ad3] app/models/user.rb:55:in `send_activation_email'
32
32
 
33
-
33
+ 2020-06-24T12:10:45.773151+00:00 app[web.1]: [5586b325-0aec-4c69-ba59-808108915ad3] app/controllers/users_controller.rb:28:in `create'
34
34
 
35
-
36
-
37
-
35
+ 2020-06-24T12:10:45.774894+00:00 heroku[router]: at=info method=POST path="/users" host=guarded-wildwood-41214.herokuapp.com request_id=5586b325-0aec-4c69-ba59-808108915ad3 fwd="58.159.14.129" dyno=web.1 connect=0ms service=1359ms status=500 bytes=1891 protocol=https
38
36
 
39
37
 
40
38
 
41
- 3.config/environments/production.rb の環境設定は下記の通りです
39
+ 0. config/environments/production.rb の環境設定
42
40
 
43
41
  ```Ruby
44
42
 

1

タイトルの変更

2020/06/24 12:14

投稿

Randy_Tozuka
Randy_Tozuka

スコア19

test CHANGED
@@ -1 +1 @@
1
- Heroku SendGridが動作しませんので解決法をご教示ください
1
+ Railsチュートリアル11章 Heroku SendGridが動作しません(涙)
test CHANGED
File without changes