Some Common issues -spring microsevices ,and loging using android app
Issue 1: http status 403 forbidden environment : Spring boot microservcei and spring cloud api gateway when sending http request , enven if the request deos not require any authintication . Reason: In the security microservice app, In the webSecurity class , the code in the configure method prevent any request that is not comming from a specific ip protected void configure(HttpSecurity http) throws Exception { http.csrf().disable(); http.authorizeRequests().antMatchers("/**").hasIpAddress(env.getProperty("gateway.ip")) .and() .addFilter(getAuthenticationFilter()); http.headers().frameOptions().disable(); } Solution comment the line "antMatches.... code changed to protected void configure(HttpSecurity http) throws Exception { ...