Open icarito opened 6 years ago
Hi, thanks! Where do you see the message undefined method body
and can you paste in that part too?
This isn't related? E, [2018-10-26T18:42:58.243171 #1] ERROR -- : getaddrinfo: Name or service not known
Sorry for the confusion. The error mentioned is a different error in the same file. The actual error with this email is the one you mention:
E, [2018-10-26T18:42:58.243171 #1] ERROR -- : getaddrinfo: Name or service not known
The error causing the confusion was the following:
E, [2018-10-31T17:54:22.182739 #1] ERROR -- : Exception occurred while receiving message:
Return-Path: <kkoerner@cleanair.org>^M
Received: by 2002:a67:e885:0:0:0:0:0 with SMTP id x5csp3184258vsn;=0D=0A ^M
Wed, 31 Oct 2018 10:48:49 -0700 (PDT)^M
Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id f6-v6sor5749442wmd.7.2018.10.31.10.48.48 for <notifications@publiclab.org> (Google Transport Security); Wed, 31 Oct 2018 10:48:48 -0700^M
Date: Wed, 31 Oct 2018 10:48:48 -0700^M
From: Karl Koerner <kkoerner@cleanair.org>^M
To: notifications@publiclab.org^M
Message-ID: <CAHbpiA87V2+3NukHHJUyrCBtDcemtgjAG3kiboDDodv5S9bE+g@mail.gmail.com>^M
Subject: Out of the office 10/31 - 11/9 Re: Air Sensor Project (#17388)^M
Mime-Version: 1.0^M
Content-Type: text/html;^M
charset=UTF-8^M
Content-Transfer-Encoding: base64^M
Content-Disposition: inline^M
Delivered-To: notifications@publiclab.org^M
<snip>
E, [2018-10-31T17:54:22.211908 #1] ERROR -- : undefined method `body' for nil:NilClass
/app/app/models/comment.rb:264:in `add_comment'
/app/app/models/comment.rb:219:in `receive_mail'
script/mailman_server:27:in `block (2 levels) in <main>'
/usr/local/bundle/gems/mailman-0.7.0/lib/mailman/router.rb:66:in `instance_exec'
/usr/local/bundle/gems/mailman-0.7.0/lib/mailman/router.rb:66:in `route'
/usr/local/bundle/gems/mailman-0.7.0/lib/mailman/message_processor.rb:23:in `block in process'
/usr/local/bundle/gems/mailman-0.7.0/lib/mailman/middleware.rb:33:in `block in run'
/usr/local/bundle/gems/mailman-0.7.0/lib/mailman/middleware.rb:38:in `run'
/usr/local/bundle/gems/mailman-0.7.0/lib/mailman/message_processor.rb:22:in `process'
/usr/local/bundle/gems/mailman-0.7.0/lib/mailman/receiver/pop3.rb:43:in `block in get_messages'
/usr/local/lib/ruby/2.4.0/net/pop.rb:666:in `each'
/usr/local/lib/ruby/2.4.0/net/pop.rb:666:in `each_mail'
/usr/local/bundle/gems/mailman-0.7.0/lib/mailman/receiver/pop3.rb:42:in `get_messages'
/usr/local/bundle/gems/mailman-0.7.0/lib/mailman/application.rb:133:in `block in polling_loop'
/usr/local/bundle/gems/mailman-0.7.0/lib/mailman/application.rb:130:in `loop'
/usr/local/bundle/gems/mailman-0.7.0/lib/mailman/application.rb:130:in `polling_loop'
/usr/local/bundle/gems/mailman-0.7.0/lib/mailman/application.rb:83:in `run'
/usr/local/bundle/gems/mailman-0.7.0/lib/mailman/application.rb:11:in `run'
script/mailman_server:22:in `<main>'
Can we check if either of these are still happening? Was the getaddrinfo: Name or service not known
related to the mailman server not working or something? Or needing to retry connecting?
For the body undefined, were we able to solve that or is it still happening? Thanks!
These are all errors logged since December (without full traceback).
E, [2018-12-14T00:01:40.677320 #1] ERROR -- : Exception occurred while receiving message:
E, [2018-12-14T00:01:40.697380 #1] ERROR -- : undefined method `body' for nil:NilClass
E, [2018-12-14T15:14:11.706425 #1] ERROR -- : Connection reset by peer - SSL_connect
E, [2018-12-17T02:07:52.046116 #1] ERROR -- : Exception occurred while receiving message:
E, [2018-12-17T02:07:52.076991 #1] ERROR -- : undefined method `body' for nil:NilClass
E, [2019-01-03T23:29:20.842856 #1] ERROR -- : Exception occurred while receiving message:
E, [2019-01-03T23:29:20.843058 #1] ERROR -- : getaddrinfo: Name or service not known
E, [2019-01-03T23:29:20.981343 #1] ERROR -- : Exception occurred while receiving message:
E, [2019-01-03T23:29:20.981558 #1] ERROR -- : getaddrinfo: Name or service not known
E, [2019-01-03T23:29:21.132202 #1] ERROR -- : Exception occurred while receiving message:
E, [2019-01-03T23:29:21.132414 #1] ERROR -- : getaddrinfo: Name or service not known
E, [2019-01-03T23:29:22.499920 #1] ERROR -- : Exception occurred while receiving message:
E, [2019-01-03T23:29:22.500169 #1] ERROR -- : getaddrinfo: Name or service not known
E, [2019-01-03T23:29:25.595164 #1] ERROR -- : Exception occurred while receiving message:
E, [2019-01-03T23:29:25.595384 #1] ERROR -- : getaddrinfo: Name or service not known
E, [2019-01-03T23:29:27.483921 #1] ERROR -- : Exception occurred while receiving message:
E, [2019-01-03T23:29:27.484163 #1] ERROR -- : getaddrinfo: Name or service not known
E, [2019-01-08T14:25:43.125848 #1] ERROR -- : Exception occurred while receiving message:
E, [2019-01-08T14:25:43.155618 #1] ERROR -- : undefined method `body' for nil:NilClass
Hope it helps! Let me know if you need details!
Comments are not being posted and an exception is logged:
mailman.log: