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

UAT couldn't start on 5.8.0 version #259

Open
Kanaduchi opened this issue May 31, 2023 · 3 comments
Open

UAT couldn't start on 5.8.0 version #259

Kanaduchi opened this issue May 31, 2023 · 3 comments

Comments

@Kanaduchi
Copy link

Kanaduchi commented May 31, 2023

I am trying to upgrade 5.7.3 version to 5.8 and I get an error:
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'OAuthConfigurationEndpoint' defined in URL [jar:file:/service-authorization-5.8.0-exec.jar!/BOOT-INF/classes!/com/epam/reportportal/auth/endpoint/OAuthConfigurationEndpoint.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'createAuthIntegrationHandlerImpl' defined in URL [jar:file:/service-authorization-5.8.0-exec.jar!/BOOT-INF/classes!/com/epam/reportportal/auth/integration/handler/impl/CreateAuthIntegrationHandlerImpl.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authIntegrationStrategyProvider' defined in class path resource [com/epam/reportportal/auth/config/AuthIntegrationConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.epam.reportportal.auth.integration.provider.AuthIntegrationStrategyProvider]: Factory method 'authIntegrationStrategyProvider' threw exception; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'samlIntegrationStrategy' defined in URL [jar:file:/service-authorization-5.8.0-exec.jar!/BOOT-INF/classes!/com/epam/reportportal/auth/integration/handler/impl/strategy/SamlIntegrationStrategy.class]: Unsatisfied dependency expressed through constructor parameter 3; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'samlServiceProviderProvisioning' defined in class path resource [com/epam/reportportal/auth/config/saml/SamlServiceProviderBeanConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.security.saml.provider.provisioning.SamlProviderProvisioning]: Factory method 'getSamlProvisioning' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'samlValidator' defined in class path resource [com/epam/reportportal/auth/config/saml/SamlServiceProviderBeanConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.security.saml.SamlValidator]: Factory method 'samlValidator' threw exception; nested exception is java.lang.ArithmeticException: integer overflow

I am using saml auth with okta

@APiankouski
Copy link
Contributor

Hi, try to specify env variable RP_SAML_SESSION-LIVE in docker compose
default value: 4320

@Kanaduchi
Copy link
Author

Hi
I specified the same value as RP_SESSION_LIVE:
RP_SAML_SESSION-LIVE: 86400

@MeirsPortal
Copy link

MeirsPortal commented Jul 16, 2023

We have also tried to set this env value: RP_SAML_SESSION-LIVE to avoid 'Access denied: You don't have authorization to view this page. HTTP ERROR 403'.
We are using SAML login.
What value do we need to set it for? We have tried several values and always end up with Error 403.
We are using v23.1 (5.8.0 version).
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants