[FAST3896] Fail to login with a "400 - Bad Request"
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 冷清
- 技术栈
- python
- 领域
- api, authentication, networking
调研方向
从 README.md 中的示例开始,使用列出的 package 和 Python 版本,在报告的 FAST3896 router 上复现登录过程。跟踪产生“Request need a non empty 'req' part”响应的请求,并将其与 router 预期的请求格式进行比较。当示例能够成功登录且不再出现 400 响应时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Versions
| Key | Value |
|---|---|
| Package version | 1.4.3 |
| Python Version | 3.14.4 |
| F@st Router Model | FAST3896 |
Describe the bug
Trying the example code of the README.md fails to login to the modem it fails with "400 - Bad Request"
Manufacturer: "Sagemcom"
ManufacturerOUI: "6CBAB8"
ModelName: "FAST3896_TLC"
ModelNumber: "FAST3896"
ProductClass: "FAST3896"
To Reproduce
Steps to reproduce the behavior:
- Run the code of the example with the proper data
- It outputs:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>400 - Bad Request</title>
</head>
<body>
<h1>400 - Bad Request</h1>
<p>Request need a non empty 'req' part</p>
</body>
</html>
Expected behavior
Login succesful
Additional context
Add any other context about the problem here.
[bug]
- 主要语言
- Python
- 星标
- 141
- 派生
- 49
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
iMicknl/python-sagemcom-api 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 45/100
iMicknl/python-sagemcom-api#453 ·
-
难度 4/5 3-5 天 新手友好度 30/100
iMicknl/python-sagemcom-api#391 · 4 条评论 ·
-
难度 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 天内回复