apache / apache/servicecomb-java-chassis
接口契约测试成功但请求网关NOT FOUND org.apache.servicecomb.common.rest.locator.OperationLocator ERROR - locate path failed, status:Not Found
- Dominant language
- Java
- Stars
- 1.9k
- Forks
- 814
- Avg merge
- 8d 23h
- Merged PRs (30d)
- 1
Description
自定义业务接口在serviceComb的契约测试成功

但通过网关请求会报这个错误 :
org.apache.servicecomb.common.rest.locator.OperationLocator ERROR - locate path failed, status:Not Found, http method:POST, path:/je/instruct/conveyInstuction/saveConveyInstruction/, microserviceName:srm

请问是什么原因
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with org.apache.servicecomb.common.rest.locator.OperationLocator and compare the successful contract-test route with the POST path sent through the gateway. Check the reported microservice name, HTTP method, and trailing slash while tracing the gateway request. Done means the cause of the route mismatch is identified and the gateway request resolves successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100