[Bug] dubbo-samples-spring-boot-idl
- Dominant language
- Java
- Stars
- 41.6k
- Forks
- 26.4k
- Avg merge
- 15h 13m
- Merged PRs (30d)
- 4
Description
### Pre-check
- [X] I am sure that all the content I provide is in English.
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/dubbo/issues?q=is%3Aissue) and found no similar issues.
### Apache Dubbo Component
Java Samples (apache/dubbo-samples)
### Dubbo Version
Dubbo Java: 3.3.0-beta2
Java: 17
I follow the step in dubbo-samples-spring-boot-idl/README.md.
When start provider, `curl` fail.
```shell
curl \
--header "Content-Type: application/json" \
--data '{"name":"Dubbo"}' \
http://localhost:50052/org.apache.dubbo.springboot.demo.idl.Greeter/greet/
{"message":"Invoker not found","status":"404"}
```
The log in provider is
```shell
ERROR [DubboServerHandler-172.16.1.31:50052-thread-5] .tri.h12.AbstractServerTransportListener: -| [DUBBO] server internal error, dubbo version: 3.3.0-beta.2, current host: 172.16.1.31, error code: 99-0. This may be caused by , go to https://dubbo.apache.org/faq/99/0 to find instructions.
org.apache.dubbo.remoting.http12.exception.HttpStatusException: Invoker not found
at org.apache.dubbo.rpc.protocol.tri.h12.AbstractServerTransportListener.doOnMetadata(AbstractServerTransportListener.java:113) ~[dubbo-3.3.0-beta.2.jar:3.3.0-beta.2]
at org.apache.dubbo.rpc.protocol.tri.h12.AbstractServerTransportListener.lambda$onMetadata$0(AbstractServerTransportListener.java:94) ~[dubbo-3.3.0-beta.2.jar:3.3.0-beta.2]
at org.apache.dubbo.common.threadpool.serial.SerializingExecutor.run(SerializingExecutor.java:105) ~[dubbo-3.3.0-beta.2.jar:3.3.0-beta.2]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at org.apache.dubbo.common.threadlocal.InternalRunnable.run(InternalRunnable.java:39) ~[dubbo-3.3.0-beta.2.jar:3.3.0-beta.2]
at java.base/java.lang.Thread.run(Thread.java:1575) [?:?]
```
### Steps to reproduce this issue
follow the step in README.md.
### What you expected to happen
I don't know
### Anything else
_No response_
### Are you willing to submit a pull request to fix on your own?
- [ ] Yes I am willing to submit a pull request on my own!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
Contributor guide
Research direction
Reproduce the failure by following dubbo-samples-spring-boot-idl/README.md and running the shown curl request against the provider. Start with the sample's README and the provider log around AbstractServerTransportListener; done means the documented request works without the “Invoker not found” 404.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100