By: Kamil Rokosz user 31 May 2019 at 4:19 a.m. CDT

4 Responses
Kamil Rokosz gravatar
I'm struggling with setup of Gluu 4.0 with a remote couchbase instance. The installation script asks about credentials but check of connection fails. ``` Install oxTrust Admin UI? [Yes] : Couchbase host : ec2-xxxxxxx.eu-west-1.compute.amazonaws.com Couchbase Admin user : Administrator Couchbase Admin password : xxxxxxxxx Checking Couchbase connection Cant establish connection to Couchbase server with given parameters. ``` I'm running both Gluu and Couchbase on AWS ec2 instances, SG is configured to open all TCP ports (inbound and outbound) for testing purposes and the instances are in the same VPC. I'm able to connect manually to the Couchbase container from the running Gluu container. I tried to use both internal and external IP addresses / dns names provided by AWS of the couchbase instance. ``` telnet> o ec2-xxxxxx.eu-west-1.compute.amazonaws.com Trying x.x.x.x... telnet: Unable to connect to remote host: Connection refused telnet> o ec2-xxxxxxx.eu-west-1.compute.amazonaws.com 8091 Trying x.x.x.x... Connected to ec2-xxxxxxx.eu-west-1.compute.amazonaws.com. Escape character is '^]'. GET /saddas HTTP/1.1 404 Object Not Found X-XSS-Protection: 1; mode=block X-Permitted-Cross-Domain-Policies: none X-Frame-Options: DENY X-Content-Type-Options: nosniff Server: Couchbase Server Date: Fri, 31 May 2019 08:24:24 GMT Content-Type: text/plain Content-Length: 10 Cache-Control: max-age=10 ``` I was also trying to sniff outbound traffic but I can't see any attempt to send anything to the Couchbase instance I pass as a host in the configuration. Any thoughts what can I do wrong? Maybe there's anything I should setup before running the script? I'll appreciate all hints, thanks!

By Mohib Zico Account Admin 31 May 2019 at 6:26 a.m. CDT

Mohib Zico gravatar
Hi, You are testing in Ubuntu 18?

By Kamil Rokosz user 31 May 2019 at 7:12 a.m. CDT

Kamil Rokosz gravatar
Hi! Yes, it's ubuntu 18.04

By Mohib Zico Account Admin 31 May 2019 at 9:51 a.m. CDT

Mohib Zico gravatar
I think it's better to stick with CentOS7 or Ubuntu 16 for now; as 4.0 CB is not even in beta state... Also.. I would use IP address of VM in `Couchbase host` value. Another off topic question, have you tested your SSO functionality with Gluu Server yet? If not then I would first check that with stable version of Gluu Server, i.e. 3.1.6. Afterwards, you can migrate your config to Gluu 4.0 when it's released properly.

By Mohib Zico Account Admin 31 May 2019 at 10:02 a.m. CDT

Mohib Zico gravatar
Also.... in our test setup... we used IP_address to install Couchbase server and our CE was talking through ip_address as well. Screenshot attached.