-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GITLAB_RUNNER. ERROR: registering runner.. failed #1123
Comments
Hey, In your case |
@solidnerd thanks for respond me. Let me see if I understood, I have to rename GITLAB_HOST = localhost for another name?? Which variable in specific do I have to modify?... thanks solidnerd for your help and excuse my English. Stay tuned to your comments. |
@solidnerd I am sorry my friend, Even throw me do not understand that in specific of my docker-compose.yml I have to modify ... please help my friend. |
No, you should use $ gitlab-runner register --name my-runner --url http://gitlab --registration-token Notes:
|
In my case it has been in fact the solution to pass the value being attached to Although there's one strange behavior which bugs me a bit: In my But when accessing the Web-GUI of GitLab I have to access it by using the hostname of my local host. I would expect to be able to access GitlLab UI by passing the hostname as provided in When navigating to the Admin Area/Runners section of the Web-GUI, the section "How to setup a shared Runner for a new project" in order to retrieve the registration token, step 2 is again specifying a URL with the hostname of my actual host-machine, e. g. "https://localhostname/ Thanks in advance |
@FranVeraC Does your probem still exists or can we close this issue ? |
I am still having this issue |
@herobix Same issue. It may be caused by gitlab is behind a reverse proxy like |
This issue has been automatically marked as stale because it has not had any activity for the last 60 days. It will be closed if no further activity occurs during the next 7 days. Thank you for your contributions. |
@sameersbn @panosoft @mikew
hi, first of all to thank you for this community and for the contribution you make to the informatics.
My problem is this, I'm working with docker-gitlab sameersbn: 8.16.6, postgresql:9.6-2, redis:latest, registry:2.5, nginx. All working properly as far as I could see but I have configured gitlab-runner:latest for continuous integration and I got the following error when registering a runner for gitlab: "ERROR: Registering runner... failed runner=xrz3LPZ status=couldn't execute POST against https://localhost:10443/ci/api/v1/runners/register.json: Post https://localhost:10443/ci/api/v1/runners/register.json: dial tcp [::1]:10443: getsockopt: connection refused
PANIC: Failed to register this runner. Perhaps you are having network problems "_.
I do not know if something in my configuration is wrong or something is missing to configure for this to work, please I need help this is very important for the project.
Then I describe my working environment together with my configuration file docker-compose.yml.
docker version:
Docker version 17.03.0-ce, build 60ccb22
docker compose version:
docker-compose version 1.11.2, build dfed245
docker-compose.yml
Thanks in advance, any help and comment is welcome.
The text was updated successfully, but these errors were encountered: