Skip to content
Contents
GuidesOpenWrt

OpenWrt SNAPSHOT ImageBuilder downloads fail. Distinguish DNS errors from TLS errors

When downloading packages using ImageBuilder, ensure the build host can resolve DNS and establish TLS connections. While the router can access the internet, this does not guarantee that the build host uses the same DNS resolver or proxy settings.

Applies to · OpenWrt SNAPSHOT r38610-ec619a6d71 · x86_64 · GL-MT6000

What to check

On the machine running ImageBuilder, record failures for URL access, IP resolution, TLS verification, and backend download, then access the same repository index from the same network.

How to interpret the result

Extract the actual repository hostname from the failed log. If resolution fails, first check the build environment's DNS. If resolution succeeds but certificate verification fails, investigate the clock, hostname, and certificate chain. After successful download, retain package signature verification.

Verify and recover

Build for the exact profile and verify that every required package downloads with valid signatures. Keep the old build directory and TLS validation.

Related guide · Where to capture packets on OpenWrt when a TCP handshake times out

Explore hardware

Comments