AVM Fritzbox: Incorrect connection status and uptime with FRITZ!OS 8.25

オープン
#1,613 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
52/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
php
領域
backend

調査の方向性

Read app/SupportedApps/AVMFritzbox/AVMFritzbox.php and trace how the status and uptime fields are fetched. Compare the existing WANIPConnection response with the reported WANDSLLinkConfig result, then check how the supported FRITZ!Box configurations expose their connection information. Done means the tile reports meaningful status and uptime for this DSL setup while remaining compatible with other supported configurations.

索引モデルが issue の本文から書いたものです。

説明

Environment
Heimdall version: 2.8.3
Router: FRITZ!Box 7590 AX
FRITZ!OS: 8.25
Internet connection: DSL (PPPoE)
Application: AVM Fritzbox (configured application tile)
Problem description

The AVM Fritzbox application tile displays incorrect connection information:

Status: Disconnected
Up Time: 00h00m00s

However, the DSL connection is active, and the Received and Sent traffic statistics are working correctly and continue to update.

The Heimdall API test also succeeds.

Findings

I inspected the implementation in:

app/SupportedApps/AVMFritzbox/AVMFritzbox.php

The current implementation uses the following SOAP action for the status and uptime fields:

Service: WANIPConnection:1
Endpoint: WANIPConn1
Action: GetStatusInfo
Fields: NewConnectionStatus and NewUptime

A direct SOAP request to this endpoint returns:

<u:GetStatusInfoResponse>
Disconnected
ERROR_NONE
0
</u:GetStatusInfoResponse>

However, querying the DSL link service directly:

Service: WANDSLLinkConfig:1
Endpoint: WANDSLLinkC1
Action: GetDSLLinkInfo

returns:

<u:GetDSLLinkInfoResponse>
PPPoE
Up
</u:GetDSLLinkInfoResponse>

The FRITZ!Box device description lists WANIPConnection:1 and WANDSLLinkConfig:1. The tested WANPPPConnection endpoint did not return a valid action response.

The Received and Sent statistics are obtained separately through WANCommonInterfaceConfig:1 using GetAddonInfos, and these values work as expected.

Expected behaviour

The application should display a meaningful connection status and uptime for a supported FRITZ!Box DSL configuration.

Actual behaviour

The application displays Disconnected and 00h00m00s, even though the DSL link reports Up.

Request

Could you investigate whether the current implementation uses the appropriate UPnP service for determining the connection status and uptime on newer FRITZ!OS versions?

The DSL link status and the Internet connection status are not necessarily equivalent, so simply replacing one status with the other may not be sufficient. A robust solution should use the appropriate service for each value and remain compatible with other supported FRITZ!Box configurations.

I have not modified the Heimdall source code. All findings above were obtained by inspecting the existing implementation and making read-only SOAP requests to the router.

主要言語
PHP
スター
9.4k
フォーク
626
平均マージ
13分
マージ済み PR(30日)
3

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

linuxserver/Heimdall のほかの issue

linuxserver/Heimdall の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。