Skip to content

Invalid URL format (must start with /rtp/, /udp/, or /rtsp/)报错 #303

@HongJie-Master

Description

@HongJie-Master

Mon Feb 2 15:25:24 2026 daemon.info rtp2httpd[31893]: [Worker 0] New client 10.10.0.2:10712 requested URL: /epg.xml (method: GET)
Mon Feb 2 15:25:24 2026 daemon.info rtp2httpd[31893]: [Worker 0] zerocopy_queue_add_file: Queued file fd=13 offset=0 size=1342440
Mon Feb 2 15:25:25 2026 daemon.info rtp2httpd[31893]: [Worker 0] Zero-copy: sendfile complete (1342440 bytes)
Mon Feb 2 15:25:44 2026 daemon.notice netifd: iptv (3157): udhcpc: sending renew to 10.242.27.1
Mon Feb 2 15:25:44 2026 daemon.notice netifd: iptv (3157): udhcpc: lease of 10.242.27.151 obtained, lease time 2400
Mon Feb 2 15:27:34 2026 daemon.info rtp2httpd[31893]: [Worker 0] New client 10.10.0.2:9732 requested URL: /favicon.ico (method: GET)
Mon Feb 2 15:27:34 2026 daemon.info rtp2httpd[31893]: [Worker 0] Invalid URL format (must start with /rtp/, /udp/, or /rtsp/)
Mon Feb 2 15:32:23 2026 daemon.info rtp2httpd[31893]: [Worker 0] New client 10.10.0.2:9005 requested URL: /player (method: GET)
Mon Feb 2 15:32:23 2026 daemon.info rtp2httpd[31893]: [Worker 0] Initialized embedded files hashmap with 7 files
Mon Feb 2 15:32:23 2026 daemon.info rtp2httpd[31893]: [Worker 0] New client 10.10.0.2:7904 requested URL: /playlist.m3u (method: GET)
Mon Feb 2 15:32:23 2026 daemon.info rtp2httpd[31893]: [Worker 0] New client 10.10.0.2:6517 requested URL: /epg.xml (method: GET)
Mon Feb 2 15:32:24 2026 daemon.info rtp2httpd[31893]: [Worker 0] New client 10.10.0.2:5051 requested URL: /%E5%A4%AE%E8%A7%86/CCTV1%E7%BB%BC%E5%90%88 (method: GET)
根据AI给与的答复说:
这是因为你的播放设备(客户端 10.10.0.2)尝试访问了一个 rtp2httpd 插件不支持的链接地址。
具体原因分析:
根据日志显示,报错发生在客户端请求 /favicon.ico(网站图标)时:
协议限制:rtp2httpd 是一个专门用于将 IPTV 组播流转换为 HTTP 流的工具。它要求请求的 URL 必须以指定的路径开头(如 /rtp/、/udp/ 或 /rtsp/),以便它识别并抓取对应的视频流。
无效请求:浏览器或某些播放软件在连接时会默认寻找 /favicon.ico 或 /player 等页面。因为这些路径不符合插件定义的“直播流路径格式”,所以系统直接拦截并报错:Invalid URL format。

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions