spring-cloud / spring-cloud/spring-cloud-gateway

Spring cloud gateway response never arrives with TLS micro services

Open
#2,537 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feedback-provided
Dominant language
Java
Stars
4.9k
Forks
3.5k
Avg merge
20h 57m
Merged PRs (30d)
8

Description

Hello,
I have two micro services configured with HTTPS. These micro services are discovered by spring eureka. And finally These micro services are routed by spring gateway.
The problem is when make call to the routes, arrives http 200, but the body response never arrives.

config of gateway

server:
  port: 8080
  ssl:
    enabled: true
    key-password: password
    key-store-password: password
    key-store: certificate.p12
    key-store-type: PKCS12

spring:
  cloud:
    gateway:
      httpclient:
        ssl:
          trustedX509Certificates:
            - someCert.pem

Could you help me?
Thanks

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the gateway configuration shown in the issue and reproduce a routed request to the HTTPS microservices discovered through Eureka. Trace whether the HTTP 200 response is produced while the body remains pending; done means the routed response body arrives successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring-boot
Domain
api, backend, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.