spring-cloud / spring-cloud/spring-cloud-gateway
Discovery route locator not picking up new services
@spencergibb is already working on this.
Since Apr 20, 2020.
- Dominant language
- Java
- Stars
- 4.9k
- Forks
- 3.5k
- Avg merge
- 20h 57m
- Merged PRs (30d)
- 8
Description
Hello, I used springboot2.2.2.RELEASE,springcloud Hoxton.SR1.
- When I started order is
eurekaServer(design-eureka)-->configServer(design-config)-->gateway(design-gateway)-->authServer(design-auth).
The request url is
http://localhost:9000/DESIGN-AUTH/auth/login
@RequestMapping(value = "/login",method = RequestMethod.POST)
public String login() {
String result="{\"code\":200,\"data\":\"success\"}";
return result;
}
The result is 404 error.can‘t reach authServer
- When I started order is
eurekaServer(design-eureka)-->configServer(design-config)-->authServer(design-auth)-->gateway(design-gateway)
The result is ok,The authServer is ok.
================================================
When I used springboot2.1.11.RELEASE,springcloud Greenwich.SR4
2nd start order way is ok
The demon code url is demon url
> Thanks
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.