iMicknl / iMicknl/python-sagemcom-api
[FAST3896] Fail to login with a "400 - Bad Request"
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Python
- Sterne
- 141
- Forks
- 49
- Ø Merge
- 7 Std. 54 Min.
- Gemergte PRs (30 T.)
- 4
Beschreibung
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]
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne mit dem Beispiel in README.md und reproduziere den Login am gemeldeten FAST3896-Router unter Verwendung der angegebenen Paket- und Python-Versionen. Verfolge die Anfrage, die die Antwort “Request need a non empty 'req' part” erzeugt, und vergleiche sie mit dem vom Router erwarteten Anfrageformat. Die Aufgabe ist erledigt, wenn sich das Beispiel erfolgreich anmeldet, ohne die 400-Antwort zu erhalten.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- api, authentication, networking
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 45/100