1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

HTTP/2 in my GET Request not present for one of my Endpoints endpoint in java (Springboot)

Discussão em 'Angular' iniciado por Rinkesh Kumar Sinha, Agosto 30, 2025.

  1. I wanted to ask that there is something wrong with one of my endpoints, the endpoint seems to be blocked for some reasons, I have other endpoints that are giving response but this one fails.See the Request Header below, for my other endpoints in place of undefined there is HTTP/2 Protocol

    Request Header Image If you see the Image you can Clearly check that protocol is missing and status is also not there not sure why. Network Tab Image

    I am calling this endpoint from my angular app, I also have an interceptor that adds the http headers and my endpoint is is java springboot, in one of my service other methods are called up but this is not. This works in my local environment but on the deployed environment it gives no status.

    I also enabled Permitall() and ant matchers in my java security configuration but still I am facing this issue in deployed environment. Can anybody help me with this. I couldn't share the whole Request packet due to security reasons but anyway this is the observation.

    I Tried permitall() in Java security config, added antmatchers for this endpoint, I can't configure http/2 from my angular interceptor I think, So I don't know why it is working on my local machine but here it is not.

    I can't give much information but this endpoint is responsible for ending the session and clearing cookies and then the angular app will redirect me to the login page. Works on my local but not on the deployed environment because of what I feel http/2 undefined (some weird behavior).

    Continue reading...

Compartilhe esta Página