質問編集履歴

2

質問の編集

2020/12/14 13:48

投稿

nakatievent
nakatievent

スコア38

test CHANGED
File without changes
test CHANGED
@@ -8,39 +8,159 @@
8
8
 
9
9
  ```ここに言語を入力
10
10
 
11
- 2020-12-13T13:59:48.250467+00:00 heroku[web.1]: State changed from crashed to starting
11
+ app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/pg-1.2.3/lib/pg.rb:58:in `connect'
12
12
 
13
- 2020-12-13T13:59:49.616554+00:00 heroku[web.1]: Starting process with command `bundle exec ruby app.rb`
13
+ app[web.1]: from app.rb:22:in `<main>'
14
14
 
15
- 2020-12-13T13:59:52.330992+00:00 app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/pg-1.2.3/lib/pg.rb:58:in `initialize': could not connect to server: Connection refused (PG::ConnectionBad)
15
+ heroku[web.1]: Process exited with status 1
16
16
 
17
- 2020-12-13T13:59:52.331031+00:00 app[web.1]: Is the server running on host "localhost" (127.0.0.1) and accepting
17
+ heroku[web.1]: State changed from starting to crashed
18
18
 
19
- 2020-12-13T13:59:52.331032+00:00 app[web.1]: TCP/IP connections on port 5432?
19
+ heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=obscure-spire-74335.herokuapp.com request_id=c2c9d289-4b92-458c-9a1e-22d6bfc754eb fwd="153.131.160.60" dyno= connect= service= status=503 bytes= protocol=https
20
20
 
21
- 2020-12-13T13:59:52.331037+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/pg-1.2.3/lib/pg.rb:58:in `new'
21
+ heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=obscure-spire-74335.herokuapp.com request_id=064e4d9d-86c1-4421-9572-3c6cee5aee8e fwd="153.131.160.60" dyno= connect= service= status=503 bytes= protocol=https
22
22
 
23
- 2020-12-13T13:59:52.331038+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/pg-1.2.3/lib/pg.rb:58:in `connect'
23
+ heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=obscure-spire-74335.herokuapp.com request_id=ea7c28c8-7414-46c1-a11e-ad6a6d4ec3b4 fwd="153.131.160.60" dyno= connect= service= status=503 bytes= protocol=https
24
24
 
25
- 2020-12-13T13:59:52.331038+00:00 app[web.1]: from app.rb:22:in `<main>'
25
+ heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=obscure-spire-74335.herokuapp.com request_id=284a89e0-0479-432c-9d11-05926a7b8c79 fwd="153.131.160.60" dyno= connect= service= status=503 bytes= protocol=https
26
26
 
27
- 2020-12-13T13:59:52.384929+00:00 heroku[web.1]: Process exited with status 1
27
+ app[api]: Starting process with command `bundle exec rake db:migrate` by user nakatievent@gmail.com
28
28
 
29
- 2020-12-13T13:59:52.440976+00:00 heroku[web.1]: State changed from starting to crashed
29
+ heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=obscure-spire-74335.herokuapp.com request_id=fcbcd852-dd8d-4977-9862-678d899e08fd fwd="153.131.160.60" dyno= connect= service= status=503 bytes= protocol=https
30
30
 
31
- 2020-12-13T14:06:00.567842+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=obscure-spire-74335.herokuapp.com request_id=2f8624e2-f274-4be3-81d2-2b44740f67b5 fwd="153.131.160.60" dyno= connect= service= status=503 bytes= protocol=https
31
+ heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=obscure-spire-74335.herokuapp.com request_id=81acd7a1-b933-4205-b61a-544219f2d25f fwd="153.131.160.60" dyno= connect= service= status=503 bytes= protocol=https
32
32
 
33
- 2020-12-13T14:06:00.957996+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=obscure-spire-74335.herokuapp.com request_id=a48495fc-e4fc-4078-9380-a0b2b9b5e16b fwd="153.131.160.60" dyno= connect= service= status=503 bytes= protocol=https
33
+ heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=obscure-spire-74335.herokuapp.com request_id=8167a538-a3e2-4af2-9146-bd19137bf805 fwd="153.131.160.60" dyno= connect= service= status=503 bytes= protocol=https
34
34
 
35
- 2020-12-13T14:14:26.087773+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=obscure-spire-74335.herokuapp.com request_id=58e9977e-b5bf-4eff-b8ec-b8accd9e6158 fwd="153.131.160.60" dyno= connect= service= status=503 bytes= protocol=https
35
+ heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=obscure-spire-74335.herokuapp.com request_id=a76b0c64-00f1-44ee-89a3-3148572d5fcd fwd="153.131.160.60" dyno= connect= service= status=503 bytes= protocol=https
36
36
 
37
- 2020-12-13T14:14:26.387822+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=obscure-spire-74335.herokuapp.com request_id=c3129734-5c54-4f89-b7b2-84494d6b0099 fwd="153.131.160.60" dyno= connect= service= status=503 bytes= protocol=https
37
+ heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=obscure-spire-74335.herokuapp.com request_id=802eb66d-dae2-4471-833e-d010d29609fe fwd="153.131.160.60" dyno= connect= service= status=503 bytes= protocol=https
38
38
 
39
- 2020-12-13T14:23:10.376415+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=obscure-spire-74335.herokuapp.com request_id=2b7500b7-bdb3-49e8-9d6f-653e26a7d5d8 fwd="153.131.160.60" dyno= connect= service= status=503 bytes= protocol=https
39
+ heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=obscure-spire-74335.herokuapp.com request_id=96b00769-d761-4cea-8dce-283136375059 fwd="153.131.160.60" dyno= connect= service= status=503 bytes= protocol=https
40
40
 
41
- 2020-12-13T14:23:11.301906+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=obscure-spire-74335.herokuapp.com request_id=e342ae3f-1288-413f-b671-3638b9669f85 fwd="153.131.160.60" dyno= connect= service= status=503 bytes= protocol=https
41
+ heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=obscure-spire-74335.herokuapp.com request_id=ffbd1724-0452-4f96-b1ea-410162c60583 fwd="153.131.160.60" dyno= connect= service= status=503 bytes= protocol=https
42
42
 
43
+ heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=obscure-spire-74335.herokuapp.com request_id=a90983aa-6655-4871-a32c-5d84da53c4c3 fwd="153.131.160.60" dyno= connect= service= status=503 bytes= protocol=https
43
44
 
45
+ app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/pg-1.2.3/lib/pg.rb:58:in `initialize': could not connect to server: Connection refused (PG::ConnectionBad)
46
+
47
+ app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/pg-1.2.3/lib/pg.rb:58:in `new'
48
+
49
+ app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/pg-1.2.3/lib/pg.rb:58:in `connect'
50
+
51
+ app[web.1]: from app.rb:22:in `<main>'
52
+
53
+ heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=obscure-spire-74335.herokuapp.com request_id=2f8624e2-f274-4be3-81d2-2b44740f67b5 fwd="153.131.160.60" dyno= connect= service= status=503 bytes= protocol=https
54
+
55
+ heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=obscure-spire-74335.herokuapp.com request_id=a48495fc-e4fc-4078-9380-a0b2b9b5e16b fwd="153.131.160.60" dyno= connect= service= status=503 bytes= protocol=https
56
+
57
+ heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=obscure-spire-74335.herokuapp.com request_id=58e9977e-b5bf-4eff-b8ec-b8accd9e6158 fwd="153.131.160.60" dyno= connect= service= status=503 bytes= protocol=https
58
+
59
+ heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=obscure-spire-74335.herokuapp.com request_id=c3129734-5c54-4f89-b7b2-84494d6b0099 fwd="153.131.160.60" dyno= connect= service= status=503 bytes= protocol=https
60
+
61
+ heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=obscure-spire-74335.herokuapp.com request_id=2b7500b7-bdb3-49e8-9d6f-653e26a7d5d8 fwd="153.131.160.60" dyno= connect= service= status=503 bytes= protocol=https
62
+
63
+ heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=obscure-spire-74335.herokuapp.com request_id=e342ae3f-1288-413f-b671-3638b9669f85 fwd="153.131.160.60" dyno= connect= service= status=503 bytes= protocol=https
64
+
65
+ heroku[web.1]: State changed from crashed to starting
66
+
67
+ heroku[web.1]: Starting process with command `bundle exec ruby app.rb`
68
+
69
+ app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/pg-1.2.3/lib/pg.rb:58:in `initialize': could not connect to server: Connection refused (PG::ConnectionBad)
70
+
71
+ app[web.1]: Is the server running on host "localhost" (127.0.0.1) and accepting
72
+
73
+ app[web.1]: TCP/IP connections on port 5432?
74
+
75
+ app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/pg-1.2.3/lib/pg.rb:58:in `new'
76
+
77
+ app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/pg-1.2.3/lib/pg.rb:58:in `connect'
78
+
79
+ app[web.1]: from app.rb:22:in `<main>'
80
+
81
+ app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/pg-1.2.3/lib/pg.rb:58:in `initialize': could not connect to server: Connection refused (PG::ConnectionBad)
82
+
83
+ app[web.1]: Is the server running on host "localhost" (127.0.0.1) and accepting
84
+
85
+ app[web.1]: TCP/IP connections on port 5432?
86
+
87
+ app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/pg-1.2.3/lib/pg.rb:58:in `new'
88
+
89
+ app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/pg-1.2.3/lib/pg.rb:58:in `connect'
90
+
91
+ app[web.1]: from app.rb:22:in `<main>'
92
+
93
+ heroku[web.1]: Process exited with status 1
94
+
95
+ heroku[web.1]: State changed from starting to crashed
96
+
97
+ heroku[web.1]: State changed from crashed to starting
98
+
99
+ heroku[web.1]: Starting process with command `bundle exec ruby app.rb`
100
+
101
+ app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/pg-1.2.3/lib/pg.rb:58:in `initialize': could not connect to server: Connection refused (PG::ConnectionBad)
102
+
103
+ app[web.1]: Is the server running on host "localhost" (127.0.0.1) and accepting
104
+
105
+ app[web.1]: TCP/IP connections on port 5432?
106
+
107
+ app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/pg-1.2.3/lib/pg.rb:58:in `new'
108
+
109
+ app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/pg-1.2.3/lib/pg.rb:58:in `connect'
110
+
111
+ app[web.1]: from app.rb:22:in `<main>'
112
+
113
+ heroku[web.1]: Process exited with status 1
114
+
115
+ heroku[web.1]: State changed from starting to crashed
116
+
117
+ heroku[web.1]: State changed from crashed to starting
118
+
119
+ heroku[web.1]: Starting process with command `bundle exec ruby app.rb`
120
+
121
+ app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/pg-1.2.3/lib/pg.rb:58:in `initialize': could not connect to server: Connection refused (PG::ConnectionBad)
122
+
123
+ app[web.1]: Is the server running on host "localhost" (127.0.0.1) and accepting
124
+
125
+ app[web.1]: TCP/IP connections on port 5432?
126
+
127
+ app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/pg-1.2.3/lib/pg.rb:58:in `new'
128
+
129
+ app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/pg-1.2.3/lib/pg.rb:58:in `connect'
130
+
131
+ app[web.1]: from app.rb:22:in `<main>'
132
+
133
+ heroku[web.1]: Starting process with command `bundle exec ruby app.rb` app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/pg-1.2.3/lib/pg.rb:58:in `initialize': could not connect to server: Connection refused (PG::ConnectionBad)
134
+
135
+ app[web.1]: Is the server running on host "localhost" (127.0.0.1) and accepting
136
+
137
+ app[web.1]: TCP/IP connections on port 5432?
138
+
139
+ app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/pg-1.2.3/lib/pg.rb:58:in `new'
140
+
141
+ app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/pg-1.2.3/lib/pg.rb:58:in `connect'
142
+
143
+ app[web.1]: from app.rb:22:in `<main>'
144
+
145
+ app[web.1]: /app/vendor/bundle/ruby/2.6.0/gems/pg-1.2.3/lib/pg.rb:58:in `initialize': could not connect to server: Connection refused (PG::ConnectionBad)
146
+
147
+ app[web.1]: Is the server running on host "localhost" (127.0.0.1) and accepting
148
+
149
+ app[web.1]: TCP/IP connections on port 5432?
150
+
151
+ app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/pg-1.2.3/lib/pg.rb:58:in `new'
152
+
153
+ app[web.1]: from /app/vendor/bundle/ruby/2.6.0/gems/pg-1.2.3/lib/pg.rb:58:in `connect'
154
+
155
+ app[web.1]: from app.rb:22:in `<main>'
156
+
157
+ heroku[web.1]: Process exited with status 1
158
+
159
+ heroku[web.1]: State changed from starting to crashed
160
+
161
+ heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=obscure-spire-74335.herokuapp.com request_id=c9d50a37-9234-4e1c-9cb8-888b1d561223 fwd="153.131.160.60" dyno= connect= service= status=503 bytes= protocol=https
162
+
163
+ heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=obscure-spire-74335.herokuapp.com request_id=428fc9ac-1d1f-4608-9b3e-e92e39609f26 fwd="153.131.160.60" dyno= connect= service= status=503 bytes= protocol=https
44
164
 
45
165
  ```
46
166
 

1

質問文の追記

2020/12/14 13:48

投稿

nakatievent
nakatievent

スコア38

test CHANGED
File without changes
test CHANGED
@@ -1,6 +1,4 @@
1
1
  質問お願いします。
2
-
3
-
4
2
 
5
3
  `heroku`に`sinatra`アプリをpushしたのですが、開こうとすると`Application error`が出て開くことができません。
6
4
 
@@ -50,6 +48,8 @@
50
48
 
51
49
  というエラーが出たのですが、正直何が原因かよく分かりません。
52
50
 
51
+ エラーの原因分かる方ご教授お願いします????
53
52
 
54
53
 
54
+
55
- エラーの原因分る方ご教授お願しま????
55
+ エラー文を全部載せたかったですが、文字数制限があったため一部し載せてないで