質問編集履歴

16

内容調整

2019/03/13 05:41

投稿

Nitta
Nitta

スコア96

test CHANGED
File without changes
test CHANGED
@@ -56,7 +56,7 @@
56
56
 
57
57
  web: target/universal/stage/bin/{herokuのapp名}
58
58
 
59
- -Dhttp.port=process.env.PORT
59
+ -Dhttp.port=%PORT%
60
60
 
61
61
  -DapplyEvolutions.default=true
62
62
 

15

内容調整

2019/03/13 05:41

投稿

Nitta
Nitta

スコア96

test CHANGED
File without changes
test CHANGED
@@ -8,11 +8,13 @@
8
8
 
9
9
 
10
10
 
11
- application.conf及びprocfileは以下のように設定てます。
11
+ ●試た事
12
12
 
13
- 他のサイトではportをprocess.env.PORTにすれば動作したと
13
+ portをprocess.env.PORTに設定⇒×
14
14
 
15
- 出てますが、全く動きません。
15
+ ②portを5432に設定⇒×
16
+
17
+ ③default.url="jdbc:postgresql://{host_name}:5432/{postgresql_db名}"で設定⇒×
16
18
 
17
19
 
18
20
 

14

内容調整

2019/03/13 04:57

投稿

Nitta
Nitta

スコア96

test CHANGED
@@ -1 +1 @@
1
- Herokuでの接続エラー(Error10)の対処法について
1
+ Herokuでの接続エラー(Error10)の対処法について
test CHANGED
File without changes

13

内容調整

2019/03/13 04:55

投稿

Nitta
Nitta

スコア96

test CHANGED
@@ -1 +1 @@
1
- Herokuのpostgresql接続できな(その2)
1
+ Herokuのでの接続エラー(Error10)の対処法
test CHANGED
File without changes

12

内容調整

2019/03/13 04:54

投稿

Nitta
Nitta

スコア96

test CHANGED
File without changes
test CHANGED
@@ -26,7 +26,7 @@
26
26
 
27
27
  ```
28
28
 
29
- [エラー内容の詳細はこちら](https://github.com/nitta4706/Nitta/blob/master/20190311(postgresql_connection_error)_No.2)
29
+ [エラー内容の詳細はこちら](https://github.com/nitta4706/Nitta/blob/master/20190311(postgresql_connection_error))
30
30
 
31
31
 
32
32
 

11

内容調整

2019/03/13 04:34

投稿

Nitta
Nitta

スコア96

test CHANGED
File without changes
test CHANGED
@@ -5,6 +5,14 @@
5
5
  上手く動作してくれません!
6
6
 
7
7
  お分かりの方居られましたら、ご教示下さい。
8
+
9
+
10
+
11
+ application.conf及びprocfileは以下のように設定してます。
12
+
13
+ 他のサイトではportをprocess.env.PORTにすれば動作したと
14
+
15
+ 出てますが、全く動きません。
8
16
 
9
17
 
10
18
 

10

内容調整

2019/03/13 04:29

投稿

Nitta
Nitta

スコア96

test CHANGED
File without changes
test CHANGED
@@ -18,7 +18,7 @@
18
18
 
19
19
  ```
20
20
 
