Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

191
Visualizações
issue with javascript loading - spring cloud gateway route to downstream page

I was migrating a project from zuul to spring cloud gateway, and need to route a call to a web portal UI. The routing works and I got the index page of portal UI back.

However, comparing with the result from zuul, the page is blank, even though page source is identical to the page getting back from zuul. The reason relates to the page containing certain reference to some javascript.

e.g. <script src="/home/dist/app.bundle.1e78ceebf1b08da0218d.js"></script>

from the portal UI log, I can see spring cloud gateway was calling portal UI explicitly referring to this js -

Requested URL: [http://host.docker.internal:8553/app.bundle.1e78ceebf1b08da0218d.js]

in zuul: chain.doFilter(request, response); while parameter is HttpServletRequest, HttpServletResponse in spring cloud gateway: webFilterExchange.getChain().filter(exchange); WebFilterChain.filter(ServerWebExchange)

Anyone know what has been missed in spring cloud gateway, that is causing the call through it to explicitly calling remote javascript?

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda