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

Is BasicLogin woking on v.3.0.0? #11167

Closed
1 task
CanzumDemir opened this issue Jun 19, 2024 · 3 comments · Fixed by #11171
Closed
1 task

Is BasicLogin woking on v.3.0.0? #11167

CanzumDemir opened this issue Jun 19, 2024 · 3 comments · Fixed by #11171
Milestone

Comments

@CanzumDemir
Copy link

CanzumDemir commented Jun 19, 2024

Prerequisites

Please check the FAQ, and search existing issues for similar questions before creating a new issue.YOU MAY DELETE THIS PREREQUISITES SECTION.

  • I have checked the FAQ, and issues and found no answer.

What version of pinpoint are you using?

I use v3.0.0 recommended Build Files from here https://github.com/pinpoint-apm/pinpoint/releases/tag/v3.0.0

Describe the bug

basicLogin is not working

What did you do to trigger the bug?

Steps to reproduce, for example:

VERSION=3.0.0

$JAVA_17_HOME/bin/java -jar -Dpinpoint.zookeeper.address=localhost -Dpinpoint.modules.web.login=basicLogin $PP_WEB/pinpoint-web-$VERSION-exec.jar &

Expected behavior

Login Page

Logs

PinPoint Web Log

└─> $ 06-19 13:55:43.756 INFO  ProfileResolveListener              : onApplicationEvent(ApplicationEnvironmentPreparedEvent)
06-19 13:55:43.757 INFO  ProfileEnvironmentPostProcessor     : postProcessEnvironment
06-19 13:55:43.759 INFO  PinpointProfileEnvironment          : spring.profiles.active:[release]
06-19 13:55:43.759 INFO  PinpointProfileEnvironment          : pinpoint.profiles.active=release
06-19 13:55:43.760 INFO  PinpointProfileEnvironment          : PropertiesPropertySource pinpoint.profiles.active=release
06-19 13:55:43.760 INFO  PinpointProfileEnvironment          : PropertiesPropertySource logging.config=classpath:log4j2-spring.xml
06-19 13:55:43.761 INFO  PinpointProfileEnvironment          : Add PropertySource name:PinpointProfileEnvironment 'pinpoint.profiles.active=release'
06-19 13:55:43.761 INFO  AdditionalProfileListener           : onApplicationEvent(ApplicationEnvironmentPreparedEvent)
06-19 13:55:43.761 INFO  AdditionalProfileListener           : current ActiveProfiles:[release]
06-19 13:55:43.761 INFO  AdditionalProfileListener           : Add profile:[]
06-19 13:55:43.762 INFO  AdditionalProfileListener           : after ActiveProfiles:[release]
INFO StatusConsoleListener The nolookups option will be ignored. Message Lookups are no longer supported.
INFO StatusConsoleListener The nolookups option will be ignored. Message Lookups are no longer supported.
06-19 13:55:43.043 [           main] INFO  c.n.p.c.s.e.EnvironmentLoggingListener   -- applicationEvent:ApplicationEnvironmentPreparedEvent
06-19 13:55:43.043 [           main] INFO  c.n.p.c.s.e.EnvironmentLoggingListener   -- PropertySource name configurationProperties
06-19 13:55:43.043 [           main] INFO  c.n.p.c.s.e.EnvironmentLoggingListener   -- PropertySource name servletConfigInitParams
06-19 13:55:43.043 [           main] INFO  c.n.p.c.s.e.EnvironmentLoggingListener   -- PropertySource name servletContextInitParams
06-19 13:55:43.043 [           main] INFO  c.n.p.c.s.e.EnvironmentLoggingListener   -- PropertySource name systemProperties
06-19 13:55:43.043 [           main] INFO  c.n.p.c.s.e.EnvironmentLoggingListener   -- PropertySource name systemEnvironment
06-19 13:55:43.043 [           main] INFO  c.n.p.c.s.e.EnvironmentLoggingListener   -- PropertySource name random
06-19 13:55:43.043 [           main] INFO  c.n.p.c.s.e.EnvironmentLoggingListener   -- PropertySource name Config resource 'class path resource [application.yml]' via location 'optional:classpath:/' (document #0)
06-19 13:55:43.043 [           main] INFO  c.n.p.c.s.e.EnvironmentLoggingListener   -- PropertySource name PinpointProfileEnvironment 'pinpoint.profiles.active=release'
06-19 13:55:43.043 [           main] INFO  c.n.p.c.s.e.ExternalEnvironmentListener  -- onApplicationEvent(ApplicationEnvironmentPreparedEvent})
06-19 13:55:43.043 [           main] INFO  c.n.p.c.s.e.ExternalEnvironment          -- -Dpinpoint.web.config.location is not set
06-19 13:55:44.044 [kground-preinit] INFO  o.h.v.i.u.Version                        -- HV000001: Hibernate Validator 8.0.1.Final
06-19 13:55:44.044 [           main] INFO  c.n.p.w.WebApp                           -- Starting WebApp v3.0.0 using Java 17.0.11 with PID 2504617 (/opt/pinpoint/standardBuildFiles/web/pinpoint-web-3.0.0-exec.jar started by rduser in /home/rduser/rd-pinpoint/rddeca/pinpointSkripts)
06-19 13:55:44.044 [           main] INFO  c.n.p.w.WebApp                           -- The following 1 profile is active: "release"
06-19 13:55:48.048 [           main] INFO  o.s.b.w.e.t.TomcatWebServer              -- Tomcat initialized with port 8080 (http)
06-19 13:55:48.048 [           main] INFO  o.a.c.h.Http11NioProtocol                -- Initializing ProtocolHandler ["http-nio-8080"]
06-19 13:55:48.048 [           main] INFO  o.a.c.c.StandardService                  -- Starting service [Tomcat]
06-19 13:55:48.048 [           main] INFO  o.a.c.c.StandardEngine                   -- Starting Servlet engine: [Apache Tomcat/10.1.19]
06-19 13:55:48.048 [           main] INFO  o.a.c.c.C.[.[.[/]                        -- Initializing Spring embedded WebApplicationContext
06-19 13:55:48.048 [           main] INFO  w.s.c.ServletWebServerApplicationContext -- Root WebApplicationContext: initialization completed in 4005 ms
06-19 13:55:48.048 [           main] WARN  ConfigServletWebServerApplicationContext -- Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'pinpointBasicLoginConfig': Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name 'basicLoginService' defined in com.navercorp.pinpoint.login.basic.config.BasicLoginConfiguration: Failed to instantiate [com.navercorp.pinpoint.login.basic.service.BasicLoginService]: Factory method 'basicLoginService' threw exception with message: Illegal base64 character 5f
06-19 13:55:48.048 [           main] INFO  o.a.c.c.StandardService                  -- Stopping service [Tomcat]
06-19 13:55:48.048 [           main] INFO  c.n.p.c.s.e.EnvironmentLoggingListener   -- applicationEvent:ApplicationFailedEvent
06-19 13:55:48.048 [           main] INFO  c.n.p.c.s.e.EnvironmentLoggingListener   -- PropertySource name configurationProperties
06-19 13:55:48.048 [           main] INFO  c.n.p.c.s.e.EnvironmentLoggingListener   -- PropertySource name servletConfigInitParams
06-19 13:55:48.048 [           main] INFO  c.n.p.c.s.e.EnvironmentLoggingListener   -- PropertySource name servletContextInitParams
06-19 13:55:48.048 [           main] INFO  c.n.p.c.s.e.EnvironmentLoggingListener   -- PropertySource name systemProperties
06-19 13:55:48.048 [           main] INFO  c.n.p.c.s.e.EnvironmentLoggingListener   -- PropertySource name systemEnvironment
06-19 13:55:48.048 [           main] INFO  c.n.p.c.s.e.EnvironmentLoggingListener   -- PropertySource name random
06-19 13:55:48.048 [           main] INFO  c.n.p.c.s.e.EnvironmentLoggingListener   -- PropertySource name Config resource 'class path resource [application.yml]' via location 'optional:classpath:/' (document #0)
06-19 13:55:48.048 [           main] INFO  c.n.p.c.s.e.EnvironmentLoggingListener   -- PropertySource name PinpointProfileEnvironment 'pinpoint.profiles.active=release'
06-19 13:55:48.048 [           main] INFO  c.n.p.c.s.e.EnvironmentLoggingListener   -- CompositePropertySource name RedisPropertySources
06-19 13:55:48.048 [           main] INFO  c.n.p.c.s.e.EnvironmentLoggingListener   --   class path resource [redis/profiles/release/redis.properties]
06-19 13:55:48.048 [           main] INFO  c.n.p.c.s.e.EnvironmentLoggingListener   --   class path resource [redis/redis-root.properties]
06-19 13:55:48.048 [           main] INFO  c.n.p.c.s.e.EnvironmentLoggingListener   -- CompositePropertySource name MainDataSourcePropertySource
06-19 13:55:48.048 [           main] INFO  c.n.p.c.s.e.EnvironmentLoggingListener   --   class path resource [datasource/profiles/release/jdbc.properties]
06-19 13:55:48.048 [           main] INFO  c.n.p.c.s.e.EnvironmentLoggingListener   --   class path resource [datasource/jdbc-root.properties]
06-19 13:55:48.048 [           main] INFO  c.n.p.c.s.e.EnvironmentLoggingListener   --   class path resource [datasource/mysql-driver.properties]
06-19 13:55:48.048 [           main] INFO  c.n.p.c.s.e.EnvironmentLoggingListener   -- CompositePropertySource name WebHbaseModule
06-19 13:55:48.048 [           main] INFO  c.n.p.c.s.e.EnvironmentLoggingListener   --   class path resource [profiles/release/hbase.properties]
06-19 13:55:48.048 [           main] INFO  c.n.p.c.s.e.EnvironmentLoggingListener   --   class path resource [hbase-root.properties]
06-19 13:55:48.048 [           main] INFO  c.n.p.c.s.e.EnvironmentLoggingListener   -- CompositePropertySource name WebAppPropertySources
06-19 13:55:48.048 [           main] INFO  c.n.p.c.s.e.EnvironmentLoggingListener   --   class path resource [profiles/release/pinpoint-web.properties]
06-19 13:55:48.048 [           main] INFO  c.n.p.c.s.e.EnvironmentLoggingListener   --   class path resource [pinpoint-web-root.properties]
06-19 13:55:48.048 [           main] INFO  .s.b.a.l.ConditionEvaluationReportLogger --

Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
06-19 13:55:48.048 [           main] ERROR o.s.b.SpringApplication                  -- Application run failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'pinpointBasicLoginConfig': Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name 'basicLoginService' defined in com.navercorp.pinpoint.login.basic.config.BasicLoginConfiguration: Failed to instantiate [com.navercorp.pinpoint.login.basic.service.BasicLoginService]: Factory method 'basicLoginService' threw exception with message: Illegal base64 character 5f
        at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:795) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:237) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1355) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1192) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:562) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:975) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:962) ~[spring-context-6.1.5.jar!/:6.1.5]
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:624) ~[spring-context-6.1.5.jar!/:6.1.5]
        at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) ~[spring-boot-3.2.4.jar!/:3.2.4]
        at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754) [spring-boot-3.2.4.jar!/:3.2.4]
        at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456) [spring-boot-3.2.4.jar!/:3.2.4]
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:334) [spring-boot-3.2.4.jar!/:3.2.4]
        at com.navercorp.pinpoint.common.server.starter.BasicStarter.start(BasicStarter.java:70) [pinpoint-commons-server-3.0.0.jar!/:3.0.0]
        at com.navercorp.pinpoint.web.WebApp.main(WebApp.java:55) [classes!/:3.0.0]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
        at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) [pinpoint-web-3.0.0-exec.jar:3.0.0]
        at org.springframework.boot.loader.Launcher.launch(Launcher.java:108) [pinpoint-web-3.0.0-exec.jar:3.0.0]
        at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) [pinpoint-web-3.0.0-exec.jar:3.0.0]
        at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:65) [pinpoint-web-3.0.0-exec.jar:3.0.0]
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'basicLoginService' defined in com.navercorp.pinpoint.login.basic.config.BasicLoginConfiguration: Failed to instantiate [com.navercorp.pinpoint.login.basic.service.BasicLoginService]: Factory method 'basicLoginService' threw exception with message: Illegal base64 character 5f
        at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:648) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:636) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1335) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1165) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:562) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1443) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1353) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:904) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:782) ~[spring-beans-6.1.5.jar!/:6.1.5]
        ... 26 more
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.navercorp.pinpoint.login.basic.service.BasicLoginService]: Factory method 'basicLoginService' threw exception with message: Illegal base64 character 5f
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:177) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:644) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:636) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1335) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1165) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:562) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1443) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1353) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:904) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:782) ~[spring-beans-6.1.5.jar!/:6.1.5]
        ... 26 more
