"Something went wrong" error message in the GitLab UI


#1

We are using the Drone CI integration with GitLab. After updating GitLab to version 10.5.6-ce.0 we receive the following error on our project configuration page.

Our Drone version is 0.8.

On GitLab log we found this.

Started PUT “/project-owner/project-name/services/drone_ci/test” for 192.168.1.1 at 2018-03-22 11:34:40 +0100
Processing by Projects::ServicesController#test as JSON
Parameters: {“utf8”=>“✓”, “authenticity_token”=>"[FILTERED]", “service”=>{“active”=>“1”, “push_events”=>“0”, “merge_requests_events”=>“0”, “tag_push_events”=>“0”, “token”=>"[FILTERED]", “drone_url”=>“https://drone.company.cp,”, “enable_ssl_verification”=>“1”}, “namespace_id”=>“project-owner”, “project_id”=>“project-name”, “id”=>“drone_ci”}
Completed 500 Internal Server Error in 205ms (ActiveRecord: 4.7ms)

NoMethodError (undefined method allow_local_requests_from_hooks_and_services?' for #<ApplicationSetting:0x00007f082553d598>): lib/gitlab/current_settings.rb:17:inmethod_missing’
lib/gitlab/proxy_http_connection_adapter.rb:31:in allow_settings_local_requests?' lib/gitlab/proxy_http_connection_adapter.rb:27:inallow_local_requests?’
lib/gitlab/proxy_http_connection_adapter.rb:13:in connection' app/services/web_hook_service.rb:73:inmake_request’
app/services/web_hook_service.rb:26:in execute' app/models/hooks/service_hook.rb:6:inexecute’
app/models/project_services/drone_ci_service.rb:23:in execute' app/models/service.rb:146:intest’
app/controllers/projects/services_controller.rb:30:in test' lib/gitlab/i18n.rb:47:inwith_locale’
lib/gitlab/i18n.rb:53:in with_user_locale' app/controllers/application_controller.rb:325:inset_locale’
lib/gitlab/middleware/multipart.rb:95:in call' lib/gitlab/request_profiler/middleware.rb:14:incall’
lib/gitlab/middleware/go.rb:17:in call' lib/gitlab/etag_caching/middleware.rb:11:incall’
lib/gitlab/middleware/read_only.rb:31:in call' lib/gitlab/request_context.rb:18:incall’
lib/gitlab/metrics/requests_rack_middleware.rb:27:in `call’

Can you help us?


#2

Those errors are coming from GitLab, not Drone. Please contact the GitLab support team to investigate those error messages. It sounds like maybe they had a bug / regression in their release.