Bug #16051

workbench1 setup account dialog not working

Added by Peter Amstutz almost 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Story points:
-
Release relationship:
Auto

Description

Looks like mail is not set up:

#<ArvadosApiClient::ApiErrorResponseException: request failed: http://localhost:8004/arvados/v1/users/setup: 422 Unprocessable Entity: #<Errno::ECONNREFUSED: Connection refused - connect(2) for "localhost" port 25> (req-equ9m4uafgajc9xkcvi7) [API: 422]>
/var/www/arvados-workbench/current/app/models/arvados_api_client.rb:180:in `api'
/var/www/arvados-workbench/current/app/models/user.rb:99:in `setup'
/var/www/arvados-workbench/current/app/controllers/users_controller.rb:223:in `block in setup'
/var/www/arvados-workbench/shared/vendor_bundle/ruby/2.5.0/gems/actionpack-5.0.7.2/lib/action_controller/metal/mime_responds.rb:195:in `respond_to'
/var/www/arvados-workbench/current/app/controllers/users_controller.rb:205:in `setup'

The real error is

/usr/lib/ruby/2.5.0/net/smtp.rb:539:in `initialize'
/usr/lib/ruby/2.5.0/net/smtp.rb:539:in `open'
/usr/lib/ruby/2.5.0/net/smtp.rb:539:in `tcp_socket'
/usr/lib/ruby/2.5.0/net/smtp.rb:549:in `block in do_start'
/usr/lib/ruby/2.5.0/timeout.rb:93:in `block in timeout'
/usr/lib/ruby/2.5.0/timeout.rb:103:in `timeout'
/usr/lib/ruby/2.5.0/net/smtp.rb:548:in `do_start'
/usr/lib/ruby/2.5.0/net/smtp.rb:518:in `start'
/var/www/arvados-api/shared/vendor_bundle/ruby/2.5.0/gems/mail-2.7.1/lib/mail/network/delivery_methods/smtp.rb:109:in `start_smtp_session'
/var/www/arvados-api/shared/vendor_bundle/ruby/2.5.0/gems/mail-2.7.1/lib/mail/network/delivery_methods/smtp.rb:100:in `deliver!'
/var/www/arvados-api/shared/vendor_bundle/ruby/2.5.0/gems/mail-2.7.1/lib/mail/message.rb:2159:in `do_delivery'
/var/www/arvados-api/shared/vendor_bundle/ruby/2.5.0/gems/mail-2.7.1/lib/mail/message.rb:260:in `block in deliver'
/var/www/arvados-api/shared/vendor_bundle/ruby/2.5.0/gems/actionmailer-5.0.7.2/lib/action_mailer/base.rb:543:in `block in deliver_mail'
/var/www/arvados-api/shared/vendor_bundle/ruby/2.5.0/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `block in instrument'
/var/www/arvados-api/shared/vendor_bundle/ruby/2.5.0/gems/activesupport-5.0.7.2/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/var/www/arvados-api/shared/vendor_bundle/ruby/2.5.0/gems/activesupport-5.0.7.2/lib/active_support/notifications.rb:164:in `instrument'
/var/www/arvados-api/shared/vendor_bundle/ruby/2.5.0/gems/actionmailer-5.0.7.2/lib/action_mailer/base.rb:541:in `deliver_mail'
/var/www/arvados-api/shared/vendor_bundle/ruby/2.5.0/gems/mail-2.7.1/lib/mail/message.rb:260:in `deliver'
/var/www/arvados-api/shared/vendor_bundle/ruby/2.5.0/gems/actionmailer-5.0.7.2/lib/action_mailer/message_delivery.rb:96:in `block in deliver_now'
/var/www/arvados-api/shared/vendor_bundle/ruby/2.5.0/gems/actionmailer-5.0.7.2/lib/action_mailer/rescuable.rb:15:in `handle_exceptions'
/var/www/arvados-api/shared/vendor_bundle/ruby/2.5.0/gems/actionmailer-5.0.7.2/lib/action_mailer/message_delivery.rb:95:in `deliver_now'
/var/www/arvados-api/current/app/controllers/arvados/v1/users_controller.rb:124:in `setup'

Associated revisions

Revision ee389703 (diff)
Added by Peter Amstutz almost 2 years ago

Allow user 'setup' to succeed even if email notification fails

fixes #16051

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <>

Revision b871183d (diff)
Added by Peter Amstutz almost 2 years ago

Fix test refs #16051

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <>

History

#1 Updated by Peter Amstutz almost 2 years ago

  • Description updated (diff)

#2 Updated by Peter Amstutz almost 2 years ago

  • Description updated (diff)

#3 Updated by Peter Amstutz almost 2 years ago

  • Assigned To set to Peter Amstutz

#4 Updated by Peter Amstutz almost 2 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Resolved

#5 Updated by Peter Amstutz almost 2 years ago

  • Release set to 22

Also available in: Atom PDF