By: Purva Kale user 31 Jul 2019 at 6:11 a.m. CDT

11 Responses
Purva Kale gravatar
Hi, I am trying to configure gluu gateway on my local linux vm where gluu server is already running. To avoid the conflict of ports, I am providing a different port for gateway - 81443, when running the setup. The installation is failing with the following error: Error: Failed to Connect: Endpoint: http://localhost:8001/services/gluu-org-metrics-service Response None Error ('Connection aborted.', error(111, 'Connection refused')) Please check logs. Installation failed. See: gluu-gateway-setup.log gluu-gateway-setup_error.log for more details. Following is the installation summary: ----------------------- ----------------------- Host 192.168.59.128 Organization mycom City Pune State MH Country IN Install OXD? True OXD Server URL https://192.168.59.128:81443 OP Host https://192.168.59.128 Generate Client Credentials? True Proceed with these values (Y|n) [Y] : y I can't use hostnames as I don;t have permission to modify my laptop's hosts file. Also, there is nothing running on port 8001. Please help. Thanks and Regards, Purva

By Meghna Joshi staff 31 Jul 2019 at 6:17 a.m. CDT

Meghna Joshi gravatar
Hi Purva, This is because, your `Kong` is failed to start. Please provide us `/opt/gluu-gateway/setup/gluu-gateway-setup.log` and ` /usr/local/kong/logs/errors.log` files. It helps us to find exact problem. Thanks, Meghna Joshi

By Purva Kale user 31 Jul 2019 at 6:32 a.m. CDT

Purva Kale gravatar
Hi Meghana, Thanks for instant reply! Looks like no logs are generated for Kong: [root@localhost setup]# ls /usr/local/kong/ COPYRIGHT [root@localhost tmp]# uname -a Linux localhost.localdomain 4.1.12-112.16.4.el7uek.x86_64 #2 SMP Mon Mar 12 23:57:12 PDT 2018 x86_64 x86_64 x86_64 GNU/Linux Attached logs when replying, looks like those did not get uploaded. Please suggest where to upload the logs. I am following this link for installation - https://gluu.org/docs/gg/4.0/installation/ Thanks and Regards, Purva Kale PwC | Manager| Cyber Security PricewaterhouseCoopers Private Limited 7th floor, Tower A - Wing 1, Business Bay, Airport Road, Yerwada, Pune – 411 006 Mob: +91-9049915708 purva.kale@pwc.com | www.pwc.com

By Meghna Joshi staff 31 Jul 2019 at 6:38 a.m. CDT

Meghna Joshi gravatar
Please send the setup log file `opt/gluu-gateway/setup/gluu-gateway-setup.log`. it will give me some idea about kong config and setup. Thanks, Meghna Joshi

By Purva Kale user 31 Jul 2019 at 6:40 a.m. CDT

Purva Kale gravatar
Attached logs when replying, looks like those did not get uploaded. Please suggest where to upload the logs. Regards, Purva Kale PwC | Manager| Cyber Security PricewaterhouseCoopers Private Limited 7th floor, Tower A - Wing 1, Business Bay, Airport Road, Yerwada, Pune – 411 006 Mob: +91-9049915708 purva.kale@pwc.com | www.pwc.com

By Michael Schwartz Account Admin 31 Jul 2019 at 6:41 a.m. CDT

Michael Schwartz gravatar
please use a virtual ethernet interface on your laptop, that way you can run GG on a different IP and avoid these issues entirely.

By Purva Kale user 31 Jul 2019 at 6:43 a.m. CDT

Purva Kale gravatar
can you please provide more details on this, if having? Also, I think this is not related to IP address, I am specifying different ports. Port 8001 is available for use.

By Meghna Joshi staff 31 Jul 2019 at 6:59 a.m. CDT

Meghna Joshi gravatar
IP may create problem for further implementation. About virtualization, there are free software available e.g. VirtualBox About Attachment, Use the button which is at the bottom of the page. Note: Currently GG 4.0 Beta tested on Ubunut16 and CentOS7

By Purva Kale user 31 Jul 2019 at 7:16 a.m. CDT

Purva Kale gravatar
I tried with a different IP (same vm), still received the same error. ----------------------- ----------------------- Host 192.168.59.130 Organization mycom City Pune State MH Country IN Install OXD? True OXD Server URL https://192.168.59.130:81443 OP Host https://192.168.59.128 Generate Client Credentials? True Proceed with these values (Y|n) [Y] : Y Configuring postgres... Configuring metrics plugin... Error: Failed to Connect: Endpoint: http://localhost:8001/services/gluu-org-metrics-service Response None Error ('Connection aborted.', error(111, 'Connection refused')) It is not installing Kong somehow. Also localhost:8001, this is hardcoded in the scripts. I can't check with 2 different vms as my laptop has very less RAM. And we don't have hosted vms :)

By Meghna Joshi staff 31 Jul 2019 at 7:45 a.m. CDT

Meghna Joshi gravatar
Hi Purva, IP may create problem for further execution. Please setup hostname in your machine. Also test GG 4.0 beta in Ubuntu16 or CentOS7. we are currently tested it in this two OS. Please try it and send me logs file link(by uploading it somewhere else - google drive or anyother). Thank you, Meghna

By Conor Walsh Account Admin 31 Jul 2019 at 8:17 a.m. CDT

Conor Walsh gravatar
Hi, I'm seeing the same problem as Purva on one of my instances. Funny thing is I've installed gluu gateway successfully here a couple of times in the last week. After the last failure I uninstalled gluu-gateway and oxd-server and noticed that the versions don't match: Erasing : gluu-gateway-1.0.1-69.centos7.noarch Erasing : oxd-server-4.0-60.centos7.noarch Could this be the issue?

By Meghna Joshi staff 31 Jul 2019 at 8:26 a.m. CDT

Meghna Joshi gravatar
Hi Conor, Currently, GG 4.0 Beta version is open for community. We also updated the docs, there is now development repo. which will install GG 4.0 Beta package. Please update the repo and try again. https://gluu.org/docs/gg/installation/ Thanks, Meghna