nacos-group / nacos-group/nacos-sdk-python
包含端口后的域名作为地址,解析报错
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 471
- Forks
- 155
- PR merge metrics
- No merged PRs in 30d
Description
如果直接使用包含端口号的域名作为服务的server_address,会导致连接错误,client.py中parse_nacos_server_addr函数没有对这种进行处理
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start in client.py at parse_nacos_server_addr and reproduce the connection error with a server_address containing a port in the domain. Trace how that address is parsed, then verify that the resulting address connects correctly when the port is included.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100