Problem with local buildserver's web interface / Mail-notifications

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem with local buildserver's web interface / Mail-notifications

Johannes Weberhofer-2
Hi!

I have been trying out a code-modification on my local build-server and created an error. After rolling back to the original file (webui/app/views/shared/_buildresult_box.html.erb), I continue to get a http-500 message, and in the /srv/www/obs/webui/log/production.log I constantly see the message below.

It seems, as if the OBS is trying to send me a mail, but it can't. Where can I check/modify how OBS delivers mail, and an I cleanup the send-queue?

Best regards,
Johannes

[ERROR|#23438] rescue_action: caught OpenSSL::SSL::SSLError: hostname was not match with the server certificate
[INFO |#23438] rendering section "request"
[INFO |#23438] rendering section "session"
[INFO |#23438] rendering section "environment"
[INFO |#23438] rendering section "backtrace"
[INFO |#23438] Sent mail to [hidden email]
[FATAL|#23438] /!\ FAILSAFE /!\  Wed Oct 10 12:44:15 +0200 2012
   Status: 500 Internal Server Error
   hostname was not match with the server certificate
     /usr/lib64/ruby/1.8/openssl/ssl-internal.rb:123:in `post_connection_check'
     /usr/lib64/ruby/1.8/net/smtp.rb:582:in `tlsconnect'
     /usr/lib64/ruby/1.8/net/smtp.rb:562:in `do_start'
     /usr/lib64/ruby/1.8/net/smtp.rb:525:in `start'
     /usr/lib64/ruby/gems/1.8/gems/actionmailer-2.3.14/lib/action_mailer/base.rb:715:in `perform_delivery_smtp'
     /usr/lib64/ruby/gems/1.8/gems/actionmailer-2.3.14/lib/action_mailer/base.rb:556:in `__send__'
     /usr/lib64/ruby/gems/1.8/gems/actionmailer-2.3.14/lib/action_mailer/base.rb:556:in `deliver!'
     /usr/lib64/ruby/gems/1.8/gems/actionmailer-2.3.14/lib/action_mailer/base.rb:428:in `method_missing'
     /srv/www/obs/webui/app/controllers/application_controller.rb:240:in `rescue_action_in_public'

--
Johannes Weberhofer
Weberhofer GmbH, Austria, Vienna
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Problem with local buildserver's web interface / Mail-notifications

Srinidhi B
 >>> On 10/10/2012 at 04:41 PM, Johannes Weberhofer <[hidden email]>
wrote:

> Hi!
>
> I have been trying out a code-modification on my local build-server and
> created an error. After rolling back to the original file
> (webui/app/views/shared/_buildresult_box.html.erb), I continue to get a
> http-500 message, and in the /srv/www/obs/webui/log/production.log I
> constantly see the message below.
>
> It seems, as if the OBS is trying to send me a mail, but it can't. Where can
> I check/modify how OBS delivers mail, and an I cleanup the send-queue?
>

You can configure this in /srv/www/obs/api/config/options.yml - if you don't have this file already, then you should see a options.yml.example for reference. Variables that you might need to change are "exception_recipients" and "exceptoin_sender".

HTH,
Srinidhi.

> Best regards,
> Johannes
>
> [ERROR|#23438] rescue_action: caught OpenSSL::SSL::SSLError: hostname was
> not match with the server certificate
> [INFO |#23438] rendering section "request"
> [INFO |#23438] rendering section "session"
> [INFO |#23438] rendering section "environment"
> [INFO |#23438] rendering section "backtrace"
> [INFO |#23438] Sent mail to [hidden email]
> [FATAL|#23438] /!\ FAILSAFE /!\  Wed Oct 10 12:44:15 +0200 2012
>    Status: 500 Internal Server Error
>    hostname was not match with the server certificate
>      /usr/lib64/ruby/1.8/openssl/ssl-internal.rb:123:in
> `post_connection_check'
>      /usr/lib64/ruby/1.8/net/smtp.rb:582:in `tlsconnect'
>      /usr/lib64/ruby/1.8/net/smtp.rb:562:in `do_start'
>      /usr/lib64/ruby/1.8/net/smtp.rb:525:in `start'
>      
> /usr/lib64/ruby/gems/1.8/gems/actionmailer-2.3.14/lib/action_mailer/base.rb:
> 715:in `perform_delivery_smtp'
>      
> /usr/lib64/ruby/gems/1.8/gems/actionmailer-2.3.14/lib/action_mailer/base.rb:
> 556:in `__send__'
>      
> /usr/lib64/ruby/gems/1.8/gems/actionmailer-2.3.14/lib/action_mailer/base.rb:
> 556:in `deliver!'
>      
> /usr/lib64/ruby/gems/1.8/gems/actionmailer-2.3.14/lib/action_mailer/base.rb:
> 428:in `method_missing'
>      /srv/www/obs/webui/app/controllers/application_controller.rb:240:in
> `rescue_action_in_public'
 



--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]