Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"No service was found." when clicking Sign In #33

Closed
ghost opened this issue Apr 8, 2019 · 6 comments
Closed

"No service was found." when clicking Sign In #33

ghost opened this issue Apr 8, 2019 · 6 comments
Assignees
Labels

Comments

@ghost
Copy link

ghost commented Apr 8, 2019

Hi,

We currently have a FreeRADIUS running, but would like to login with our Gsuite credentials.

After running a few times through all commands in the installation procedure, I'm hitting the same error "No service was found." when clicking Sign in on http://localhost:8181/#/sign-in - Screenshot here.

Some files that might help:

karaf.log

(anonymized) docker-compose.yml

Personally I think there is something wrong with my docker-compose file, as I'm not really sure of the variables. Could you perhaps enlighten me which we could choose ourselves and which should match what variable in our Gsuite admin?

Note we're not using LDAP already, I wasn't sure if one is created with the Docker or we should create one ourselves first ?

Many thanks!

PS: A video tutorial for the Gsuite configuration would be really helpful!

@hlavki
Copy link
Owner

hlavki commented Apr 8, 2019

SLAPD_PASSWORD and LDAP_ADMIN_PASSWORD must be same in docker-compose.yml

@hlavki
Copy link
Owner

hlavki commented Apr 8, 2019

And btw I am working on simpler configuration and then I'll prepare video tutorial

@hlavki hlavki self-assigned this Apr 8, 2019
@hlavki hlavki added the question label Apr 8, 2019
@ghost
Copy link
Author

ghost commented Apr 8, 2019

Hi, SLAPD_PASSWORD and LDAP_ADMIN_PASSWORD are indeed the same but the docker is still not working (same issue).

Is it correct that all LDAPD_ variables can be chosen freely and all GSUITE_ variables should match our Gsuite setup?

@hlavki
Copy link
Owner

hlavki commented Apr 8, 2019

try to clean all and setup from scratch:

docker-compose down -v
docker-compose up -d

Is it correct that all LDAPD_ variables can be chosen freely and all GSUITE_ variables should match our Gsuite setup?

Yes, that's generaly true

@ghost
Copy link
Author

ghost commented Apr 8, 2019

It's still not working - something is wrong with my Gsuite settings I suppose:

Last output from docker-compose logs -f :

identity_1 | 21:22:21.865 INFO [CM Configuration Updater (ManagedService Update: pid=[org.apache.cxf.osgi])] Service account private key was not loaded from null

Full output

PS: Many thanks, your efforts are really appreciated!

@ghost
Copy link
Author

ghost commented Apr 12, 2019

Hey,

After double-checking our Gsuite settings a few times, I don't think the issue is with my Gsuite settings now as the private key is successfully loaded but there appears to be an issue to reaching http://localhost:8181/cxf/oidc/. Any ideas?

Full docker logs

Karaf.log

identity_1  | 09:23:48.352 INFO  [sshd-SshServer[7a28fc83]-nio2-thread-2] Session karaf@/127.0.0.1:53836 authenticated
identity_1  | 09:23:48.854 INFO  [CM Configuration Updater (Update: pid=eu.hlavki.identity.google)] Google Configuration changed
identity_1  | 09:23:48.856 INFO  [CM Configuration Updater (Update: pid=eu.hlavki.identity.google)] Configuring GSuiteDirectoryService ...
identity_1  | 09:23:48.856 INFO  [CM Configuration Updater (Update: pid=eu.hlavki.identity.google)] Token lifetime set to 3600
identity_1  | 09:23:49.012 INFO  [CM Configuration Updater (Update: pid=eu.hlavki.identity.google)] Service account private key  loaded from /opt/karaf/etc/identity/service-account.p12
identity_1  | 09:23:51.921 WARN  [qtp1203710790-124] Can't find the request for http://localhost:8181/cxf/identity/user's Observer
identity_1  | 09:23:53.492 WARN  [qtp1203710790-171] Can't find the request for http://localhost:8181/cxf/oidc/rp's Observer
identity_1  | 09:25:48.104 WARN  [qtp1203710790-127] Can't find the request for http://localhost:8181/cxf/oidc/rp's Observer
identity_1  | 09:25:50.944 WARN  [qtp1203710790-124] Can't find the request for http://localhost:8181/cxf/oidc/rp's Observer
identity_1  | 09:25:54.724 WARN  [qtp1203710790-127] Can't find the request for http://localhost:8181/cxf/oidc/rp's Observer
identity_1  | 09:25:59.893 WARN  [qtp1203710790-124] Can't find the request for http://localhost:8181/cxf/oidc/rp's Observer
identity_1  | 09:26:02.657 WARN  [qtp1203710790-127] Can't find the request for http://localhost:8181/cxf/oidc/'s Observer
identity_1  | 09:26:20.503 WARN  [qtp1203710790-165] Can't find the request for http://localhost:8181/cxf/identity/user's Observer
identity_1  | 09:26:21.930 WARN  [qtp1203710790-124] Can't find the request for http://localhost:8181/cxf/oidc/rp's Observer
identity_1  | 09:26:28.718 WARN  [qtp1203710790-167] Can't find the request for http://localhost:8181/cxf/oidc/rp's Observer
identity_1  | 09:26:30.770 WARN  [qtp1203710790-124] Can't find the request for http://localhost:8181/cxf/oidc/rp's Observer
identity_1  | 09:26:34.871 WARN  [qtp1203710790-171] Can't find the request for http://localhost:8181/cxf/oidc/rp's Observer

@hlavki hlavki closed this as completed May 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant