Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

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

Closed
jayeshkulkarni opened this issue Feb 1, 2018 · 3 comments

Comments

@jayeshkulkarni
Copy link

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 ?

@balexandre
Copy link
Contributor

balexandre commented Feb 14, 2018

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

@pantsel
Copy link
Owner

pantsel commented Mar 2, 2018

@jayeshkulkarni ,
any update on this?

Everything seems to work fine here.

@jayeshkulkarni
Copy link
Author

jayeshkulkarni commented Mar 3, 2018 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants