Skip to content

Many WebHooks::LogExecutionWorker failures due to invalid WebHook record: Validation failed: Url is blocked: Requests to the local network are not allowed

https://sentry.gitlab.net/gitlab/gitlabcom/issues/2716902/?referrer=gitlab_plugin

There are ~15k errors per day appearing in Sentry from WebHooks::LogExecutionWorker.

The exception happens when calling WebHooks::LogExecutionService#execute and the errors suggest that there are WebHook records with invalid URLs:

ActiveRecord::RecordInvalid: Validation failed: Url is blocked: Requests to the local network are not allowed
...
Edited by Luke Duncalfe