api-layer icon indicating copy to clipboard operation
api-layer copied to clipboard

Increasing number of WARN logs

Open achmelo opened this issue 2 years ago • 1 comments

Describe the bug Gateway service is producing many warn logs at startup

Steps to Reproduce

  1. Start GW

Expected behavior There are no or at least very few warn logs.

Screenshots If applicable, add screenshots to help explain your problem.

Logs 2022-06-13 09:25:09.104 ZWEAGW1:main:28407 ac892247 WARN (o.a.t.u.n.SSLHostConfig) The protocol [TLSv1.3] was added to the list of protocols on the SSLHostConfig named [default]. Check if a +/- prefix is missing. 2022-06-13 09:25:10.941 ZWEAGW1:main:28407 ac892247 WARN (o.s.s.c.a.w.b.WebSecurity) You are asking Spring Security to ignore Ant [pattern='/internal_error']. This is not recommended -- please use permitAll via HttpSecurity#authorizeHttpRequests instead. 2022-06-13 09:25:10.942 ZWEAGW1:main:28407 ac892247 WARN (o.s.s.c.a.w.b.WebSecurity) You are asking Spring Security to ignore Ant [pattern='/error']. This is not recommended -- please use permitAll via HttpSecurity#authorizeHttpRequests instead. 2022-06-13 09:25:10.942 ZWEAGW1:main:28407 ac892247 WARN (o.s.s.c.a.w.b.WebSecurity) You are asking Spring Security to ignore Ant [pattern='/application/health']. This is not recommended -- please use permitAll via HttpSecurity#authorizeHttpRequests instead. 2022-06-13 09:25:10.942 ZWEAGW1:main:28407 ac892247 WARN (o.s.s.c.a.w.b.WebSecurity) You are asking Spring Security to ignore Ant [pattern='/application/info']. This is not recommended -- please use permitAll via HttpSecurity#authorizeHttpRequests instead. 2022-06-13 09:25:10.942 ZWEAGW1:main:28407 ac892247 WARN (o.s.s.c.a.w.b.WebSecurity) You are asking Spring Security to ignore Ant [pattern='/application/version']. This is not recommended -- please use permitAll via HttpSecurity#authorizeHttpRequests instead. 2022-06-13 09:25:10.942 ZWEAGW1:main:28407 ac892247 WARN (o.s.s.c.a.w.b.WebSecurity) You are asking Spring Security to ignore Ant [pattern='/gateway/auth/keys/public/all']. This is not recommended -- please use permitAll via HttpSecurity#authorizeHttpRequests instead. 2022-06-13 09:25:10.942 ZWEAGW1:main:28407 ac892247 WARN (o.s.s.c.a.w.b.WebSecurity) You are asking Spring Security to ignore Ant [pattern='/gateway/auth/keys/public/current']. This is not recommended -- please use permitAll via HttpSecurity#authorizeHttpRequests instead. 2022-06-13 09:25:11.380 ZWEAGW1:main:28407 ac892247 WARN (o.s.c.c.l.r.ReactorLoadBalancerClientAutoConfiguration$ReactorLoadBalancerClientRibbonWarnLogger) You have RibbonLoadBalancerClient on your classpath. LoadBalancerExchangeFilterFunction that uses it under the hood will be used by default. Spring Cloud Ribbon is now in maintenance mode, so we suggest switching to ReactorLoadBalancerExchangeFilterFunction instead. In order to use it, set the value of spring.cloud.loadbalancer.ribbon.enabled to false or remove spring-cloud-starter-netflix-ribbon from your project. 2022-06-13 09:25:11.502 ZWEAGW1:main:28407 ac892247 WARN (o.a.t.u.n.SSLUtilBase) The JSSE TLS 1.3 implementation does not support post handshake authentication (PHA) and is therefore incompatible with optional certificate authentication 2022-06-13 09:25:12.015 ZWEAGW1:main:28407 ac892247 INFO (o.z.a.p.s.ServiceStartupEventHandler) ZWEAM000I Gateway Service started in 7.723 seconds

Details

  • Version and build number: [e.g. 0.4.4-SNAPSHOT build # 155]
  • Test environment: [either defined Zowe test environment: Marist (1, 2, 3), River, or your own environment: z/OS version and z/OSMF version]

API Catalog Web UI (in case of API Catalog issue):

  • OS: [e.g. macOS, Windows]
  • Browser [e.g. Chrome, Safari]
  • Version [e.g. 71.0.3578.98]

REST API client (in case of REST API issue):

  • Technology: [e.g. Spring Boot, Node.js]
  • OS: [e.g. Windows 10]

Additional context Add any other context about the problem here.

https://github.com/zowe/api-layer/wiki/Issue-management

achmelo avatar Jun 13 '22 09:06 achmelo

Also take into account the information from #2644

balhar-jakub avatar Nov 09 '22 13:11 balhar-jakub