Agent keeps dying in docker-compose (podman) #3351
Replies: 2 comments
-
The agent is dying because it can't connect to the server at port 9000. Try the alpine image, start with a sleep and see if there is a connectivity to the server from inside the agent container. You likely don't want use a 10.x IP but either a hostname (if you have a network) or your docker/podman gateway IP to talk to a port exposed to the host. |
Beta Was this translation helpful? Give feedback.
0 replies
-
closing as no response from opener within a month, please comment if you still have issues |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Component
agent
Describe the bug
I have similar issue to this one: #2575 except their fix does not work. I took example docker compose from documentation and only set forgejo env vars.
I am running docker compose using podman:
podman compose --env-file=.env up
.Podman has socket via
podman.socket
user service at/run/user/1234/podman/podman.sock
which i mount as docker socket as suggested in #85.Config:
I tried adding
WOODPECKER_BACKEND=docker
env to server and agent, settingWOODPECKER_GRPC_ADDR=:9000
in server, triednext
tag, none of these worked after container, network and volumes purges.Not sure if related to agent failures but i cannot finish oauth via forgejo either. Authorization page shows up, after allowing access to account, this error happens:
Forgejo shows successful oauth in account that can be revoked after this but woodpecker is stuck on login page with
Error while authenticating against OAuth provider
If it matters, my nginx config is:
This is podman network info:
System Info
`2.3.0`
Additional context
If i put something stupid into
WOODPECKER_SERVER
, error changes:Validations
next
version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]Beta Was this translation helpful? Give feedback.
All reactions