Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[FAST3896] Fail to login with a "400 - Bad Request"

未关闭
#486 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
冷清
技术栈
python

调研方向

从 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:

  1. Run the code of the example with the proper data
  2. 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,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

iMicknl/python-sagemcom-api 的其他 Issue

查看 iMicknl/python-sagemcom-api 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。