【kong】kong migrationsで失敗する | 瀬戸内の雲のように

【kong】kong migrationsで失敗する

Posted: 2019-02-21


スポンサーリンク

目次

はじめに

オープンソースで提供されるAPIゲートウェイのアプリケーションの一つが kong です。

これを構築しようと思ったのですが、エラーが出てけっこう苦労したので対処法をメモしておきます。

 

エラーの内容

kongの初期設定である kong migrations コマンドを実行すると

/usr/local/share/lua/5.1/kong/cmd/migrations.lua:91: [PostgreSQL error] failed to retrieve server_version_num: FATAL: Ident authentication failed for user "kong"

というエラーが出て失敗します。

 

前提

環境は

  • postgres (PostgreSQL) 9.6.8
  • kong-community-edition-1.0.2-1.noarch

 

原因

postgresqlの設定で、ローカルホストからのアクセスに関して許可してないことが原因でした。
(ソケット経由ではなく、 127.0.0.1 に対してIP接続する場合の許可)

具体的には以下の設定です

# vim /var/lib/pgsql/data/pg_hba.conf
---------------------------------------------
## 80行目付近
# IPv4 local connections:
host    all             all             127.0.0.1/32            ident
----------------------------------------------

 
この設定を以下のように修正します。

# vim /var/lib/pgsql/data/pg_hba.conf
---------------------------------------------
## 80行目付近
# IPv4 local connections:
#host    all             all             127.0.0.1/32            ident
host    all             all             127.0.0.1/32            trust
----------------------------------------------

これで解決です。これを見つけるのに3時間くらいかかりました。。


スポンサーリンク




コメント一覧

2022/05/21 01:20:54

Anbnvunnyさん

hims sildenafil sildenafil citrate online pharmacy https://sildenafilkiol.com/


2022/05/21 04:21:32

empgbtdiさん

modafinil 100mg sale order modafinil 200mg generic order generic modafinil


2019/05/06 04:15:32

言十年さん

ありがとうございます


2019/05/06 12:52:39

管理人さん

>言十年
コメントありがとうございます。
お役に立てたのであれば幸いです:)


2022/04/08 04:42:11

Dbngplugsさん

generic sildenafil citrate 100mg sildenafil dosages


2022/04/09 03:07:27

Crnnwongeさん

viagra plus viagra generic viagra sample generic viagra online


2022/04/09 20:32:00

Ntfbfplugsさん

order cialis online tadalafil


2022/04/09 22:04:46

AndaAudircurnさん

tadalafil cost whats the max safe dose of tadalafil xtenda for a healthy man


2022/04/10 00:15:06

Keezexictさん

tadalafil where to buy how much tadalafil should i take


2022/04/10 15:14:07

Fnenvunnyさん

side effects of viagra generic viagra india


2022/04/12 01:34:02

Dennplugsさん

canada vet pharmacy vipps certified online canadian pharmacies


2022/04/12 23:13:10

Cmmnwongeさん

radar 20 tadalafil pregnancy category for tadalafil


2022/04/13 17:11:17

Dsnnplugsさん

rx express pharmacy best canadian online pharmacies


2022/04/14 14:45:29

Ckanwongeさん

buy levitra online cheap discount levitra canada


2022/04/15 05:51:16

AnuoAudircurnさん

reliable rx pharmacy review pharmacy northwest canada


2022/04/15 08:31:18

Nbttplugsさん

cialis commercial viagra vs cialis which is better


2022/04/15 14:00:50

Knrnexictさん

victoza canada pharmacy walgreens specialty pharmacy


2022/04/16 18:43:19

Jtnnplugsさん

how to take ivermectin horse paste for scabies ivermectin rosacea reddit


2022/04/16 01:51:11

Fuupvunnyさん

non prescription sildenafil citrate generic viagra from canada pharmacy


2022/04/17 16:16:50

Wevgwongeさん

mail order drugs from canada canadian pharmacies comparison


2022/04/18 13:07:23

Zbttplugsさん

ivermectin cattle pour on stromectol tea tree oil


2022/04/18 07:23:50

AnnoAudircurnさん

viagra mail order viagra buy uk online


2022/04/19 02:31:03

Auupvunnyさん

elevex tadalafil 20mg best price on generic tadalafil


2022/04/20 03:17:38

Jnnyplugsさん

what is the cost of cialis buy cialis united states


2022/04/20 23:08:06

Wnsnwongeさん

levitra contraindications levitra 10mg online


2022/04/21 13:44:27

AnuuAudircurnさん

Norvasc is it illegal to carry prescription drugs without the bottle in florida


2022/04/21 20:30:03

nyyyplugsさん

levitra generic usa buy levitra online 24h


2022/04/21 21:37:02

Ennsexictさん

where to purchase viagra in canada sildenafil india buy


2022/04/22 09:46:53

Ahhpvunnyさん

cialis onset cialis black uk


2022/04/23 07:48:16

Jmmplugsさん

online veterinary pharmacy latisse canada pharmacy


2022/04/24 03:42:34

Wnnhwongeさん

online pharmacy store hyderabad drugs from canada online


2022/04/24 18:22:51

JyhAudircurnさん

Hyzaar canadian healthcare pharmacy review


2022/04/25 00:37:38

Ntcxplugsさん

in which store you can get pharmacy technician job easily cdl and prescription drugs


