質問編集履歴

3

情報修正

2018/07/28 10:26

投稿

Sugisan
Sugisan

スコア14

test CHANGED
File without changes
test CHANGED
@@ -26,19 +26,19 @@
26
26
 
27
27
  ```Ruby on Rails
28
28
 
29
- 2018-07-28T03:50:29.821941+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=thawing-mesa-57324.herokuapp.com request_id=ddee50d8-8e5e-47be-8b4c-02b0484eba7d fwd="180.46.165.135" dyno= connect= service= status=503 bytes= protocol=https
29
+ 2018-07-28T03:50:29.821941+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=xxxxxxxxxxxx.com request_id=host=xxxxxxxxxxxx fwd="host=xxxxxxxxxxxx" dyno= connect= service= status=503 bytes= protocol=https
30
30
 
31
- 2018-07-28T03:50:35.328051+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=thawing-mesa-57324.herokuapp.com request_id=6bae8e78-f7f6-4c91-be5d-51d1e967c936 fwd="180.46.165.135" dyno= connect= service= status=503 bytes= protocol=https
31
+ 2018-07-28T03:50:35.328051+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=host=xxxxxxxxxxxx.com request_id=xxxxxxxxxxxx fwd="xxxxxxxxxxxx" dyno= connect= service= status=503 bytes= protocol=https
32
32
 
33
- 2018-07-28T04:27:52.249864+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=thawing-mesa-57324.herokuapp.com request_id=c727df04-2e59-4006-9766-2b1e8739badd fwd="180.46.165.135" dyno= connect= service= status=503 bytes= protocol=https
33
+ 2018-07-28T04:27:52.249864+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=xxxxxxxxxxxx.com request_id=host=xxxxxxxxxxxx fwd="host=xxxxxxxxxxxx" dyno= connect= service= status=503 bytes= protocol=https
34
34
 
35
- 2018-07-28T04:27:52.665188+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=thawing-mesa-57324.herokuapp.com request_id=505ffd1c-1389-4ad7-a814-f0085f4c8c76 fwd="180.46.165.135" dyno= connect= service= status=503 bytes= protocol=https
35
+ 2018-07-28T04:27:52.665188+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=host=xxxxxxxxxxxx.com request_id=xxxxxxxxxxxx fwd="xxxxxxxxxxxx" dyno= connect= service= status=503 bytes= protocol=https
36
36
 
37
- 2018-07-28T07:32:44.528767+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=thawing-mesa-57324.herokuapp.com request_id=7f707271-ab70-4f45-a181-bbd6b3db79b4 fwd="180.46.165.135" dyno= connect= service= status=503 bytes= protocol=https
37
+ 2018-07-28T07:32:44.528767+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=xxxxxxxxxxxx.com request_id=host=xxxxxxxxxxxx fwd="host=xxxxxxxxxxxx" dyno= connect= service= status=503 bytes= protocol=httpsheroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=xxxxxxxxxxxx.com request_id=host=xxxxxxxxxxxx fwd="host=xxxxxxxxxxxx" dyno= connect= service= status=503 bytes= protocol=httpsheroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=xxxxxxxxxxxx.com request_id=host=xxxxxxxxxxxx fwd="host=xxxxxxxxxxxx" dyno= connect= service= status=503 bytes= protocol=https
38
38
 
39
- 2018-07-28T07:32:44.971320+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=thawing-mesa-57324.herokuapp.com request_id=77a0a6b6-f9bb-450d-bd84-9c6755de08f5 fwd="180.46.165.135" dyno= connect= service= status=503 bytes= protocol=https
39
+ 2018-07-28T07:32:44.971320+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=host=xxxxxxxxxxxx.com request_id=xxxxxxxxxxxx fwd="xxxxxxxxxxxx" dyno= connect= service= status=503 bytes= protocol=https
40
40
 
41
- 2018-07-28T07:41:04.312419+00:00 app[api]: Starting process with command `bin/rails console` by user consul@bsk-ciel.com
41
+ 2018-07-28T07:41:04.312419+00:00 app[api]: Starting process with command `bin/rails console` by user XXXXXXXXXXX
42
42
 
43
43
  2018-07-28T07:41:14.211907+00:00 heroku[run.3441]: Awaiting client
44
44
 
@@ -50,7 +50,7 @@
50
50
 
51
51
  2018-07-28T07:41:26.921985+00:00 heroku[run.3441]: State changed from up to complete
52
52
 
53
- 2018-07-28T09:23:25.195336+00:00 app[api]: Starting process with command `bin/rails console` by user consul@bsk-ciel.com
53
+ 2018-07-28T09:23:25.195336+00:00 app[api]: Starting process with command `bin/rails console` by user XXXXXXXXXXX
54
54
 
55
55
  2018-07-28T09:23:36.926778+00:00 heroku[run.7888]: State changed from starting to up
56
56
 
@@ -62,7 +62,7 @@
62
62
 
63
63
  2018-07-28T09:23:49.725755+00:00 heroku[run.7888]: State changed from up to complete
64
64
 
65
- 2018-07-28T09:28:45.022500+00:00 app[api]: Starting process with command `rails db:migrate` by user consul@bsk-ciel.com
65
+ 2018-07-28T09:28:45.022500+00:00 app[api]: Starting process with command `rails db:migrate` by user XXXXXXXXXXX
66
66
 
67
67
  2018-07-28T09:28:55.395241+00:00 heroku[run.1816]: State changed from starting to up
68
68
 

2

logを少し長めに記載致し、heroku run consoleの表示結果も追記しました。

2018/07/28 10:26

投稿

Sugisan
Sugisan

スコア14

test CHANGED
File without changes
test CHANGED
@@ -18,21 +18,61 @@
18
18
 
19
19
  (https://アプリ名.herokuapp.com/)
20
20
 
21
- よくわからないエラー文だったので、herokuログを確認しました。
21
+ よくわからないエラー文だったので、heroku logsで確認しました。
22
22
 
23
23
 
24
24
 
25
- ログには以下のエラーが3つのpath("/","/login","/favicon.ico")で出ていました。
25
+ ログには以下のエラーが繰り返されていました。
26
26
 
27
27
  ```Ruby on Rails
