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

Error Viewing InCommon Metadata #2029

Closed
nynymike opened this issue Sep 17, 2020 · 1 comment
Closed

Error Viewing InCommon Metadata #2029

nynymike opened this issue Sep 17, 2020 · 1 comment
Assignees
Labels
Milestone

Comments

@nynymike
Copy link
Contributor

nynymike commented Sep 17, 2020

Steps To Reproduce

  1. Add new SAML TR for federation using InCommon metadata URL : https://mdq.incommon.org/entities
  2. Wait for it to process... takes a minute. When complete you should see:
  3. Click on InCommon
  4. You get

I tested this on 4.2.1-RC1, Ubuntu 18 with 8GB of RAM.

oxTrust Debug Log doesn't show any error, and neither does the persistence or jetty log.

=======================CURRENT TR a99a3a9e-3f8c-4f1c-92c1-629aa1d37f30
2020-09-17 17:08:12,633 DEBUG [ForkJoinPool.commonPool-worker-1] [gluu.service.document.store.provider.LocalDocumentStoreProvider] (LocalDocumentStoreProvider.java:79) - Has document: '/opt/shibboleth-idp/metadata/a99a3a9e-3f8c-4f1c-92c1-629aa1d37f30-sp-metadata.xml'
2020-09-17 17:08:12,633 DEBUG [ForkJoinPool.commonPool-worker-1] [gluu.service.document.store.provider.LocalDocumentStoreProvider] (LocalDocumentStoreProvider.java:79) - Has document: '/opt/shibboleth-idp/metadata/a99a3a9e-3f8c-4f1c-92c1-629aa1d37f30-sp-metadata.xml'
2020-09-17 17:08:12,633 DEBUG [ForkJoinPool.commonPool-worker-1] [gluu.service.document.store.provider.LocalDocumentStoreProvider] (LocalDocumentStoreProvider.java:152) - Read document as stream: '/opt/shibboleth-idp/metadata/a99a3a9e-3f8c-4f1c-92c1-629aa1d37f30-sp-metadata.xml'
2020-09-17 17:08:12,650 DEBUG [oxTrustScheduler_Worker-5] [org.gluu.service.timer.RequestJobListener] 
@nynymike nynymike added the bug label Sep 17, 2020
@nynymike nynymike added this to the 4.2.1 milestone Sep 17, 2020
@syntrydy
Copy link
Collaborator

The error is due to Java heap size

2020-09-18 13:00:07,382 TRACE [qtp363988129-100] [org.gluu.oxtrust.exception.GlobalExceptionHandler] (GlobalExceptionHandler.java:58) - Java heap space
java.lang.OutOfMemoryError: Java heap space
	at java.util.Arrays.copyOf(Arrays.java:3745) ~[?:?]
	at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:172) ~[?:?]
	at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:686) ~[?:?]
	at java.lang.StringBuilder.append(StringBuilder.java:228) ~[?:?]
	at com.sun.faces.io.FastStringWriter.write(FastStringWriter.java:76) ~[jakarta.faces-2.3.14.jar:2.3.14]
	at com.sun.faces.application.view.WriteBehindStateWriter.write(WriteBehindStateWriter.java:128) ~[jakarta.faces-2.3.14.jar:2.3.14]
	at com.sun.faces.renderkit.html_basic.HtmlResponseWriter.flushAttributes(HtmlResponseWriter.java:1225) ~[jakarta.faces-2.3.14.jar:2.3.14]
	at com.sun.faces.renderkit.html_basic.HtmlResponseWriter.endElement(HtmlResponseWriter.java:575) ~[jakarta.faces-2.3.14.jar:2.3.14]
	at org.richfaces.renderkit.html.CommandLinkRenderer.doEncodeEnd(CommandLinkRenderer.java:212) ~[richfaces-a4j-4.5.18-gluu.Final.jar:4.5.18-gluu.Final]
	at org.richfaces.renderkit.RendererBase.encodeEnd(RendererBase.java:180) ~[richfaces-a4j-4.5.18-gluu.Final.jar:4.5.18-gluu.Final]
	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:595) ~[jakarta.faces-2.3.14.jar:2.3.14]
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1654) ~[jakarta.faces-2.3.14.jar:2.3.14]
	at org.richfaces.renderkit.html.RepeatRenderer$1.process(RepeatRenderer.java:57) ~[richfaces-a4j-4.5.18-gluu.Final.jar:4.5.18-gluu.Final]
	at org.ajax4jsf.model.SequenceDataModel.walk(SequenceDataModel.java:66) ~[richfaces-core-4.5.18-gluu.Final.jar:4.5.18-gluu.Final]
	at org.richfaces.component.UIDataAdaptor.walk(UIDataAdaptor.java:817) ~[richfaces-a4j-4.5.18-gluu.Final.jar:4.5.18-gluu.Final]
	at org.richfaces.renderkit.html.RepeatRenderer.encodeChildren(RepeatRenderer.java:70) ~[richfaces-a4j-4.5.18-gluu.Final.jar:4.5.18-gluu.Final]
	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:566) ~[jakarta.faces-2.3.14.jar:2.3.14]

