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

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

还没有人认领这个 Issue。

评估

难度
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 分钟
30 天内合并 PR
3

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

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

linuxserver/Heimdall 的其他 Issue

查看 linuxserver/Heimdall 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 发到你的邮箱

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