cuzyoucant commented on issue #7960: URL: https://github.com/apache/pulsar/issues/7960#issuecomment-685795777
After some even more debugging i narrowed it done even more. In the same file ServiceChannelInitializer.java line 85 to 89 when the AuthenticationFactory builds the Authentication Object with AuthenticationOAuth2.  After some testing i noticed that if i provide a dummy Object from AuthenticationDataOAuth2 with an invalid token as parameter the proxy starts up correctly. After the proxy gets its first request it checks the token, notices that it is not valid anymore and gets a new one.  So the problem seems to be the Authentication Object from the AuthenticationFactory in line 91/92 returning an empty AuthenticationDataOAuth2 Object when getAuthData() is called on it. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
