By: Eric Deshayes user 22 Aug 2021 at 4:29 a.m. CDT

3 Responses
Eric Deshayes gravatar
## Expected behavior Casa properly initialized. ## Actual behavior Casa not available, as initialization failed. Could not find any ticket about that, I suspect a stupid error on my side but I have already spent 1 day on it. Thank you in advance. ## Reason: Error 404 when oxdService trying top reach /register-site: 22-08 09:21:50.414 INFO [casaScheduler_Worker-1] gluu.casa.core.OxdService OxdService.java:191- Setting oxd configs (host: gluu2, port: 443, post logout: https://gluu2/casa/bye.zul) 22-08 09:21:50.087 INFO [casaScheduler_Worker-1] gluu.casa.core.ExtensionsManager ExtensionsManager.java:98- Found system extension 'org.gluu.casa.plugins.authnmethod.SuperGluuExtension' for super_gluu 22-08 09:21:50.094 INFO [casaScheduler_Worker-1] gluu.casa.core.ExtensionsManager ExtensionsManager.java:98- Found system extension 'org.gluu.casa.plugins.authnmethod.OTPTwilioExtension' for twilio_sms 22-08 09:21:50.094 INFO [casaScheduler_Worker-1] gluu.casa.core.ExtensionsManager ExtensionsManager.java:98- Found system extension 'org.gluu.casa.plugins.authnmethod.SecurityKeyExtension' for u2f 22-08 09:21:50.095 INFO [casaScheduler_Worker-1] gluu.casa.core.ExtensionsManager ExtensionsManager.java:98- Found system extension 'org.gluu.casa.plugins.authnmethod.OTPSmppExtension' for smpp 22-08 09:21:50.095 INFO [casaScheduler_Worker-1] gluu.casa.core.ExtensionsManager ExtensionsManager.java:98- Found system extension 'org.gluu.casa.plugins.authnmethod.OTPExtension' for otp 22-08 09:21:50.095 INFO [casaScheduler_Worker-1] gluu.casa.core.ExtensionsManager ExtensionsManager.java:98- Found system extension 'org.gluu.casa.plugins.authnmethod.SecurityKey2Extension' for fido2 22-08 09:21:50.414 INFO [casaScheduler_Worker-1] gluu.casa.core.OxdService OxdService.java:191- Setting oxd configs (host: gluu2, port: 443, post logout: https://gluu2/casa/bye.zul) 22-08 09:21:50.475 TRACE [casaScheduler_Worker-1] gluu.casa.core.OxdService OxdService.java:359- Sending /register-site request to oxd-server with payload {"rptAsJwt":false,"accessTokenAsJwt":false,"accessTokenSigningAlg":null,"clientRegistrationAccessToken":null,"clientRegistrationClientUri":null,"opDiscoveryPath":null,"opConfigurationEndpoint":null,"clientSe ctorIdentifierUri":null,"clientFrontchannelLogoutUris":["https://gluu2/casa/autologout"],"clientRequestUris":null,"clientJwksUri":null,"clientTokenEndpointAuthMethod":null,"postLogoutRedirectUris":["https:// gluu2/casa/bye.zul"],"clientTokenEndpointAuthSigningAlg":null,"claimsLocales":null,"grantTypes":["client_credentials"],"redirectUris":["https://gluu2/casa"],"responseTypes":["code"],"uiLocales":null,"claimsR edirectUri":null,"logoUri":null,"clientUri":null,"policyUri":null,"frontChannelLogoutSessionRequired":false,"tosUri":null,"idTokenBindingCnf":null,"tlsClientAuthSubjectDn":null,"subjectType":null,"runIntrosp ectionScriptBeforeAccessTokenAsJwtCreationAndIncludeClaims":false,"idTokenSignedResponseAlg":null,"idTokenEncryptedResponseAlg":null,"idTokenEncryptedResponseEnc":null,"userInfoSignedResponseAlg":null,"userI nfoEncryptedResponseAlg":null,"userInfoEncryptedResponseEnc":null,"requestObjectSigningAlg":null,"requestObjectEncryptionAlg":null,"requestObjectEncryptionEnc":null,"defaultMaxAge":null,"requireAuthTime":fal se,"initiateLoginUri":null,"authorizedOrigins":null,"accessTokenLifetime":null,"softwareId":null,"softwareVersion":null,"softwareStatement":null,"customAttributes":null,"opHost":"https://gluu2","acrValues":[ "casa"],"clientName":"gluu-casa_1629624110","clientId":null,"clientSecret":null,"op_host":"https://gluu2","op_discovery_path":null,"op_configuration_endpoint":null,"post_logout_redirect_uris":["https://gluu2 /casa/bye.zul"],"redirect_uris":["https://gluu2/casa"],"response_types":["code"],"claims_redirect_uri":null,"client_id":null,"client_secret":null,"client_registration_access_token":null,"client_registration_ client_uri":null,"client_name":"gluu-casa_1629624110","client_jwks_uri":null,"client_token_endpoint_auth_method":null,"client_token_endpoint_auth_signing_alg":null,"client_request_uris":null,"client_frontcha nnel_logout_uris":["https://gluu2/casa/autologout"],"client_sector_identifier_uri":null,"scope":["openid","profile","user_name","clientinfo","oxd"],"ui_locales":null,"claims_locales":null,"acr_values":["casa "],"grant_types":["client_credentials"],"contacts":null,"access_token_as_jwt":false,"access_token_signing_alg":null,"rpt_as_jwt":false,"logo_uri":null,"client_uri":null,"policy_uri":null,"front_channel_logou t_session_required":false,"tos_uri":null,"jwks":null,"id_token_binding_cnf":null,"tls_client_auth_subject_dn":null,"subject_type":null,"run_introspection_script_beforeaccess_token_as_jwt_creation_and_include _claims":false,"id_token_signed_response_alg":null,"id_token_encrypted_response_alg":null,"id_token_encrypted_response_enc":null,"user_info_signed_response_alg":null,"user_info_encrypted_response_alg":null," user_info_encrypted_response_enc":null,"request_object_signing_alg":null,"request_object_encryption_alg":null,"request_object_encryption_enc":null,"default_max_age":null,"require_auth_time":false,"initiate_l ogin_uri":null,"authorized_origins":null,"access_token_lifetime":null,"software_id":null,"software_version":null,"software_statement":null,"custom_attributes":null,"sync_client_from_op":false,"sync_client_pe riod_in_seconds":86400,"allow_spontaneous_scopes":false,"spontaneous_scopes":null} 22-08 09:21:50.660 TRACE [casaScheduler_Worker-1] gluu.casa.core.OxdService OxdService.java:366- Response received was <html> <title>Error 404 - Not Found</title> <body style="font-family: Arial, Helvetica, sans-serif"> Note that https://gluu2/casa/bye.zul is properly processed and returns a 200 OK.

By Jose Gonzalez staff 23 Aug 2021 at 11:57 a.m. CDT

Jose Gonzalez gravatar
> Setting oxd configs (host: gluu2, port: 443, post logout: https://gluu2/casa/bye.zul) Probably during setup you did not choose oxd to be installed but entered the location of oxd server manually. When that's the case oxd is supposed to be running elsewhere in a different host but here it is pointing to the same machine where you installed Gluu and using the port 443 which is the port that Apache uses already. If this is your first time installing Gluu, I'd recommend starting all over again and selecting oxd-server at installation so that components get configured automatically for you.

By Eric Deshayes user 24 Aug 2021 at 12:02 p.m. CDT

Eric Deshayes gravatar
I did re-install and it worked this time. Not sure where I messed up and sorry for the time wasted.

By Mobarak Hosen Shakil staff 24 Aug 2021 at 1:08 p.m. CDT

Mobarak Hosen Shakil gravatar
As @Jose.Gonzalez said, you probably installed remote oxd-server and that server was not responding that time. During gluu server installation, there are two options for oxd. Either You can install it inside gluu server or you can enter the url of the remote oxd-server. Without oxd, casa can't run. Regards ~ Shakil