Hi,
i have a runner in docker, I want to activate the session_server, but this does not work.
That was my config:
[session_server]
listen_address = "[::]:8093"
advertise_address = "runner.example.com:8093"
session_timeout = 1800
or:
[session_server]
listen_address = "[::]:8093"
advertise_address = "<server ip>:8093"
session_timeout = 1800
container logs:
Configuration loaded builds=0 max_builds=2
listen_address not defined, metrics & debug endpoints disabled builds=0 max_builds=2
Session server listening address=[::]:8093 builds=0 max_builds=2
Initializing executor providers builds=0 max_builds=2
$ ss -tupln
Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port Process
udp UNCONN 0 0 0.0.0.0:68 0.0.0.0:* users:(("dhclient",pid=576,fd=7))
tcp LISTEN 0 128 0.0.0.0:XXXX 0.0.0.0:* users:(("sshd",pid=815,fd=3))
tcp LISTEN 0 128 [::]:XXXX [::]:* users:(("sshd",pid=815,fd=4))
I then tried listen_address
and advertise_address
with the ip and the domain, all with the same error
Configuration loaded builds=0 max_builds=2
listen_address not defined, metrics & debug endpoints disabled builds=0 max_builds=2
FATAL: Failed to create session server builds=0 error=listen tcp <server ip>:8093: bind: cannot assign requested address max_builds=2
I cannot open a terminal from a job because of this
I suspect it is due to listen_address not defined, metrics & debug endpoints disabled
, but I have set listen_address
in the config as described in the documentation (Advanced configuration | GitLab), which has not helped, or runs into an error with ip or domain
Can anyone tell me what I am doing wrong?