{"action":"created","issue":{"url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/254","labels_url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/254/labels{/name}","comments_url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/254/comments","events_url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/254/events","html_url":"https://github.com/sameersbn/docker-gitlab/issues/254","id":56837434,"number":254,"title":"Sidekiq email delivery jobs failures","user":{"login":"gkostyanikov","id":666122,"avatar_url":"https://avatars.githubusercontent.com/u/666122?v=3","gravatar_id":"","url":"https://api.github.com/users/gkostyanikov","html_url":"https://github.com/gkostyanikov","followers_url":"https://api.github.com/users/gkostyanikov/followers","following_url":"https://api.github.com/users/gkostyanikov/following{/other_user}","gists_url":"https://api.github.com/users/gkostyanikov/gists{/gist_id}","starred_url":"https://api.github.com/users/gkostyanikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gkostyanikov/subscriptions","organizations_url":"https://api.github.com/users/gkostyanikov/orgs","repos_url":"https://api.github.com/users/gkostyanikov/repos","events_url":"https://api.github.com/users/gkostyanikov/events{/privacy}","received_events_url":"https://api.github.com/users/gkostyanikov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-06T16:57:08Z","updated_at":"2015-02-10T06:05:19Z","closed_at":null,"body":"Tried several ways starting gitlab container with linked redis and postgres instances.\r\nSo, started redis:\r\n`\r\ndocker run --name=redis -d sameersbn/redis:latest\r\n`\r\nthen postgres\r\n```\r\n  docker run --name=postgresql -d \\\r\n  -e 'DB_NAME=gitlabhq_production' -e 'DB_USER=gitlab' -e 'DB_PASS=c8AsHg8KYCjTo' \\\r\n  -v /opt/postgresql/data:/var/lib/postgresql \\\r\n  sameersbn/postgresql:latest\r\n```\r\nand finally:\r\n```\r\ndocker run --name=gitlab -d \\\r\n  -v /opt/gitlab/data:/home/git/data \\\r\n  --link redis:redisio \\\r\n  --link postgresql:postgresql \\\r\n  -e 'GITLAB_PORT=10080' \\\r\n  -e 'GITLAB_SSH_PORT=10022' \\\r\n  -e 'GITLAB_HOST=git.domain.com' \\\r\n  -e 'GITLAB_EMAIL=gitlab@domain.com' \\\r\n  -e 'GITLAB_SUPPORT=gitlab@domain.com' \\\r\n  -e 'SMTP_USER=domain@gmail.com' \\\r\n  -e 'SMTP_PASS=[screened]' \\\r\n  -e 'GITLAB_BACKUPS=daily' \\\r\n  -e 'GITLAB_BACKUP_EXPIRY=604800' \\\r\n  -p 10022:22 -p 10080:80 sameersbn/gitlab:latest\r\n```\r\n\r\nThen created new user and got this in sidekiq.log:\r\n```\r\n2015-02-06T16:36:21Z 303 TID-5rn64 INFO: Starting processing, hit Ctrl-C to stop\r\n2015-02-06T16:44:47Z 303 TID-8kuac Sidekiq::Extensions::DelayedMailer JID-cf023822088cdeba1d6db781 INFO: start\r\n2015-02-06T16:44:47Z 303 TID-8kuac Sidekiq::Extensions::DelayedMailer JID-cf023822088cdeba1d6db781 INFO: fail: 0.238 sec\r\n2015-02-06T16:44:47Z 303 TID-8kuac WARN: {\"retry\"=>true, \"queue\"=>\"default\", \"class\"=>\"Sidekiq::Extensions::DelayedMailer\", \"args\"=>[\"---\\n- !ruby/class 'Notify'\\n- :new_user_email\\n- - 2\\n - Fsy8kMxDrEAgjoFPsBBh\\n\"], \"jid\"=>\"cf023822088cdeba1d6db781\", \"enqueued_at\"=>1423241084.138529, \"error_message\"=>\"getaddrinfo: Name or service not known\", \"error_class\"=>\"SocketError\", \"failed_at\"=>1423241087.3542118, \"retry_count\"=>0}\r\n2015-02-06T16:44:47Z 303 TID-8kuac WARN: getaddrinfo: Name or service not known\r\n2015-02-06T16:44:47Z 303 TID-8kuac WARN: /usr/lib/ruby/2.1.0/net/smtp.rb:541:in `initialize'\r\n/usr/lib/ruby/2.1.0/net/smtp.rb:541:in `open'\r\n/usr/lib/ruby/2.1.0/net/smtp.rb:541:in `tcp_socket'\r\n/usr/lib/ruby/2.1.0/net/smtp.rb:551:in `block in do_start'\r\n/usr/lib/ruby/2.1.0/timeout.rb:91:in `block in timeout'\r\n/usr/lib/ruby/2.1.0/timeout.rb:101:in `call'\r\n/usr/lib/ruby/2.1.0/timeout.rb:101:in `timeout'\r\n/usr/lib/ruby/2.1.0/net/smtp.rb:550:in `do_start'\r\n/usr/lib/ruby/2.1.0/net/smtp.rb:520:in `start'\r\n/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/mail-2.5.4/lib/mail/network/delivery_methods/smtp.rb:112:in `deliver!'\r\n/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/mail-2.5.4/lib/mail/message.rb:2129:in `do_delivery'\r\n/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/mail-2.5.4/lib/mail/message.rb:232:in `block in deliver'\r\n/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/actionmailer-4.1.1/lib/action_mailer/base.rb:527:in `block in deliver_mail'\r\n/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications.rb:159:in `block in instrument'\r\n/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'\r\n/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications.rb:159:in `instrument'\r\n/home/git/gitlab/vendor/bundle/ruby/2.1.0/gems/actionmailer-4.1.1/lib/action_mailer/base.rb:525:in `deliver_mail'\r\n```\r\npop and smtp enabled for all addresses and using standard pass for gmail account if it's important)"},"comment":{"url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/comments/73649404","html_url":"https://github.com/sameersbn/docker-gitlab/issues/254#issuecomment-73649404","issue_url":"https://api.github.com/repos/sameersbn/docker-gitlab/issues/254","id":73649404,"user":{"login":"sameersbn","id":410147,"avatar_url":"https://avatars.githubusercontent.com/u/410147?v=3","gravatar_id":"","url":"https://api.github.com/users/sameersbn","html_url":"https://github.com/sameersbn","followers_url":"https://api.github.com/users/sameersbn/followers","following_url":"https://api.github.com/users/sameersbn/following{/other_user}","gists_url":"https://api.github.com/users/sameersbn/gists{/gist_id}","starred_url":"https://api.github.com/users/sameersbn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sameersbn/subscriptions","organizations_url":"https://api.github.com/users/sameersbn/orgs","repos_url":"https://api.github.com/users/sameersbn/repos","events_url":"https://api.github.com/users/sameersbn/events{/privacy}","received_events_url":"https://api.github.com/users/sameersbn/received_events","type":"User","site_admin":false},"created_at":"2015-02-10T06:05:19Z","updated_at":"2015-02-10T06:05:19Z","body":"@gkostyanikov any update on this? Please close the issue if you got the issue resolved."}}