iMicknl / iMicknl/python-sagemcom-api
[FAST3896] Fail to login with a "400 - Bad Request"
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 141
- Fork
- 49
- Merge medio
- 7h 54m
- PR unite (30g)
- 4
Descrizione
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]
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia con l’esempio in README.md e riproduci il login sul router FAST3896 indicato usando le versioni del pacchetto e di Python elencate. Traccia la richiesta che produce la risposta “Request need a non empty 'req' part” e confrontala con il formato della richiesta previsto dal router. Il lavoro è completato quando l’esempio esegue il login correttamente senza la risposta 400.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- api, authentication, networking
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 45/100