Skip to content

GitLab Runner on MacOS 15

Summary

GitLab Runner started as service on MacOS does not works with on premise Gitlab with error: WARNING: Checking for jobs... failed runner=XXXXX status=couldn't execute POST against https://xxx.xxx.xx/api/v4/jobs/request: Post "https://xxx.xxx.xx/api/v4/jobs/request": dial tcp 10.10.10.10:443: connect: no route to host

Steps to reproduce

Follow installation or upgrade instructions with all possible variation of starting runner as user or system service.

Actual behavior

error: WARNING: Checking for jobs... failed runner=XXXXX status=couldn't execute POST against https://xxx.xxx.xx/api/v4/jobs/request: Post "https://xxx.xxx.xx/api/v4/jobs/request": dial tcp 10.10.10.10:443: connect: no route to host

Expected behavior

success connection to the server

Environment description

MacOS 15.0

Used GitLab Runner version

17.4

Possible fixes

Did not try to fix myself but maybe solution starts from here https://developer.apple.com/forums/thread/761001