are you able to let us know which root causes from the Builds are Stuck in Pending you ruled out and how? Were you able to narrow down potential root causes from that list? This will save us time digging through your logs.
The first thing I did was to see if the agent was successfully connecting to the server (see “What does a successful connection look like?”). I do not see any corresponding logs which tells me the agent is not connecting to the server. The most common root cause for this are networking issues.
Then I took a look at the agent logs and I see TCP timeout errors. This indicates the agent is unable to establish a connection to the IP address.
dial tcp 126.96.36.199:443: i/o timeout
The most common root causes for this are firewall issues and reverse proxy issues. It is also possible there is a configuration issue with the rpc host or proto, but since these have been redacted, it is tough to verify. I am sure however, that this is indicative of networking issues.
EDIT please report back once you have a fix. It would be great to have a documented root cause and solution for this specific i/o error message.
acme/autocert: host “poprank.io” not configured in HostWhitelist
It looks like your IP was previously used by poprank.io and continues to receive requests for this domain, which are rejected by the system due to domain mismatch.
I recommend trying to curl Drone server from your agent server to verify connectivity; then try to curl the Drone server from inside your agent container via docker exec to verify connectivity. These should be good next steps to either confirm or rule out a number of potential root causes.