OTA through the relay stops after 64 KB

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
57/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
docker, python
領域
embedded-iot

調査の方向性

Connect the panel over USB and run tools/mon.py --seconds 120 --no-reset during an OTA attempt. Read the [ota] lines printed by otaFrom, especially http, size, begin failed, and reject total=... match=...; use those readings to narrow down why the download stops. Done means the panel completes the OTA and installs the firmware.

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

説明

publish_fw.sh can't ship firmware right now: the panel takes the ota op, starts the download, and hangs up after 65,536 of 1,153,312 bytes. It goes back to streaming on the old build, so nothing breaks, but nothing installs either.

From nginx on the relay host, second attempt (2026-10-22, times EDT):

03:26:59  GET /pxt/stream  200             stream closes, op received
03:27:01  GET /pxt/fw      200  65536 B    "ESP32HTTPClient"
03:27:03  stream reconnects on the same build, uptime still counting (no reboot)

The first attempt never reached nginx at all. The stream closed and reconnected two seconds later with no /pxt/fw request logged, which points at the TLS connect in otaFrom.

Ruled out:

  • A short read timeout. HTTPClient::setTimeout passes milliseconds through (HTTPClient.cpp:479 in the pinned core), so http.setTimeout(20000) is 20 s, and the hang-up came within about a second.
  • The relay. A curl of /pxt/fw through the same nginx got all 1,153,312 bytes.

The next step needs the panel on USB: run tools/mon.py --seconds 120 --no-reset during an attempt and read the [ota] lines otaFrom prints (http, size, begin failed, reject total=... match=...). Until then, flash over USB with tools/flash_serial.py, or from the panel's access point with tools/onboard.sh.

主要言語
Python
スター
0
フォーク
0
平均マージ
40分
マージ済み PR(30日)
14

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

STRML/pixoticker のほかの issue

STRML/pixoticker の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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