ArgumentError: wrong number of arguments (given 2, expected 1)
https://sentry.gitlab.net/gitlab/gitlabcom/issues/3339218/?referrer=gitlab_plugin
Gitlab::UrlBlocker::BlockedUrlError: Hostname or IP address invalid
lib/gitlab/url_blocker.rb:226:in `validate_hostname'
raise BlockedUrlError, "Hostname or IP address invalid"
lib/gitlab/url_blocker.rb:114:in `validate_uri'
validate_hostname(uri.hostname)
lib/gitlab/url_blocker.rb:43:in `validate!'
validate_uri(
lib/gitlab/http_connection_adapter.rb:44:in `validate_url!'
Gitlab::UrlBlocker.validate!(url, allow_local_network: allow_local_requests?,
lib/gitlab/http_connection_adapter.rb:27:in `connection'
@uri, hostname = validate_url!(uri)
...
(100 additional frame(s) were not displayed)
Gitlab::HTTP::BlockedUrlError: URL 'https://.campfirenow.com/rooms.json' is blocked: Hostname or IP address invalid
lib/gitlab/http_connection_adapter.rb:50:in `rescue in validate_url!'
raise Gitlab::HTTP::BlockedUrlError, "URL '#{url}' is blocked: #{e.message}"
lib/gitlab/http_connection_adapter.rb:43:in `validate_url!'
def validate_url!(url)
lib/gitlab/http_connection_adapter.rb:27:in `connection'
@uri, hostname = validate_url!(uri)
lib/gitlab/http.rb:55:in `perform_request'
httparty_perform_request(http_method, path, options_with_timeouts) do |fragment|
app/models/integrations/campfire.rb:115:in `rooms'
res = Gitlab::HTTP.get("/rooms.json", base_uri: base_uri, **auth)
...
(98 additional frame(s) were not displayed)
ArgumentError: wrong number of arguments (given 2, expected 1)
app/models/integrations/campfire.rb:119:in `build_message'
def build_message(push)
app/models/concerns/integrations/loggable.rb:12:in `log_error'
message = build_message(message, params)
app/models/concerns/integrations/loggable.rb:20:in `log_exception'
log_error(params[:message] || error.message, params)
app/workers/integrations/execute_worker.rb:23:in `rescue in perform'
integration.log_exception(e)
app/workers/integrations/execute_worker.rb:20:in `perform'
begin
...
(90 additional frame(s) were not displayed)
wrong number of arguments (given 2, expected 1)