user2696813
user2696813

Reputation: 51

Addition of webhooks in Gitlab

I want to do automatic build in Jenkins when code gets pushed into the Gitlab. For the same doing webhooks configuration in Gitlab, but getting error :

Url is blocked: Requests to the local network are not allowed.

Even not able to do the activity mentioned in the image :

enter image description here

I am not able to go to the admin area.

Upvotes: 5

Views: 7506

Answers (2)

Hamza AZIZ
Hamza AZIZ

Reputation: 2937

if you have the gitlab server locally

from doc

This behavior can be overridden by enabling the option “Allow requests to the local network from web hooks and services” in the “Outbound requests” section inside the Admin Area > Settings (/admin/application_settings/network):

url to the entire article here

Upvotes: 2

adil ameen
adil ameen

Reputation: 459

Use the root login and check the outbound option, you should be good. Let me know if you get any other error. I had faced the same issue yesterday, but all good now.

Upvotes: 0

Related Questions