Caused by: java.lang.IllegalArgumentException: Illegal base64 character 5f
        at java.util.Base64$Decoder.decode0(Base64.java:848) ~[?:?]
        at java.util.Base64$Decoder.decode(Base64.java:566) ~[?:?]
        at java.util.Base64$Decoder.decode(Base64.java:589) ~[?:?]
        at com.navercorp.pinpoint.login.basic.service.JwtService.<init>(JwtService.java:59) ~[pinpoint-basic-login-3.0.0.jar!/:3.0.0]
        at com.navercorp.pinpoint.login.basic.service.BasicLoginService.<init>(BasicLoginService.java:46) ~[pinpoint-basic-login-3.0.0.jar!/:3.0.0]
        at com.navercorp.pinpoint.login.basic.config.BasicLoginConfiguration.basicLoginService(BasicLoginConfiguration.java:16) ~[pinpoint-basic-login-3.0.0.jar!/:3.0.0]
        at com.navercorp.pinpoint.login.basic.config.BasicLoginConfiguration$$SpringCGLIB$$0.CGLIB$basicLoginService$0(<generated>) ~[pinpoint-basic-login-3.0.0.jar!/:3.0.0]
        at com.navercorp.pinpoint.login.basic.config.BasicLoginConfiguration$$SpringCGLIB$$FastClass$$1.invoke(<generated>) ~[pinpoint-basic-login-3.0.0.jar!/:3.0.0]
        at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) ~[spring-core-6.1.5.jar!/:6.1.5]
        at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331) ~[spring-context-6.1.5.jar!/:6.1.5]
        at com.navercorp.pinpoint.login.basic.config.BasicLoginConfiguration$$SpringCGLIB$$0.basicLoginService(<generated>) ~[pinpoint-basic-login-3.0.0.jar!/:3.0.0]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:140) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:644) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:636) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1335) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1165) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:562) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1443) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1353) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:904) ~[spring-beans-6.1.5.jar!/:6.1.5]
        at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:782) ~[spring-beans-6.1.5.jar!/:6.1.5]
        ... 26 more
