Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

190
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!