Cannot connect to host - Sagemcom F@st 5359 (KPN Box 12)
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 30/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- python
- 领域
- api, networking
调研方向
从 quickstart 脚本和 client.login() 调用开始,使用 Python 3.13.2、package 1.4.1 以及报告中的 KPN Box 12 详细信息重现该故障。确定连接失败是由主机处理方式还是路由器 API 行为发生变化导致的;当登录成功且能够获取设备信息时即表示完成。
由索引模型根据 Issue 内容生成。
描述
Versions
| Key | Value |
|---|---|
| Package version | 1.4.1 |
| Python Version | 3.13.2 |
| F@st Router Model | Sagemcom F@st 5359 |
Describe the bug
Using the quickstart script I can't seem to set up a connection to my KPN Box 12 from my laptop.
The output:
Cannot connect to host http:80 ssl:default [Name or service not known]
I can ping the machine and get a reply back so it is reachable.
When I use only my IP address instead of http://192.168.2.254 I get an empty printed line(it still ends up in the client.login() Exception handler):
To Reproduce
Steps to reproduce the behavior:
- pip install this package and copy the quickstart script
- fill in
http://192.168.2.254as HOST(I've tried the IP without http:// as well and http://mymodem.kpn, didn't work either) - use "admin" as USERNAME and my admin's password as PASSWORD
- tried both encryption methods, neither works even though it should be SHA512 according to the table
- tried both with/without validating SSL cert
- run the script
- it runs into the connection exception while trying to client.login() and exits
Expected behavior
I expected to connect to my KPN Box 12 and get my device info and connected devices and such.
Screenshots
Additional context
I'm wondering if it's not working because KPN recently rolled out their own KPN software instead of the slow "original" interface it had before that perhaps the calls or xpaths are different now, but I don't expect it.
[bug]
- 主要语言
- Python
- 星标
- 141
- 派生
- 49
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
iMicknl/python-sagemcom-api 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 45/100
iMicknl/python-sagemcom-api#486 ·
-
难度 4/5 3-5 天 新手友好度 45/100
iMicknl/python-sagemcom-api#453 ·
-
难度 2/5 1-3 小时 新手友好度 20/100
iMicknl/python-sagemcom-api#387 · 2 条评论 · 1 个 reaction ·
-
enhancement
难度 5/5 一周以上 新手友好度 25/100
-
[FAST3890V2] Incompatible model using example code可能重新可做 @iMicknl 于 2320 天前认领,目前没有进行中的 PR。 未关闭blocked help wanted new-device
iMicknl/python-sagemcom-api#1 · 5 条评论 · 已指派 1 人 ·
查看 iMicknl/python-sagemcom-api 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
PedestrianDynamics/pyFDS-Evac#343 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
theskumar/python-dotenv#708 ·
-
难度 1/5 1 小时以内 新手友好度 88/100
维护者通常 2 天内回复
-
Docs Timedelta
难度 2/5 1-3 小时 新手友好度 72/100
pandas-dev/pandas#69919 ·
维护者通常 1 天内回复
-
API documentation
难度 2/5 1-3 小时 新手友好度 72/100
zephyrproject-rtos/west#1009 · 2 条评论 ·
维护者通常 3 天内回复