Cannot ping the Gitea instance server" error="deadline_exceeded: Post \"http://192.168.10.60:3000/api/actions/ping.v1.PingService/Ping\": dial tcp 192.168.10.60:3000: i/o timeout" #539

Closed
opened 2024-04-24 15:34:25 +00:00 by jiugecode · 1 comment

level=error msg="Cannot ping the Gitea instance server" error="deadline_exceeded: Post "http://192.168.10.60:3000/api/actions/ping.v1.PingService/Ping": dial tcp 192.168.10.60:3000: i/o timeout"
image

I use this command to create gitea runner docker :

sudo docker run -v $(pwd)/config.yaml:/config.yaml -v $(pwd)/data:/data -v /var/run/docker.sock:/var/run/docker.sock -e CONFIG_FILE=/config.yaml -e GITEA_INSTANCE_URL=http://192.168.10.60:3000 -e GITEA_RUNNER_REGISTRATION_TOKEN=meJZkZH9tasAN6OIQU5Fp9QVqLTcuYYlLmTx2chf -e GITEA_RUNNER_NAME=webrunner -e GITEA_RUNNER_LABELS=webcode -p 8899:8899 --name my_runner -d gitea/act_runner:nightly

and the config.yaml is that i changed, :
``cache:
enabled: true
dir: ""
host: "192.168.10.60"
port: 8899
external_server: ""

container:
network: "1panel-network"

the gitea also installed in the same host with docker
image

the gitea version is 1.21.10

level=error msg="Cannot ping the Gitea instance server" error="deadline_exceeded: Post \"http://192.168.10.60:3000/api/actions/ping.v1.PingService/Ping\": dial tcp 192.168.10.60:3000: i/o timeout" ![image](/attachments/54607186-ab84-4a0c-8296-346eeab79998) I use this command to create gitea runner docker : `sudo docker run -v $(pwd)/config.yaml:/config.yaml -v $(pwd)/data:/data -v /var/run/docker.sock:/var/run/docker.sock -e CONFIG_FILE=/config.yaml -e GITEA_INSTANCE_URL=http://192.168.10.60:3000 -e GITEA_RUNNER_REGISTRATION_TOKEN=meJZkZH9tasAN6OIQU5Fp9QVqLTcuYYlLmTx2chf -e GITEA_RUNNER_NAME=webrunner -e GITEA_RUNNER_LABELS=webcode -p 8899:8899 --name my_runner -d gitea/act_runner:nightly` **and the config.yaml is that i changed, :** ``cache: enabled: true dir: "" host: "192.168.10.60" port: 8899 external_server: "" container: network: "1panel-network" **the gitea also installed in the same host with docker** ![image](/attachments/ba5bc73f-207e-4e4e-b948-1b8ec952a395) **the gitea version is 1.21.10**
Owner

Sorry, I don't think it's a bug of act_runner or Gitea, it is most likely an issue with your local docker environment or network environment.

If you want to seek help, you can ask in QQ group or Discord.

Sorry, I don't think it's a bug of act_runner or Gitea, it is most likely an issue with your local docker environment or network environment. If you want to seek help, you can ask in QQ group or Discord.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gitea/act_runner#539
No description provided.