SDK gets the error: kConnectError
- Dominant language
- C++
- Stars
- 1.9k
- Forks
- 432
- PR merge metrics
- No merged PRs in 30d
Description
同时会向stderr打印如下日志
resolve address [这里是机器名:端口号] failed: Host not found (authoritative)
然后持续打印如下内容
libsofa_pbrpc ERROR src/sofa/pbrpc/simple_rpc_channel_impl.cc:137] CallMethod(): resolve address failed: {这里是机器名:端口号}
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with src/sofa/pbrpc/simple_rpc_channel_impl.cc at line 137 and trace how the SDK resolves the configured machine name and port. Reproduce the kConnectError and repeated stderr output using the issue's address-resolution failure details. Done means the cause is identified and the SDK no longer repeatedly reports the unresolved endpoint, with an appropriate regression test if the repository provides one.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100