質問編集履歴
3
情報修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -12,25 +12,25 @@
|
|
12
12
|
|
13
13
|
ログには以下のエラーが繰り返されていました。
|
14
14
|
```Ruby on Rails
|
15
|
-
2018-07-28T03:50:29.821941+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=
|
16
|
-
2018-07-28T03:50:35.328051+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=
|
17
|
-
2018-07-28T04:27:52.249864+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=
|
18
|
-
2018-07-28T04:27:52.665188+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=
|
19
|
-
2018-07-28T07:32:44.528767+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=
|
20
|
-
2018-07-28T07:32:44.971320+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=
|
21
|
-
2018-07-28T07:41:04.312419+00:00 app[api]: Starting process with command `bin/rails console` by user
|
15
|
+
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
|
16
|
+
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
|
17
|
+
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
|
18
|
+
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
|
19
|
+
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
|
20
|
+
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
|
21
|
+
2018-07-28T07:41:04.312419+00:00 app[api]: Starting process with command `bin/rails console` by user XXXXXXXXXXX
|
22
22
|
2018-07-28T07:41:14.211907+00:00 heroku[run.3441]: Awaiting client
|
23
23
|
2018-07-28T07:41:14.283555+00:00 heroku[run.3441]: Starting process with command `bin/rails console`
|
24
24
|
2018-07-28T07:41:14.289348+00:00 heroku[run.3441]: State changed from starting to up
|
25
25
|
2018-07-28T07:41:26.906739+00:00 heroku[run.3441]: Process exited with status 1
|
26
26
|
2018-07-28T07:41:26.921985+00:00 heroku[run.3441]: State changed from up to complete
|
27
|
-
2018-07-28T09:23:25.195336+00:00 app[api]: Starting process with command `bin/rails console` by user
|
27
|
+
2018-07-28T09:23:25.195336+00:00 app[api]: Starting process with command `bin/rails console` by user XXXXXXXXXXX
|
28
28
|
2018-07-28T09:23:36.926778+00:00 heroku[run.7888]: State changed from starting to up
|
29
29
|
2018-07-28T09:23:36.856143+00:00 heroku[run.7888]: Awaiting client
|
30
30
|
2018-07-28T09:23:36.916641+00:00 heroku[run.7888]: Starting process with command `bin/rails console`
|
31
31
|
2018-07-28T09:23:49.706539+00:00 heroku[run.7888]: Process exited with status 1
|
32
32
|
2018-07-28T09:23:49.725755+00:00 heroku[run.7888]: State changed from up to complete
|
33
|
-
2018-07-28T09:28:45.022500+00:00 app[api]: Starting process with command `rails db:migrate` by user
|
33
|
+
2018-07-28T09:28:45.022500+00:00 app[api]: Starting process with command `rails db:migrate` by user XXXXXXXXXXX
|
34
34
|
2018-07-28T09:28:55.395241+00:00 heroku[run.1816]: State changed from starting to up
|
35
35
|
2018-07-28T09:28:55.331343+00:00 heroku[run.1816]: Awaiting client
|
36
36
|
2018-07-28T09:28:55.567885+00:00 heroku[run.1816]: Starting process with command `rails db:migrate`
|
2
logを少し長めに記載致し、heroku run consoleの表示結果も追記しました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -8,16 +8,53 @@
|
|
8
8
|
If you are the application owner, check your logs for details.
|
9
9
|
```
|
10
10
|
(https://アプリ名.herokuapp.com/)
|
11
|
-
よくわからないエラー文だったので、heroku
|
11
|
+
よくわからないエラー文だったので、heroku logsで確認しました。
|
12
12
|
|
13
|
-
ログには以下のエラーが
|
13
|
+
ログには以下のエラーが繰り返されていました。
|
14
14
|
```Ruby on Rails
|
15
|
-
2018-07-
|
16
|
-
at=error code=H10 desc="App crashed" method=GET path="/
|
17
|
-
host=
|
18
|
-
dyno= connect= service= status=503 bytes= protocol=https
|
15
|
+
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
|
16
|
+
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
|
17
|
+
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
|
18
|
+
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
|
19
|
+
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
|
20
|
+
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
|
21
|
+
2018-07-28T07:41:04.312419+00:00 app[api]: Starting process with command `bin/rails console` by user consul@bsk-ciel.com
|
22
|
+
2018-07-28T07:41:14.211907+00:00 heroku[run.3441]: Awaiting client
|
23
|
+
2018-07-28T07:41:14.283555+00:00 heroku[run.3441]: Starting process with command `bin/rails console`
|
24
|
+
2018-07-28T07:41:14.289348+00:00 heroku[run.3441]: State changed from starting to up
|
25
|
+
2018-07-28T07:41:26.906739+00:00 heroku[run.3441]: Process exited with status 1
|
26
|
+
2018-07-28T07:41:26.921985+00:00 heroku[run.3441]: State changed from up to complete
|
27
|
+
2018-07-28T09:23:25.195336+00:00 app[api]: Starting process with command `bin/rails console` by user consul@bsk-ciel.com
|
28
|
+
2018-07-28T09:23:36.926778+00:00 heroku[run.7888]: State changed from starting to up
|
29
|
+
2018-07-28T09:23:36.856143+00:00 heroku[run.7888]: Awaiting client
|
30
|
+
2018-07-28T09:23:36.916641+00:00 heroku[run.7888]: Starting process with command `bin/rails console`
|
31
|
+
2018-07-28T09:23:49.706539+00:00 heroku[run.7888]: Process exited with status 1
|
32
|
+
2018-07-28T09:23:49.725755+00:00 heroku[run.7888]: State changed from up to complete
|
33
|
+
2018-07-28T09:28:45.022500+00:00 app[api]: Starting process with command `rails db:migrate` by user consul@bsk-ciel.com
|
34
|
+
2018-07-28T09:28:55.395241+00:00 heroku[run.1816]: State changed from starting to up
|
35
|
+
2018-07-28T09:28:55.331343+00:00 heroku[run.1816]: Awaiting client
|
36
|
+
2018-07-28T09:28:55.567885+00:00 heroku[run.1816]: Starting process with command `rails db:migrate`
|
37
|
+
2018-07-28T09:29:06.794224+00:00 heroku[run.1816]: Process exited with status 0
|
38
|
+
2018-07-28T09:29:06.966385+00:00 heroku[run.1816]: State changed from up
|
19
39
|
```
|
20
40
|
こんな感じです。
|
21
41
|
|
22
|
-
|
42
|
+
heroku run consoleをしてみると、以下のようにも表示されてしまいます。
|
43
|
+
|
44
|
+
```Ruby on Rails
|
45
|
+
Running console on ⬢ XXXXXXXXXXX... up, run.5382 (Free)
|
46
|
+
/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)
|
47
|
+
missing credentials, provide credentials with one of the following options:
|
48
|
+
- :access_key_id and :secret_access_key
|
49
|
+
- :credentials
|
50
|
+
- :credentials_provider
|
51
|
+
from /app/vendor/bundle/ruby/2.3.0/gems/aws-sigv4-1.0.3/lib/aws-sigv4/signer.rb:121:in `initialize'
|
52
|
+
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'
|
53
|
+
from /app/vendor/bundle/ruby/2.3.0/gems/aws-sdk-s3-1.17.0/lib/aws-sdk-
|
54
|
+
```
|
55
|
+
|
56
|
+
|
57
|
+
まとまらない文章で申し訳ございません。
|
58
|
+
どたなかご教示頂けますと幸いです。
|
59
|
+
|
23
60
|
よろしくお願い致します。
|
1
タイトルを変更しました。
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
|
1
|
+
AmazonS3登録後にApplication Errorが出ました。
|
body
CHANGED
File without changes
|