Skip to content

depot_tools RPC failed transiently (retry in 2s): #20602

Answered by sylirre
Jhevison asked this question in Q&A
Discussion options

You must be logged in to vote

The error dial tcp: lookup chrome-infra-packages.appspot.com on [::1]:53: read udp [::1 ]:38251->[::1]:53: read: connection refused indicates that program failed to read /etc/resolv.conf and attempts fallback to local DNS resolver. This file doesn't exist on Android OS (Termux) at given location.

Termux provides resolv.conf at /data/data/com.termux/files/usr/etc/resolv.conf when resolv-conf package is installed.

Your workarounds are termux-chroot or proot-distro. Both would bind resolv.conf to its normal place (/etc/resolv.conf).

Local DNS resolver [::1]:53 available only when device runs WiFi hotspot.

See https://wiki.termux.com/wiki/Differences_from_Linux (Termux is not FHS compliant)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Jhevison
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants