**gluu-gateway-setup.log**
11:30:02 02/19/20 Generating RSA private key, 2048 bit long modulus (2 primes)
.............+++++
..........................................................................................................................................................+++++
e is 65537 (0x010001)
11:30:02 02/19/20 Running: /usr/bin/openssl rsa -in ./certs/gluu-gateway.key.orig -passin pass:gZ1bfHXEKagg -out ./certs/gluu-gateway.key
11:30:02 02/19/20 writing RSA key
11:30:02 02/19/20 Running: /usr/bin/openssl req -new -key ./certs/gluu-gateway.key -out ./certs/gluu-gateway.csr -subj /C=US/ST=CA/L=El Segundo/O=Teledyne Controls/CN=gluugateway/emailAddress=angela.yuan@teledyne.com
11:30:02 02/19/20 Can't load /root/.rnd into RNG
140526239252928:error:2406F079:random number generator:RAND_load_file:Cannot open file:../crypto/rand/randfile.c:88:Filename=/root/.rnd
11:30:02 02/19/20 Running: /usr/bin/openssl x509 -req -days 365 -in ./certs/gluu-gateway.csr -signkey ./certs/gluu-gateway.key -out ./certs/gluu-gateway.crt
11:30:02 02/19/20 Signature ok
subject=C = US, ST = CA, L = El Segundo, O = Teledyne Controls, CN = gluugateway, emailAddress = angela.yuan@teledyne.com
Getting Private key
11:30:02 02/19/20 Running: /bin/chown root:root ./certs/gluu-gateway.key.orig
11:30:02 02/19/20 Running: /bin/chmod 700 ./certs/gluu-gateway.key.orig
11:30:02 02/19/20 Running: /bin/chown root:root ./certs/gluu-gateway.key
11:30:02 02/19/20 Running: /bin/chmod 700 ./certs/gluu-gateway.key
11:30:02 02/19/20 Installing server JRE 1.8 162...
11:30:02 02/19/20 Extracting server-jre-8u162-linux-x64.tar.gz into /opt/gluu-gateway/dist/app/server-jre-8u162-linux-x64.tar.gz
11:30:02 02/19/20 Running: tar -xzf /opt/gluu-gateway/dist/app/server-jre-8u162-linux-x64.tar.gz -C /opt/ --no-xattrs --no-same-owner --no-same-permissions
11:30:04 02/19/20 Running: /bin/ln -sf /opt/jdk1.8.0_162 /opt/jre
11:30:04 02/19/20 Running: /bin/chmod -R 755 /opt/jdk1.8.0_162/bin/
11:30:04 02/19/20 Running: update-alternatives --install /usr/bin/java java /opt/jre/bin/java 1
11:30:04 02/19/20 update-alternatives: using /opt/jre/bin/java to provide /usr/bin/java (java) in auto mode
11:30:04 02/19/20 Configuring postgres...
11:30:04 02/19/20 Running: /etc/init.d/postgresql start
11:30:04 02/19/20 Starting postgresql (via systemctl): postgresql.service.
11:30:04 02/19/20 Running: /usr/bin/dpkg --install /opt/gluu-gateway/dist/app/kong-2.0.0.bionic.amd64.deb
11:30:08 02/19/20 (Reading database ... 231349 files and directories currently installed.)
Preparing to unpack .../kong-2.0.0.bionic.amd64.deb ...
Unpacking kong (2.0.0) over (1.3.0) ...
Setting up kong (2.0.0) ...
Installing new version of config file /etc/kong/kong.conf.default ...
11:30:08 02/19/20 Rendering template /etc/kong/kong.conf
11:30:08 02/19/20 Installing lua packages...
**gluu-gateway-setup_error.log**
11:30:10 02/19/20 useradd: user 'jetty' already exists
11:30:10 02/19/20 /bin/cp: cannot stat '/opt/oxd-server/oxd-server-default': No such file or directory
11:30:10 02/19/20 /bin/mkdir: cannot create directory ‘/var/log/oxd-server’: File exists
11:30:25 02/19/20 Error: Failed Not Ok Endpoint: https://gluugateway:8443/register-site
Payload {'redirect_uris': ['https://localhost:1338'], 'client_name': 'KONGA_GG_UI_CLIENT', 'grant_types': ['authorization_code', 'client_credentials'], 'post_logout_redirect_uris': ['https://localhost:1338'], 'scope': ['$
Response <Response [500]>
Response_Json {u'reason': None, u'error_description': u'Unknown internal server error occurs.', u'details': None, u'error': u'internal_error'}
Please check logs.
11:30:25 02/19/20 ***** Error caught in main loop *****
11:30:25 02/19/20 Traceback (most recent call last):
File "setup-gluu-gateway.py", line 853, in <module>
kongSetup.config_gluu_gateway_ui()
File "setup-gluu-gateway.py", line 502, in config_gluu_gateway_ui
oxd_registration_response = self.http_post_call(oxd_registration_endpoint, payload)
File "setup-gluu-gateway.py", line 731, in http_post_call
self.exit(message)
File "setup-gluu-gateway.py", line 791, in exit
sys.exit()
SystemExit
**oxd-server.log**
INFO [11:18:50.115] [Thread-13] o.e.j.s.AbstractConnector - Stopped application@32f32623{SSL,[ssl, http/1.1]}{0.0.0.0:8443}
INFO [11:18:50.182] [Thread-13] o.e.j.s.AbstractConnector - Stopped admin@3becc950{SSL,[ssl, http/1.1]}{0.0.0.0:8444}
INFO [11:18:50.211] [Thread-13] o.e.j.s.h.ContextHandler - Stopped i.d.j.MutableServletContextHandler@660b1a9d{/,null,UNAVAILABLE}
INFO [11:18:50.235] [Thread-13] o.e.j.s.h.ContextHandler - Stopped i.d.j.MutableServletContextHandler@7e0f9528{/,null,UNAVAILABLE}
INFO [11:30:13.599] [main] o.e.j.u.log - Logging initialized @2470ms to org.eclipse.jetty.util.log.Slf4jLog
INFO [11:30:13.790] [main] i.d.s.DefaultServerFactory - Registering jersey handler with root path prefix: /
INFO [11:30:13.792] [main] i.d.s.DefaultServerFactory - Registering admin handler with root path prefix: /
INFO [11:30:14.223] [main] o.g.o.s.ServerLauncher - Starting service configuration...
INFO [11:30:14.226] [main] o.g.o.s.ServerLauncher - commit: 8978c4c91f46713cb4cf81e5200ee7e8d09bd367, branch: origin/version_4.1.0, build time:14.02.2020 @ 11:46:23 UTC
DEBUG [11:30:14.267] [main] o.g.o.s.ServerLauncher - BC registered: false
DEBUG [11:30:14.381] [main] o.g.o.s.ServerLauncher - Registered BC successfully.
INFO [11:30:14.383] [main] o.g.o.s.ServerLauncher - Configuration: OxdServerConfiguration{, registerClientAppType='web', registerClientResponesType='code', useClientAuthenticationForPat=true, trustAllCerts=true, keyStorePath='', keyS$
DEBUG [11:30:14.608] [main] o.g.o.s.p.SqlPersistenceServiceImpl - Schema created successfully.
INFO [11:30:14.624] [main] o.g.o.s.p.SqlPersistenceServiceImpl - Loaded 0 RPs.
DEBUG [11:30:14.628] [main] o.g.o.s.s.MigrationService - Migration source folder is not specified.
DEBUG [11:30:14.629] [main] o.g.o.s.s.MigrationService - Skip migration because migration source folder is not specified or otherwise invalid.
INFO [11:30:14.629] [main] o.g.o.s.ServerLauncher - oxD Services are configured successfully.
INFO [11:30:14.636] [main] i.d.s.ServerFactory - Starting OxdServerApplication
INFO [11:30:14.769] [main] o.e.j.s.SetUIDListener - Opened application@1a01d7f0{SSL,[ssl, http/1.1]}{0.0.0.0:8443}
INFO [11:30:14.772] [main] o.e.j.s.SetUIDListener - Opened admin@5856dbe4{SSL,[ssl, http/1.1]}{0.0.0.0:8444}
INFO [11:30:14.774] [main] o.e.j.s.Server - jetty-9.4.z-SNAPSHOT, build timestamp: 2017-11-21T13:27:37-08:00, git hash: 82b8fb23f757335bb3329d540ce37a2a2615f0a8
INFO [11:30:14.796] [main] o.e.j.u.s.SslContextFactory - x509=X509@2e5e6fc4(localhost,h=[],w=[]) for SslContextFactory@2785db06[provider=null,keyStore=file:///opt/oxd-server/conf/oxd-server.keystore,trustStore=null]
INFO [11:30:14.972] [main] i.d.j.HttpsConnectorFactory - Supported protocols: [SSLv2Hello, SSLv3, TLSv1, TLSv1.1, TLSv1.2]
INFO [11:30:14.974] [main] i.d.j.HttpsConnectorFactory - Supported cipher suites: [TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384, TLS_RSA_WITH_AES_256_CBC_SHA256, TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA38$
INFO [11:30:14.982] [main] o.e.j.u.s.SslContextFactory - x509=X509@66f5a02e(localhost,h=[],w=[]) for SslContextFactory@4e3f2908[provider=null,keyStore=file:///opt/oxd-server/conf/oxd-server.keystore,trustStore=null]
INFO [11:30:16.058] [main] i.d.j.DropwizardResourceConfig - The following paths were found for the configured resources:
POST /authorization-code-flow (org.gluu.oxd.server.RestResource)
POST /check-access-token (org.gluu.oxd.server.RestResource)
POST /check-id-token (org.gluu.oxd.server.RestResource)
POST /get-access-token-by-refresh-token (org.gluu.oxd.server.RestResource)
POST /get-authorization-code (org.gluu.oxd.server.RestResource)
POST /get-authorization-url (org.gluu.oxd.server.RestResource)
POST /get-client-token (org.gluu.oxd.server.RestResource)
POST /get-discovery (org.gluu.oxd.server.RestResource)
POST /get-jwks (org.gluu.oxd.server.RestResource)
POST /get-logout-uri (org.gluu.oxd.server.RestResource)
POST /get-rp (org.gluu.oxd.server.RestResource)
POST /get-tokens-by-code (org.gluu.oxd.server.RestResource)
POST /get-user-info (org.gluu.oxd.server.RestResource)
GET /health-check (org.gluu.oxd.server.RestResource)
POST /introspect-access-token (org.gluu.oxd.server.RestResource)
POST /introspect-rpt (org.gluu.oxd.server.RestResource)
POST /register-site (org.gluu.oxd.server.RestResource)
POST /remove-site (org.gluu.oxd.server.RestResource)
POST /uma-rp-get-claims-gathering-url (org.gluu.oxd.server.RestResource)
POST /uma-rp-get-rpt (org.gluu.oxd.server.RestResource)
POST /uma-rs-check-access (org.gluu.oxd.server.RestResource)
POST /uma-rs-protect (org.gluu.oxd.server.RestResource)
POST /update-site (org.gluu.oxd.server.RestResource)
INFO [11:30:16.060] [main] o.e.j.s.h.ContextHandler - Started i.d.j.MutableServletContextHandler@51424203{/,null,AVAILABLE}
INFO [11:30:16.074] [main] i.d.s.AdminEnvironment - tasks =
POST /tasks/log-level (io.dropwizard.servlets.tasks.LogConfigurationTask)
POST /tasks/gc (io.dropwizard.servlets.tasks.GarbageCollectionTask)
**oxauth.log**
2020-02-19 17:37:33,534 ERROR [qtp105704967-29643] [org.gluu.oxauth.auth.Authenticator] (Authenticator.java:628) - Failed to get attributes from session
2020-02-19 17:38:02,221 INFO [qtp105704967-17] [org.gluu.oxauth.auth.Authenticator] (Authenticator.java:223) - Authentication failed for 'gluuadmin'
2020-02-19 17:39:02,277 INFO [qtp105704967-15] [org.gluu.oxauth.auth.Authenticator] (Authenticator.java:223) - Authentication failed for 'gluuadmin'
2020-02-19 17:39:38,390 INFO [qtp105704967-29643] [org.gluu.oxauth.auth.Authenticator] (Authenticator.java:223) - Authentication failed for 'gluuadmin'
2020-02-19 17:39:58,057 INFO [qtp105704967-15] [org.gluu.oxauth.service.AuthenticationService] (AuthenticationService.java:589) - Attempting to redirect user: SessionUser: SessionState {dn='f8d42951-eeee-4fd4-aa2b-0ad2957ee173', id='f8$
2020-02-19 17:39:58,058 INFO [qtp105704967-15] [org.gluu.oxauth.service.AuthenticationService] (AuthenticationService.java:597) - Attempting to redirect user: User: org.gluu.oxauth.model.common.User@27c491a1
2020-02-19 17:39:58,059 INFO [qtp105704967-15] [org.gluu.oxauth.auth.Authenticator] (Authenticator.java:426) - Authentication success for User: 'admin'
2020-02-19 17:39:58,207 INFO [qtp105704967-196] [org.gluu.oxauth.auth.Authenticator] (Authenticator.java:276) - Authentication success for Client: '1001.9c18897e-dc7c-4404-8b01-47a97e8c1dee'
2020-02-19 17:40:36,426 INFO [qtp105704967-196] [org.gluu.oxauth.service.AuthenticationService] (AuthenticationService.java:589) - Attempting to redirect user: SessionUser: SessionState {dn='336fc1bc-3a92-4807-b85b-570f3848f158', id='3$
2020-02-19 17:40:36,427 INFO [qtp105704967-196] [org.gluu.oxauth.service.AuthenticationService] (AuthenticationService.java:597) - Attempting to redirect user: User: org.gluu.oxauth.model.common.User@49829a24
2020-02-19 17:40:36,428 INFO [qtp105704967-196] [org.gluu.oxauth.auth.Authenticator] (Authenticator.java:426) - Authentication success for User: 'admin'
2020-02-19 17:40:36,626 INFO [qtp105704967-16] [org.gluu.oxauth.auth.Authenticator] (Authenticator.java:276) - Authentication success for Client: '1001.9c18897e-dc7c-4404-8b01-47a97e8c1dee'