syntrydy added a commit that referenced this issue Sep 21, 2020
yurem added a commit that referenced this issue Oct 5, 2021
* Version 4.2.0.Final

* Version 4.2.1.Final

* Remove unencrypted redis password from database

* reset password when Secret question and Secret Answer are active. #2001

* Not able to delete claims redirect uri for any client #2002

* Use same resource messages varible name in oxAuth and oxTrust

* Remove temporary file

* Add .metadata to ingore list

* Fix i18n messages issue

* Remove old dependencies

* Fix Some UI issues

* Add health-check controller to oxtrust-server

* buttons in json configuration ? #2003

* Device authz grant type supported and configuration manage. GluuFederation/oxAuth#141

* Remove old dependency

* Store issued tokens count metrics #1436

* Use libs versions defined in bom file

* Changes in this commit:
   * Re-introduced oxtrust-api into oxTrust

* oxtrust : added dynamicRegistrationAllowedPasswordGrantScopes to oxauth conf

GluuFederation/oxAuth#1130

* oxtrust : added description for dynamicRegistrationAllowedPasswordGrantScopes

GluuFederation/oxAuth#1130

(cherry picked from commit 1e71ea5)

* Change javax.faces with jakarta.faces

* Injection: Cross-Site Scripting #2012

* Injection: Cross-Site Scripting #2012

* oxtrust : added new software statement related configuration properties to UI.

GluuFederation/oxAuth#1444

(cherry picked from commit d32feac)

* oxtrust : corrected software statement related configuration properties on UI.

GluuFederation/oxAuth#1444

(cherry picked from commit d32feac)

* Fix autocomplete issues, update bootsfaces to latest

* Initiate user logout upon successfull password reset

* add spacer

* Fix security question field on forgot password reset form

* Change label / values for Scope visibility #2015

* (4.2.1) oxtrust : added description of refreshTokenExtendLifetimeOnRotation configuration property

GluuFederation/oxAuth#1449

(cherry picked from commit bf86387)

* Visual issues on OIDC client advanced settings page #2018

* U2F enrollments not shown in User's Authentication Methods panel #2017

* Fix issues after Richfaces version changed

* Fix popup issue after richfaces upgrade

* UI fixes

* Password reset functionality is not working when security Question and security answer is entered. #2019

* Password reset functionality is not working when security Question and security answer is entered. #2019

* oxtrust : forbid fragment in redirect_uri

#2020

* JAXB-API implementation error #2005

* Convert trust contact from xml to json

* Forgot password functionality not working with captcha #2022

* fixed scopes inventory

* Disable browser's autocomplete for password fields

* gluu-release-attributes-post-processor

* CR copy binary attributes to local LDAP as base64 string #2025

* Remove CustomScriptService

* Remove CustomScriptService

* Use CustomScriptManager instead of ScriptService

* Fix compilation issue

* Use CustomScriptService

* Add U2F checkU2fAttestations option

* Fix search person by uid in person add action

* Fix search user by e-mail and uniqueness check

* Add checkU2fAttestations Fido2 property

* Fix search user by uid when uid is case sensetive

* Fix search person by uid in person add action

* Revert "Fix search person by uid in person add action"

This reverts commit c964095.

* Fix search person by uid in person add action

* Version 4.2.1.Final

* Saml Configured relay party : assertionlifetime value box is so small its value cannot be read . #2026

* Use latest 5.4.x hibernate validator

* Improve health check

* 503-fix

* Error Viewing InCommon Metadata #2029

* unverified-rp fix

* double nameid fix

* Re-try to download UMA metadata

* Add ability to specify oxauth address instead of calling FQDN #2032

* Branch for 4.2.2

* Version 4.2.2-SNAPSHOT

* oxTrust should use acr level to check acr instead of acr_name #2033

* oxTrust should use acr level to check acr instead of acr_name #2033

* Fix possibles memory leak

* Remove static fields usage to improve memory usage

* Move some noisy log lines to debug/trace

* Prevent registration of the attribute with the same name #2040

* Prevent registration of the attribute with the same name #2040

* 7 day statistics on home screen has strange behavior

* (4.2.2) oxtrust : added discoveryCacheLifetimeInMinutes to GUI

GluuFederation/oxAuth#1487
(cherry picked from commit f415f14)

* On oxtrust passport provider, the automatically generated callback url is invalid when using containers #2041

* Fix compilation error

* Fix missing parent metric branch  bug

* Fix missing parent metric branch  bug

* (4.2.2) oxtrust : added keySelectionStrategy to GUI

GluuFederation/oxAuth#1494

* (4.2.2) oxtrust : set format=select

GluuFederation/oxAuth#1494

* Add flag field, see GluuFederation/oxAuth#1499

* Fix compilation issue

* Remove sector_identifier_uri menu with dialogs and provide ability #2044

* Remove sector_identifier_uri menu with dialogs and provide ability to enter it as text with automatic population of redirect_uris #2044

* Passport Config: field mapping dropdown #2027

* Passport Config: field mapping dropdown #2027

* Passport Config: field mapping dropdown #2027

* (4.2.2) oxtrust : added subjectIdentifierBasedOnWholeUriBackwardCompatibility and sectorIdentifierCacheLifetimeInMinutes configuration properties

GluuFederation/oxAuth#1503

* (4.2.2) oxtrust : added REVOKE_TOKEN custom script type

GluuFederation/oxAuth#1502

* Don't stop on unsuccessfull BC installation

* Use oxAuth configuration to check if application should render login
graph on home page #2045

* Fix method to update log level oxAuth #204

* Fix OIDC error

* Passport Config: field mapping dropdown #2027

* Missing information on server status view #2047

* The request is missing a required parameter error obtained in flow 3 #2046

* Version 4.2.2.Final

* Use MetricService to prepare base branches

* 4.2.2-SNAPSHOT -> 4.2.2.Final

* Version 4.2.3-SNAPSHOT

* Fix OIDC error

* Passport Config: field mapping dropdown #2027

* The request is missing a required parameter error obtained in flow 3 #2046

* (4.2.3) oxtrust : Added stat related configurations to UI.

GluuFederation/oxAuth#1512

* Remove swagger file from oxTrust repo

* Remove swagger file from oxTrust repo

* Version 4.2.3.Final

* Version 4.3.0.Final

* Use documentStoreService instead of local file system to load metadata
file

* New interceptions script to modify id_token oxAuth #1523

* oxtrust: added keyAlgsAllowedForGeneration configuration property.

GluuFederation/oxAuth#1525

* Backport: Added cibaEnabled flag in the configuration.
GluuFederation/oxAuth#1404

* Add defaults passport strategies

* feat(oxtrust): design configuration for openid-client new passport provider strategy #2052

* feat(oxtrust): design configuration for openid-client new passport provider strategy #2052

* fix(oxtrust): remove sector identifier pages from the code #2057

* fix(oxtrust): support custom app schema and appschema #2057

* fix(oxtrust): add pagination for search feature against a big enough userbase #2061

* fix(oxtrust): add pagination for search feature against a big enough userbase #2061

* fix(oxtrust): add pagination for search feature against a big enough userbase #2061

* fix(oxtrust): add pagination for search feature against a big enough userbase #2061

* fix(oxtrust): add pagination for search feature against a big enough userbase #2061

* feat: move ORM to oxOrm

* feat: update to conform latest ORM

* feat: update to conform ORM

* feat: update to conform ORM

* feat: update to conform ORM

* fix: update to conform new API

* fix: update to conform new API

* fix: compilation fixes

* feat: add SQL/Spanner support

* feat: update models

* fix: cache Refresh: Don't print ldap password in log #2055

* feat: merge ORM from Jans

* feat: merge ORM from Jans

* feat: update to conform new API

* fix: fix search when DB is table based

* fix: remove deprecated attributes

* fix: remove unused attribute

* feat: sync gluuOxtrustStat with bean

* fix: missing oxAuth dynamic configuration after save #2067

* fix: update cleaner job to use more effective RDBS methods #2066

* fix: missing oxAuth dynamic configuration after save #2067

* fix: don't update GluuConfiguration bean attributes in get method #2065

* feat: add new ORM dependecies

* fix: remove userPassword from client

* fix: remove userPassword from client

* fix: don't attempt ot create branches

* feat: don't use lower case in authenticate if DB is Spanner