21
- [エラー内容](https://github.com/nitta4706/Nitta/blob/master/20190311(postgresql_connection_error)_No.2)
21
+ [エラー内容の詳細はこちら](https://github.com/nitta4706/Nitta/blob/master/20190311(postgresql_connection_error)_No.2)
22
22
 
23
23
 
24
24
 

9

内容調整

2019/03/13 04:27

投稿

Nitta
Nitta

スコア96

test CHANGED
File without changes
test CHANGED
@@ -1,18 +1,10 @@
1
1
  お世話になっております。
2
2
 
3
- 先ほどのherokuでのpostgresqlに接続できなですが、
3
+ 今、herokuでwebDBをhostingしたですが、
4
4
 
5
- application.confを以下のように書き換えた処、新たなエラーが出した。
5
+ 上手く動作してくれせん!
6
-
7
-
8
6
 
9
7
  お分かりの方居られましたら、ご教示下さい。
10
-
11
-
12
-
13
- Herokuのpostgresqlに接続できない
14
-
15
- [参考:Herokuのpostgresqlに接続できない](https://teratail.com/questions/178795)
16
8
 
17
9
 
18
10
 
@@ -20,11 +12,13 @@
20
12
 
21
13
 
22
14
 
15
+ ```
16
+
17
+ Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
18
+
19
+ ```
20
+
23
21
  [エラー内容](https://github.com/nitta4706/Nitta/blob/master/20190311(postgresql_connection_error)_No.2)
24
-
25
-
26
-
27
- アプリが危険のエラー??
28
22
 
29
23
 
30
24
 
@@ -32,20 +26,32 @@
32
26
 
33
27
  ```
34
28
 
29
+ db{
30
+
35
31
  default.driver=org.postgresql.Driver
36
32
 
37
33
  default.username={username}
38
34
 
39
35
  default.password={password}
40
36
 
41
- ↓↓↓↓herokuのpostgresqlのurl
37
+ default.url="jdbc:postgresql://{host_name}/{postgresql_db名}"
42
38
 
43
- default.url="jdbc:postgresql://{host_name}:5432/{postgresql_db名}?user={username}&password={password}"
39
+ }
44
-
45
-
46
40
 
47
41
  ```
48
42
 
43
+ ●Procfile
49
44
 
45
+ ```
46
+
47
+ web: target/universal/stage/bin/{herokuのapp名}
48
+
49
+ -Dhttp.port=process.env.PORT
50
+
51
+ -DapplyEvolutions.default=true
52
+
53
+ -Ddb.default.driver=org.postgresql.Driver
54
+
55
+ ```
50
56
 
51
57
  以上、宜しくお願い致します。

8

内容調整

2019/03/13 04:26

投稿

Nitta
Nitta

スコア96

test CHANGED
File without changes
test CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
 
12
12
 
13
- 参考
13
+ Herokuのpostgresqlに接続できない
14
14
 
15
15
  [参考:Herokuのpostgresqlに接続できない](https://teratail.com/questions/178795)
16
16
 
@@ -20,7 +20,7 @@
20
20
 
21
21
 
22
22
 
23
- [詳細](https://github.com/nitta4706/Nitta/blob/master/20190311(postgresql_connection_error)_No.2)
23
+ [エラー内容](https://github.com/nitta4706/Nitta/blob/master/20190311(postgresql_connection_error)_No.2)
24
24
 
25
25
 
26
26
 

7

内容調整

2019/03/12 06:04

投稿

Nitta
Nitta

スコア96

test CHANGED
File without changes
test CHANGED
@@ -40,7 +40,7 @@
40
40
 
41
41
  ↓↓↓↓herokuのpostgresqlのurl
42
42
 
43
- default.url="jdbc:postgresql://@{host_name}:5432/{postgresql_db名}?user={username}&password={password}"
43
+ default.url="jdbc:postgresql://{host_name}:5432/{postgresql_db名}?user={username}&password={password}"
44
44
 
45
45
 
46
46
 

6

内容調整

2019/03/11 07:51

投稿

Nitta
Nitta

スコア96

test CHANGED
File without changes
test CHANGED
@@ -20,7 +20,7 @@
20
20
 
21
21
 
22
22
 
23
- https://github.com/nitta4706/Nitta/blob/master/20190311(postgresql_connection_error)_No.2[リンク内容]
23
+ [詳細](https://github.com/nitta4706/Nitta/blob/master/20190311(postgresql_connection_error)_No.2)
24
24
 
25
25
 
26
26
 

5

内容調整

2019/03/11 07:48

投稿

Nitta
Nitta

スコア96

test CHANGED
File without changes
test CHANGED
@@ -40,7 +40,7 @@
40
40
 
41
41
  ↓↓↓↓herokuのpostgresqlのurl
42
42
 
43
- default.url="jdbc:postgresql://{host_name}:5432/{postgresql_db名}?user={username}&password={password}"
43
+ default.url="jdbc:postgresql://@{host_name}:5432/{postgresql_db名}?user={username}&password={password}"
44
44
 
45
45
 
46
46
 

4

内容調整

2019/03/11 07:47

投稿

Nitta
Nitta

スコア96

test CHANGED
File without changes
test CHANGED
@@ -40,7 +40,7 @@
40
40
 
41
41
  ↓↓↓↓herokuのpostgresqlのurl
42
42
 
43
- default.url="jdbc:postgresql://@host_name}:5432/{postgresql_db名}?user={username}&password={password}"
43
+ default.url="jdbc:postgresql://{host_name}:5432/{postgresql_db名}?user={username}&password={password}"
44
44
 
45
45
 
46
46
 

3

内容調整

2019/03/11 07:37

投稿

Nitta
Nitta

スコア96

test CHANGED
File without changes
test CHANGED
@@ -7,6 +7,12 @@
7
7
 
8
8
 
9
9
  お分かりの方居られましたら、ご教示下さい。
10
+
11
+
12
+
13
+ 参考
14
+
15
+ [参考:Herokuのpostgresqlに接続できない](https://teratail.com/questions/178795)
10
16
 
11
17
 
12
18
 
@@ -42,12 +48,4 @@
42
48
 
43
49
 
44
50
 
45
- 参考
46
-
47
- [リンク内容](https://teratail.com/questions/178795)
48
-
49
-
50
-
51
-
52
-
53
51
  以上、宜しくお願い致します。

2

内容調整

2019/03/11 07:36

投稿

Nitta
Nitta

スコア96

test CHANGED
File without changes
test CHANGED
@@ -2,9 +2,7 @@
2
2
 
3
3
  先ほどのherokuでのpostgresqlに接続できない件ですが、
4
4
 
5
- application.confを以下のように書き換えた処、新たな
5
+ application.confを以下のように書き換えた処、新たなエラーが出ました。
6
-
7
- エラーが出ました。
8
6
 
9
7
 
10
8
 
@@ -14,13 +12,15 @@
14
12
 
15
13
  ●error(詳細はリンク)
16
14
 
15
+
16
+
17
- ```
17
+ https://github.com/nitta4706/Nitta/blob/master/20190311(postgresql_connection_error)_No.2[リンク内容]
18
18
 
19
19
 
20
20
 
21
+ アプリが危険のエラー??
21
22
 
22
23
 
23
- ```
24
24
 
25
25
  ●application.conf
26
26
 
@@ -36,4 +36,18 @@
36
36
 
37
37
  default.url="jdbc:postgresql://@host_name}:5432/{postgresql_db名}?user={username}&password={password}"
38
38
 
39
+
40
+
39
41
  ```
42
+
43
+
44
+
45
+ 参考
46
+
47
+ [リンク内容](https://teratail.com/questions/178795)
48
+
49
+
50
+
51
+
52
+
53
+ 以上、宜しくお願い致します。

1

内容調整

2019/03/11 07:35

投稿

Nitta
Nitta

スコア96

test CHANGED
File without changes
test CHANGED
@@ -12,4 +12,28 @@
12
12
 
13
13
 
14
14
 
15
- ●error
15
+ ●error(詳細はリンク)
16
+
17
+ ```
18
+
19
+
20
+
21
+
22
+
23
+ ```
24
+
25
+ ●application.conf
26
+
27
+ ```
28
+
29
+ default.driver=org.postgresql.Driver
30
+
31
+ default.username={username}
32
+
33
+ default.password={password}
34
+
35
+ ↓↓↓↓herokuのpostgresqlのurl
36
+
37
+ default.url="jdbc:postgresql://@host_name}:5432/{postgresql_db名}?user={username}&password={password}"
38
+
39
+ ```