06-19 13:55:48.739 ERROR WebApp                              : [WebApp] could not launch app.
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'pinpointBasicLoginConfig': Unsatisfied dependency expressed through constructor parameter 0: Error creating bean with name 'basicLoginService' defined in com.navercorp.pinpoint.login.basic.config.BasicLoginConfiguration: Failed to instantiate [com.navercorp.pinpoint.login.basic.service.BasicLoginService]: Factory method 'basicLoginService' threw exception with message: Illegal base64 character 5f
        at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:795)
        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:237)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1355)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1192)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:562)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522)
        at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:975)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:962)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:624)
        at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
        at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754)
        at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:334)
        at com.navercorp.pinpoint.common.server.starter.BasicStarter.start(BasicStarter.java:70)
        at com.navercorp.pinpoint.web.WebApp.main(WebApp.java:55)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)
        at org.springframework.boot.loader.Launcher.launch(Launcher.java:108)
        at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
        at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:65)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'basicLoginService' defined in com.navercorp.pinpoint.login.basic.config.BasicLoginConfiguration: Failed to instantiate [com.navercorp.pinpoint.login.basic.service.BasicLoginService]: Factory method 'basicLoginService' threw exception with message: Illegal base64 character 5f
        at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:648)
        at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:636)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1335)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1165)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:562)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522)
        at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
        at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1443)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1353)
        at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:904)
        at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:782)
        ... 26 more
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.navercorp.pinpoint.login.basic.service.BasicLoginService]: Factory method 'basicLoginService' threw exception with message: Illegal base64 character 5f
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:177)
        at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:644)
        ... 40 more
