Hi, I was using drone for a good 3 months and then all of a sudden I got this error message Error response from daemon: network drone-kWWr0mA186LOPEX1wOGs not found
. I found an issue that also encountered that.
I have looked at the docker logs but nothing weird there. When looking at the logs of the server I see no weird things happening. When I look at the server I see this message repeated often: http: no content returned: re-connect and re-try
. They are both running on the same server but they are not connected through the docker network. It just uses the domain name to connect.
I am on the latest docker and the latest drone.
I do actively prune the system. I have stopped that process and recreated the drone containers (with the network) but still get the same error.
This is how my docker compose file looks
services:
agent:
environment:
DRONE_LOGS_TRACE: 'true'
DRONE_RPC_HOST: drone.example.com
DRONE_RPC_PROTO: https
DRONE_RPC_SECRET:
DRONE_RUNNER_CAPACITY: 2
DRONE_RUNNER_NAME: home_runner
DRONE_SECRET_PLUGIN_ENDPOINT: https://secrets.drone.example.com
DRONE_SECRET_PLUGIN_TOKEN:
image: drone/drone-runner-docker:1
ports:
- 3021:3000
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
server:
environment:
DRONE_GITHUB_CLIENT_ID:
DRONE_GITHUB_CLIENT_SECRET:
DRONE_LOGS_TRACE: 'true'
DRONE_RPC_SECRET:
DRONE_SERVER_HOST: drone.example.com
DRONE_SERVER_PROTO: https
DRONE_USER_CREATE: username:test,admin:true
image: drone/drone:2
ports:
- 3018:80
restart: always
volumes:
- data:/data
vault:
environment:
DEBUG: 'true'
DRONE_LOGS_TRACE: 'true'
DRONE_SECRET:
VAULT_ADDR: https://vault.example.com
VAULT_TOKEN:
image: drone/vault
ports:
- 3019:3000
restart: always
version: '3.5'
volumes:
data: null