Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #5059

Closed
Open
Created Sep 12, 2013 by Administrator@rootOwner

WebHook connection refuse and Sidekiq stress

Created by: ayalaio

https://github.com/gitlabhq/gitlabhq/blob/master/app/models/web_hook.rb#L28

When the webhook url exists no more this stacktrace happens and stresses sidekiq

Isn't it better to catch the error ?

2013-08-29T02:13:04Z 15409 TID-ht1x0 WARN: Connection refused - connect(2) 2013-08-29T02:13:04Z 15409 TID-ht1x0 WARN: /usr/local/rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/net/http.rb:762:in initialize' /usr/local/rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/net/http.rb:762:inopen' /usr/local/rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/net/http.rb:762:in block in connect' /usr/local/rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/timeout.rb:68:intimeout' /usr/local/rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/timeout.rb:99:in timeout' /usr/local/rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/net/http.rb:762:inconnect' /usr/local/rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/net/http.rb:755:in do_start' /usr/local/rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/net/http.rb:744:instart' /usr/local/rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/net/http.rb:1284:in request' /private/git/gitlab/vendor/bundle/ruby/1.9.1/gems/httparty-0.11.0/lib/httparty/request.rb:92:inperform' /private/git/gitlab/vendor/bundle/ruby/1.9.1/gems/httparty-0.11.0/lib/httparty.rb:461:in perform_request' /private/git/gitlab/vendor/bundle/ruby/1.9.1/gems/httparty-0.11.0/lib/httparty.rb:414:inpost' /private/git/gitlab/app/models/web_hook.rb:28:in execute' /private/git/gitlab/app/workers/project_web_hook_worker.rb:7:inperform' /private/git/gitlab/vendor/bundle/ruby/1.9.1/gems/sidekiq-2.12.0/lib/sidekiq/processor.rb:49:in block (2 levels) in process' /private/git/gitlab/vendor/bundle/ruby/1.9.1/gems/sidekiq-2.12.0/lib/sidekiq/middleware/chain.rb:109:incall' /private/git/gitlab/vendor/bundle/ruby/1.9.1/gems/sidekiq-2.12.0/lib/sidekiq/middleware/chain.rb:109:in block in invoke' /private/git/gitlab/vendor/bundle/ruby/1.9.1/gems/sidekiq-2.12.0/lib/sidekiq/middleware/server/active_record.rb:6:incall'

Assignee
Assign to
Time tracking