Caused by: java.lang.IllegalArgumentException: Illegal base64 character 5f
        at java.base/java.util.Base64$Decoder.decode0(Base64.java:848)
        at java.base/java.util.Base64$Decoder.decode(Base64.java:566)
        at java.base/java.util.Base64$Decoder.decode(Base64.java:589)
        at com.navercorp.pinpoint.login.basic.service.JwtService.<init>(JwtService.java:59)
        at com.navercorp.pinpoint.login.basic.service.BasicLoginService.<init>(BasicLoginService.java:46)
        at com.navercorp.pinpoint.login.basic.config.BasicLoginConfiguration.basicLoginService(BasicLoginConfiguration.java:16)
        at com.navercorp.pinpoint.login.basic.config.BasicLoginConfiguration$$SpringCGLIB$$0.CGLIB$basicLoginService$0(<generated>)
        at com.navercorp.pinpoint.login.basic.config.BasicLoginConfiguration$$SpringCGLIB$$FastClass$$1.invoke(<generated>)
        at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258)
        at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331)
        at com.navercorp.pinpoint.login.basic.config.BasicLoginConfiguration$$SpringCGLIB$$0.basicLoginService(<generated>)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:140)
        ... 41 more


ga-ram added a commit to ga-ram/pinpoint that referenced this issue Jun 20, 2024
@ga-ram ga-ram linked a pull request Jun 20, 2024 that will close this issue
ga-ram added a commit that referenced this issue Jun 21, 2024
@ga-ram ga-ram added this to the 3.0.1 milestone Jun 21, 2024
@ga-ram
Copy link
Contributor

ga-ram commented Jun 21, 2024

basic login worked on v2.5.x but did not with v3.0.0
it will be fixed in v3.0.1 release

@CanzumDemir
Copy link
Author

Thanks

@jaewon-kim
Copy link

basic login worked on v2.5.x but did not with v3.0.0 it will be fixed in v3.0.1 release

docker-hub의 metrics latest 버전도 3.0.1 업데이트 하여 주실수 있으실까요?

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

Successfully merging a pull request may close this issue.

3 participants