2022/04/25 02:19:31

Eaaqexictさん

optum rx pharmacy online pharmacies


2022/04/25 14:13:56

Ansnvunnyさん

canadian pharmacy domperidone pharmacy tech online training free


2022/04/29 19:31:19

Jebplugsさん

generic viagra online pharmacy usa buy viagra 100 mg online https://sgiviagraikn.com/


2022/04/30 14:55:41

Wnbhwongeさん

levitra odt levitra dosage drug https://glevitrargu.com/


2022/05/01 05:24:39

JyhgAudircurnさん

injectable ivermectin for goats agri mectin ivermectin https://stromectolujlo.com/


2022/05/01 11:21:44

Nndnplugsさん

canadian prescription drugs mexican online pharmacy reviews https://jzpharmacyukj.com/


2022/05/01 12:52:42

Ebbexictさん

canadian pharmacy viagra online pharmacy australia paypal https://dtupharmyjn.com/


2022/05/02 00:29:29

Anbnvunnyさん

sildenafil 100 mg best price cvs sildenafil price https://sildenafilkiol.com/


2022/05/03 21:42:53

Jebnplugsさん

prescription drugs program medical rx pharmacy


2022/05/05 07:21:31

JolwAudircurnさん

buy viagra online canadian pharmacy sildenafil tablets 100mg for sale https://aviagrasbt.com/


2022/05/05 12:32:24

Nndenplugsさん

levitra cost at rite aid levitra and alpha blockers https://xclevitradb.com/


2022/05/05 14:54:03

Ebbeexictさん

buy 20mg cialis cialis 10mg reviews https://dccialisxvf.com/


2022/05/05 18:47:35

cgucmkさん

hcq medication https://keys-chloroquinehydro.com/


2022/05/09 15:45:13

Jebnplugsさん

Retrovir reputable canadian pharmacies


2022/05/10 10:28:59

Wnbhwongeさん

differences entre viagra cialis levitra levitra 10mg price https://glevitrargu.com/


2022/05/11 00:55:31

JolwAudircurnさん

discount viagra usa where to get viagra tablets https://aviagrasbt.com/


2022/05/11 05:45:21

Nndenplugsさん

levitra online amazon coupons for levitra https://xclevitradb.com/


2022/05/11 08:07:11

Ebbeexictさん

what does generic cialis look like cheap cialis pills men https://dccialisxvf.com/


2022/05/11 18:46:49

Anbnvunnyさん

sildenafil vs.tadalafil sildenafil synthesis https://sildenafilkiol.com/


2022/05/13 18:13:53

EvaleenOaOaさん

quantitative dissertation help
online dissertation help buy
phi kappa phi dissertation fellowship


2022/05/14 17:37:26

MaggeeOaOaさん

uw madison help with dissertation
dissertation help methodology
dissertation help service general


2022/05/14 18:22:29

Jebnplugsさん

pharmacy tech classes online va pharmacy


2022/05/15 11:29:37

RegineOaOaさん

ford foundation dissertation fellowship
english literature dissertation help
phd no dissertation


2022/05/15 13:28:09

Wnbhwongeさん

levitra warnings levitra for sale https://glevitrargu.com/


2022/05/16 09:25:37

Nndenplugsさん

levitra generic or brand cost viagra cialis levitra https://xclevitradb.com/


2022/05/16 10:42:46

KirstiOaOaさん

dissertation writing help service
dissertation template
dissertation writing uk


2022/05/17 19:58:36

Karineさん

modafinil 200mg ca


2022/05/17 21:07:30

KirstiOaOaさん

dissertation cover page
apa citation dissertation
writing an abstract for a dissertation


2022/05/18 00:43:03

iykgawntさん

modafinil 100mg usa buy provigil 200mg online


2022/05/18 04:29:54

kgvwbamrさん

https://erythromycinn.com/# erythromycin ophthalmic solution


2022/05/18 15:51:20

ahdqhcqwさん

buy provigil 200mg online order modafinil for sale


2022/05/18 18:07:51

tjgcccaxさん

generic provigil 200mg buy provigil pill


2022/05/18 21:31:23

Jebnplugsさん

pharmacy salary canada pharmacy store locator


2022/05/19 03:18:53

gasqdpgdさん

modafinil 200mg brand modafinil pill modafinil 200mg for sale


2022/05/19 16:37:44

Wnbhwongeさん

levitra coupon gsk best way to take levitra https://glevitrargu.com/


2022/05/19 23:04:13

CharlaOaOaさん

dissertation acknowledgement sample
best dissertation help service
parts of a dissertation


2022/05/19 23:06:53

tgljpxiiさん

provigil 200mg pill modafinil generic


2022/05/20 06:56:21

JolwAudircurnさん

sildenafil buy canada purchase viagra safely online https://aviagrasbt.com/


2022/05/20 12:36:52

Nndenplugsさん

levitra kaufen www levitra https://xclevitradb.com/


2022/05/20 14:20:34

Ebbeexictさん

cialis without prescription cialisi https://dccialisxvf.com/


2022/05/20 15:00:39

glihccssさん

provigil usa provigil 200mg for sale


2022/05/20 17:48:30

vfbwtmydさん

buy modafinil 100mg for sale modafinil uk



コメントを投稿する


お名前


コメント内容





TOP back