Hello everyone,
I ran into troubles by configuring notification.
I´m able to send notification via command line and I receive this mails without troubles. See below
gitlab-rails console
Notify.test_email(‘xxxxxxx@xxxx’, ‘gitlab testmail’, ‘gitlab testmail’).deliver_now
But when I want to configure it via webaccess for my user, it is not working.
What I did:
Created a testproject and I set the notification level to watch so I should receive everything (new issue, comments etc), but I do not get notifications. Is there something what I have missed by configuring the webfrontend?
regards Thomas
really no idea about this issue?
Thomas
tommies
October 24, 2017, 10:17am
3
I have found some hinds inside /var/log/gitlab/gitlab-rails/sidekiq.log
But I dont get it why this error occurs.
2017-10-24_10:13:13.95914 2017-10-24T10:13:13.959Z 5473 TID-otmgfaloo WARN: {“context”:“Job raised exception”,“job”:{“class”:“ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper”,“wrapped”:“ActionMailer::DeliveryJob”,“queue”:“mailers”,“args”:[{“job_class”:“ActionMailer::DeliveryJob”,“job_id”:“15ea5084-882d-4ab9-bb7c-3a196299df13”,“queue_name”:“mailers”,“arguments”:[“Notify”,“new_issue_email”,“deliver_now”,12,339],“locale”:“en”}],“retry”:3,“jid”:“7814636a5bb24254af332f67”,“created_at”:1508839988.0730426,“enqueued_at”:1508839988.073408,“error_message”:“550 5.7.1 Client does not have permissions to send as this sender\n”,“error_class”:“Net::SMTPFatalError”,“failed_at”:1508839993.9585156,“retry_count”:0},“jobstr”:"{“class”:“ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper”,“wrapped”:“ActionMailer::DeliveryJob”,“queue”:“mailers”,“args”:[{“job_class”:“ActionMailer::DeliveryJob”,“job_id”:“15ea5084-882d-4ab9-bb7c-3a196299df13”,“queue_name”:“mailers”,“arguments”:[“Notify”,“new_issue_email”,“deliver_now”,12,339],“locale”:“en”}],“retry”:3,“jid”:“7814636a5bb24254af332f67”,“created_at”:1508839988.0730426,“enqueued_at”:1508839988.073408}"}
2017-10-24_10:13:13.95958 /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/mail-2.6.5/lib/mail/network/delivery_methods/smtp.rb:114:in block in deliver!' 2017-10-24_10:13:13.95958 /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/mail-2.6.5/lib/mail/network/delivery_methods/smtp.rb:113:in
deliver!’
2017-10-24_10:13:13.95959 /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/mail-2.6.5/lib/mail/message.rb:2149:in do_delivery' 2017-10-24_10:13:13.95959 /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/mail-2.6.5/lib/mail/message.rb:237:in
block in deliver’
2017-10-24_10:13:13.95959 /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/actionmailer-4.2.8/lib/action_mailer/base.rb:543:in block in deliver_mail' 2017-10-24_10:13:13.95960 /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/actionmailer-4.2.8/lib/action_mailer/base.rb:541:in
deliver_mail’
2017-10-24_10:13:13.95960 /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/mail-2.6.5/lib/mail/message.rb:237:in deliver' 2017-10-24_10:13:13.95960 /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/actionmailer-4.2.8/lib/action_mailer/message_delivery.rb:85:in
deliver_now’
2017-10-24_10:13:13.95961 /opt/gitlab/embedded/lib/ruby/gems/2.3.0/gems/actionmailer-4.2.8/lib/action_mailer/delivery_job.rb:10:in `perform’
Why do I get this error when I trigger notis via Webfrontend and via console not. Any ideas?
Tommy
Is there really nobody which can assist with that issue?
Thomas