* feat(oxtrust): setting custom acr-value for idp-initiated flow #2051

* feat(oxtrust): enable custom validation checked by default (incorrectly) #2070

* feat(oxtrust): fido device service log for new registered user with scim should be in warn log #2068

* feat(oxtrust): Rremove 'generate sp metadata' feature #2043

* feat(oxtrust): add person form nrashes with new objectclass #2069

* Fix(oxTrust): saml nameid configuration is not working in cloud edition #2073

* Fix(oxTrust): saml nameid configuration is not working in cloud edition #2073

* feat: show JCA document store password properly

* feat: show JCA document store password properly

* Fix(oxTrust): saml nameid configuration is not working in cloud edition #2073

* Fix(oxTrust):  first uma rpt token after starting up #2060

* Fix(oxTrust): saml nameid configuration is not working in cloud edition #2073

* fix(oxtrust): saml nameid configuration is not working in cloud edition #2073

* fix(oxtrust): saml nameid configuration is not working in cloud edition #2073

* fix(oxtrust): fill correct provider options as per type in passport provider configuration #2074

* fix(oxtrust): email attribute validation Not working on view profile section. #2054

* feat(admin-ui): add option to show only enables or disabled scripts

* chore: remove joda lib usage

* feat(oxtrust): update morris.js library to latest #2078

* feat(oxtrust): update morris.js library to latest #2078

* fix: include postAuthenticationFlows for relying-party shibboleth config

* feat(oxtrust): fill correct provider options as per type in passport provider configuration #2074

* feat(oxtrust): adding extra libraries created wrong classpath in oxauth.xml #2077

* feat(oxtrust): adding extra libraries created wrong classpath in oxauth.xml #2077

* feat(oxtrust): cache refresh not working on 4.3.0 version. #2072

* fix(oxTrust): oops error on clicking Other custom Scripts #2081

* feat: update libs

* feat(oxtrust): password reset success completion redirection #2082

* fix: add shibboleth transcoding rules generation

Added code to generate Shibboleth 4 style transcoding rules
which are useful in the resolution of issue #74 in oxShibboleth

* fix: minor code style fixes and SAML1 references removal

* fix: remove SAML1 reference from gluu-attribute-rules.xml.vm

* fix(oxtrust): fix active scripts checkbox label

* feat: adjust json-config UI form as per GluuFederation/scim#20

* feat: remove test mode property usage GluuFederation/scim#20

* feat: add OAuth protection mechanism for scim GluuFederation/scim#20

* feat: add OAuth protection mechanism for scim pt 2. GluuFederation/scim#20

* feat: remove extra logging statements GluuFederation/scim#20

* feat: fix commit 0ff85f7 GluuFederation/scim#20

* feat(oxtrust): enhance usability of scopes picker in client edition form #2085

* feat(oxtrust): updating client id in passport IDP-initiated flow config throws Oops error. #2084

* feat: added http request extraction for shibboleth

* fix: malformed gluu-attribute-rules.xml.vm

* fix: relying-party template generated incorrect config data for shibboleth

* feat: adjust json-config UI form as per GluuFederation/scim#22

* feat: use URL Connection client executor when proxy is required

* fix: "Organization Configuration" throwing error #2075

* feat: use new method to lookup manger group

* feat: register new method in gluufn library

* fix: fix NPE when version is not exists

* fix: create connection provider before checking it's status

* fix: update to conform new ORM

* fix: fix AD server configuration

* (oxTrust) fix oops error when the sector identifier uri is not valid or the content is not valid

* chore: refactor REST services protection logic

Related GluuFederation/scim#26

* feat: add no-protection mode
GluuFederation/scim#26

* feat: store acr in user profile to allow use it in IDP

* Version 4.3.0.Final

* fix: use Final binaries

* fix: don't fail on javadoc

* fix(oxtrust): identity throws oops error on providing invalid sector uri which is not friendly, returning “oops” is a bug, and must be escalated. #2091

* feat: shorten sentence GluuFederation/scim#26

Co-authored-by: Gasmyr <thomas@gluu.org>
Co-authored-by: Milton BO <jmcm578@gmail.com>
Co-authored-by: YuriyZ <yzabrovarniy@gmail.com>
Co-authored-by: Dzouato Djeumen Rolain Bonaventure <uprightech@gmail.com>
Co-authored-by: Harjinder Dhanjal <malotian@gmail.com>
Co-authored-by: Jose <bonustrack310@gmail.com>
Co-authored-by: gasmyr <gasmyrmougang@yahoo.fr>
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

2 participants