Kube runner gives 404

Hi, I’m running drone (2.0.1 on alpine3.13) and drone-runner-kube (commit f71d613c on alpine3.13).

When I start the runner, it gives this 404 error. Is it a version issue with drone server?

time="2021-06-11T17:55:33Z" level=info msg="starting the server" addr=":3000"
time="2021-06-11T17:55:34Z" level=error msg="cannot ping the remote server" error="Post \"http://drone:8080/rpc/v2/ping\": dial tcp 10.98.134.232:8080: connect: connection refused"
time="2021-06-11T17:55:36Z" level=error msg="cannot ping the remote server" error="Post \"http://drone:8080/rpc/v2/ping\": dial tcp 10.98.134.232:8080: connect: connection refused"
time="2021-06-11T17:55:38Z" level=error msg="cannot ping the remote server" error="Post \"http://drone:8080/rpc/v2/ping\": dial tcp 10.98.134.232:8080: connect: connection refused"
time="2021-06-11T17:55:40Z" level=error msg="cannot ping the remote server" error="Post \"http://drone:8080/rpc/v2/ping\": dial tcp 10.98.134.232:8080: connect: connection refused"
time="2021-06-11T17:55:42Z" level=error msg="cannot ping the remote server" error="Post \"http://drone:8080/rpc/v2/ping\": dial tcp 10.98.134.232:8080: connect: connection refused"
time="2021-06-11T17:55:44Z" level=error msg="cannot ping the remote server" error="Post \"http://drone:8080/rpc/v2/ping\": dial tcp 10.98.134.232:8080: connect: connection refused"
time="2021-06-11T17:55:46Z" level=error msg="cannot ping the remote server" error="Post \"http://drone:8080/rpc/v2/ping\": dial tcp 10.98.134.232:8080: connect: connection refused"
time="2021-06-11T17:55:48Z" level=error msg="cannot ping the remote server" error="Post \"http://drone:8080/rpc/v2/ping\": dial tcp 10.98.134.232:8080: connect: connection refused"
time="2021-06-11T17:55:50Z" level=error msg="cannot ping the remote server" error="Post \"http://drone:8080/rpc/v2/ping\": dial tcp 10.98.134.232:8080: connect: connection refused"
time="2021-06-11T17:55:55Z" level=error msg="cannot ping the remote server" error="404 page not found\n"
time="2021-06-11T17:55:56Z" level=error msg="cannot ping the remote server" error="404 page not found\n"
time="2021-06-11T17:55:57Z" level=error msg="cannot ping the remote server" error="404 page not found\n"
time="2021-06-11T17:55:58Z" level=error msg="cannot ping the remote server" error="404 page not found\n"
time="2021-06-11T17:55:59Z" level=error msg="cannot ping the remote server" error="404 page not found\n"
time="2021-06-11T17:56:00Z" level=error msg="cannot ping the remote server" error="404 page not found\n"
time="2021-06-11T17:56:01Z" level=error msg="cannot ping the remote server" error="404 page not found\n"
time="2021-06-11T17:56:02Z" level=error msg="cannot ping the remote server" error="404 page not found\n"
time="2021-06-11T17:56:03Z" level=error msg="cannot ping the remote server" error="404 page not found\n"
time="2021-06-11T17:56:04Z" level=error msg="cannot ping the remote server" error="404 page not found\n"
time="2021-06-11T17:56:05Z" level=error msg="cannot ping the remote server" error="404 page not found\n"
time="2021-06-11T17:56:06Z" level=error msg="cannot ping the remote server" error="404 page not found\n"
time="2021-06-11T17:56:07Z" level=error msg="cannot ping the remote server" error="404 page not found\n"
time="2021-06-11T17:56:08Z" level=error msg="cannot ping the remote server" error="404 page not found\n"
time="2021-06-11T17:56:09Z" level=error msg="cannot ping the remote server" error="404 page not found\n"
time="2021-06-11T17:56:10Z" level=error msg="cannot ping the remote server" error="404 page not found\n"
time="2021-06-11T17:56:11Z" level=error msg="cannot ping the remote server" error="404 page not found\n"
time="2021-06-11T17:56:12Z" level=error msg="cannot ping the remote server" error="404 page not found\n"
…

@andrewzah,

Most common reason for this issue could be:

  1. Problem with networking (this is the most likely root cause)
  2. incorrect host address
  3. incorrect secret

You may want to have a look into below article: