Reputation: 51
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 :
I am not able to go to the admin area.
Upvotes: 5
Views: 7506
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
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