28
28
 
29
- 2018-07-16T03:56:03.604193+00:00 heroku[router]:
29
+ 2018-07-28T03:50:29.821941+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=thawing-mesa-57324.herokuapp.com request_id=ddee50d8-8e5e-47be-8b4c-02b0484eba7d fwd="180.46.165.135" dyno= connect= service= status=503 bytes= protocol=https
30
30
 
31
- at=error code=H10 desc="App crashed" method=GET path="/login"
31
+ 2018-07-28T03:50:35.328051+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=thawing-mesa-57324.herokuapp.com request_id=6bae8e78-f7f6-4c91-be5d-51d1e967c936 fwd="180.46.165.135" dyno= connect= service= status=503 bytes= protocol=https
32
32
 
33
- host=アプリ名.herokuapp.com request_id=xxxxxxxx-0000-0000-xxxx-xxxxxxxxxxxx fwd="xxx.xxx.xx.xxx"
33
+ 2018-07-28T04:27:52.249864+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=thawing-mesa-57324.herokuapp.com request_id=c727df04-2e59-4006-9766-2b1e8739badd fwd="180.46.165.135" dyno= connect= service= status=503 bytes= protocol=https
34
34
 
35
- dyno= connect= service= status=503 bytes= protocol=https
35
+ 2018-07-28T04:27:52.665188+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=thawing-mesa-57324.herokuapp.com request_id=505ffd1c-1389-4ad7-a814-f0085f4c8c76 fwd="180.46.165.135" dyno= connect= service= status=503 bytes= protocol=https
36
+
37
+ 2018-07-28T07:32:44.528767+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=thawing-mesa-57324.herokuapp.com request_id=7f707271-ab70-4f45-a181-bbd6b3db79b4 fwd="180.46.165.135" dyno= connect= service= status=503 bytes= protocol=https
38
+
39
+ 2018-07-28T07:32:44.971320+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=thawing-mesa-57324.herokuapp.com request_id=77a0a6b6-f9bb-450d-bd84-9c6755de08f5 fwd="180.46.165.135" dyno= connect= service= status=503 bytes= protocol=https
40
+
41
+ 2018-07-28T07:41:04.312419+00:00 app[api]: Starting process with command `bin/rails console` by user consul@bsk-ciel.com
42
+
43
+ 2018-07-28T07:41:14.211907+00:00 heroku[run.3441]: Awaiting client
44
+
45
+ 2018-07-28T07:41:14.283555+00:00 heroku[run.3441]: Starting process with command `bin/rails console`
46
+
47
+ 2018-07-28T07:41:14.289348+00:00 heroku[run.3441]: State changed from starting to up
48
+
49
+ 2018-07-28T07:41:26.906739+00:00 heroku[run.3441]: Process exited with status 1
50
+
51
+ 2018-07-28T07:41:26.921985+00:00 heroku[run.3441]: State changed from up to complete
52
+
53
+ 2018-07-28T09:23:25.195336+00:00 app[api]: Starting process with command `bin/rails console` by user consul@bsk-ciel.com
54
+
55
+ 2018-07-28T09:23:36.926778+00:00 heroku[run.7888]: State changed from starting to up
56
+
57
+ 2018-07-28T09:23:36.856143+00:00 heroku[run.7888]: Awaiting client
58
+
59
+ 2018-07-28T09:23:36.916641+00:00 heroku[run.7888]: Starting process with command `bin/rails console`
60
+
61
+ 2018-07-28T09:23:49.706539+00:00 heroku[run.7888]: Process exited with status 1
62
+
63
+ 2018-07-28T09:23:49.725755+00:00 heroku[run.7888]: State changed from up to complete
64
+
65
+ 2018-07-28T09:28:45.022500+00:00 app[api]: Starting process with command `rails db:migrate` by user consul@bsk-ciel.com
66
+
67
+ 2018-07-28T09:28:55.395241+00:00 heroku[run.1816]: State changed from starting to up
68
+
69
+ 2018-07-28T09:28:55.331343+00:00 heroku[run.1816]: Awaiting client
70
+
71
+ 2018-07-28T09:28:55.567885+00:00 heroku[run.1816]: Starting process with command `rails db:migrate`
72
+
73
+ 2018-07-28T09:29:06.794224+00:00 heroku[run.1816]: Process exited with status 0
74
+
75
+ 2018-07-28T09:29:06.966385+00:00 heroku[run.1816]: State changed from up
36
76
 
37
77
  ```
38
78
 
@@ -40,6 +80,40 @@
40
80
 
41
81
 
42
82
 
43
- いまいち何が原因なのかわからず先生方お知恵をお貸頂けすと幸す。
83
+ heroku run consoleをしてみると以下ようにも表示されてしまいす。
84
+
85
+
86
+
87
+ ```Ruby on Rails
88
+
89
+ Running console on ⬢ XXXXXXXXXXX... up, run.5382 (Free)
90
+
91
+ /app/vendor/bundle/ruby/2.3.0/gems/aws-sigv4-1.0.3/lib/aws-sigv4/signer.rb:517:in `extract_credentials_provider': Cannot load `Rails.config.active_storage.service`: (Aws::Sigv4::Errors::MissingCredentialsError)
92
+
93
+ missing credentials, provide credentials with one of the following options:
94
+
95
+ - :access_key_id and :secret_access_key
96
+
97
+ - :credentials
98
+
99
+ - :credentials_provider
100
+
101
+ from /app/vendor/bundle/ruby/2.3.0/gems/aws-sigv4-1.0.3/lib/aws-sigv4/signer.rb:121:in `initialize'
102
+
103
+ from /app/vendor/bundle/ruby/2.3.0/gems/aws-sdk-s3-1.17.0/lib/aws-sdk-s3/plugins/s3_signer.rb:189:in `new'
104
+
105
+ from /app/vendor/bundle/ruby/2.3.0/gems/aws-sdk-s3-1.17.0/lib/aws-sdk-
106
+
107
+ ```
108
+
109
+
110
+
111
+
112
+
113
+ まとまらない文章で申し訳ございません。
114
+
115
+ どたなかご教示頂けますと幸いです。
116
+
117
+
44
118
 
45
119
  よろしくお願い致します。

1

タイトルを変更しました。

2018/07/28 10:16

投稿

Sugisan
Sugisan

スコア14

test CHANGED
@@ -1 +1 @@
1
- HerokuでRubyアプリが開けない(Application Error
1
+ AmazonS3登録後にApplication Errorが出ました。
test CHANGED
File without changes