Konga: Konga dashboard will not load if konga installed on seperate machine other than kong machine

Created on 1 Feb 2018  Â·  3Comments  Â·  Source: pantsel/konga

Konga dashboard will not load if konga installed on separate machine other than kong machine... if i install it on same kong api machine it works fine. I am getting below error

debug: KongProxyController:req.url /status
error: KongProxyController request error { message: 'Not found' }
debug: KongProxyController:req.url /status
debug: KongProxyController:req.url
error: KongProxyController request error { message: 'Not found' }

Am i missing any configuration ?

Most helpful comment

I noticed that you can't end the kong api url with an ending / for example http://konga.herokuapps.com/kong-api instead of http://konga.herokuapps.com/kong-api/ - can you re-check if this is the issue...

If not, you can always add console.log statements to the KongProxyController.js in the Proxy method, for example:

sails.log.debug("KongProxyController:headers", KongService.headers(req.connection, true))
sails.log.debug("KongProxyController:fullpath", req.connection.kong_admin_url + req.url)

so you know the exact host and url call being made

All 3 comments

I noticed that you can't end the kong api url with an ending / for example http://konga.herokuapps.com/kong-api instead of http://konga.herokuapps.com/kong-api/ - can you re-check if this is the issue...

If not, you can always add console.log statements to the KongProxyController.js in the Proxy method, for example:

sails.log.debug("KongProxyController:headers", KongService.headers(req.connection, true))
sails.log.debug("KongProxyController:fullpath", req.connection.kong_admin_url + req.url)

so you know the exact host and url call being made

@jayeshkulkarni ,
any update on this?

Everything seems to work fine here.

Works fine now

On 03-Mar-2018 3:09 AM, "Panagis Tselentis" notifications@github.com
wrote:

@jayeshkulkarni https://github.com/jayeshkulkarni ,
any update on this?

Everything seems to work fine here.

—
You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub
https://github.com/pantsel/konga/issues/167#issuecomment-370060175, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AdOx7Q6hGRSVYhI2TM9HYdWyBYx2E6sJks5tabv2gaJpZM4R1CiP
.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

virogenesis picture virogenesis  Â·  4Comments

ayan1207 picture ayan1207  Â·  8Comments

grillorafael picture grillorafael  Â·  7Comments

taotao2014 picture taotao2014  Â·  7Comments

Edwards80 picture Edwards80  Â·  4Comments