{"action":"created","issue":{"url":"https://api.github.com/repos/publiclab/plots2/issues/2989","repository_url":"https://api.github.com/repos/publiclab/plots2","labels_url":"https://api.github.com/repos/publiclab/plots2/issues/2989/labels{/name}","comments_url":"https://api.github.com/repos/publiclab/plots2/issues/2989/comments","events_url":"https://api.github.com/repos/publiclab/plots2/issues/2989/events","html_url":"https://github.com/publiclab/plots2/issues/2989","id":338735282,"node_id":"MDU6SXNzdWUzMzg3MzUyODI=","number":2989,"title":"Email notifications cause error on new note creation","user":{"login":"jywarren","id":24359,"node_id":"MDQ6VXNlcjI0MzU5","avatar_url":"https://avatars1.githubusercontent.com/u/24359?v=4","gravatar_id":"","url":"https://api.github.com/users/jywarren","html_url":"https://github.com/jywarren","followers_url":"https://api.github.com/users/jywarren/followers","following_url":"https://api.github.com/users/jywarren/following{/other_user}","gists_url":"https://api.github.com/users/jywarren/gists{/gist_id}","starred_url":"https://api.github.com/users/jywarren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jywarren/subscriptions","organizations_url":"https://api.github.com/users/jywarren/orgs","repos_url":"https://api.github.com/users/jywarren/repos","events_url":"https://api.github.com/users/jywarren/events{/privacy}","received_events_url":"https://api.github.com/users/jywarren/received_events","type":"User","site_admin":false},"labels":[{"id":42345818,"node_id":"MDU6TGFiZWw0MjM0NTgxOA==","url":"https://api.github.com/repos/publiclab/plots2/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2018-07-05T21:42:01Z","updated_at":"2018-07-06T17:40:38Z","closed_at":"2018-07-06T17:28:39Z","author_association":"CONTRIBUTOR","body":"I just tried posting a new note at /post, but got a 500 error, with the log message:\r\n\r\n```\r\n[ae40c547-65a0-441d-a855-604ed50dad01]   Rendering subscription_mailer/notify_node_creation.html.erb\r\n[ae40c547-65a0-441d-a855-604ed50dad01]   Rendered subscription_mailer/notify_node_creation.html.erb (30.8ms)\r\n[ae40c547-65a0-441d-a855-604ed50dad01] Sent mail to notifications@publiclab.org (98.7ms)\r\n[ae40c547-65a0-441d-a855-604ed50dad01] Completed 500 Internal Server Error in 320ms (ActiveRecord: 88.0ms)\r\n[ae40c547-65a0-441d-a855-604ed50dad01]   \r\n[ae40c547-65a0-441d-a855-604ed50dad01] SocketError (getaddrinfo: Name or service not known):\r\n[ae40c547-65a0-441d-a855-604ed50dad01]   \r\n[ae40c547-65a0-441d-a855-604ed50dad01] app/models/node.rb:204:in `notify'\r\n[ae40c547-65a0-441d-a855-604ed50dad01] app/models/node.rb:635:in `block in new_note'\r\n[ae40c547-65a0-441d-a855-604ed50dad01] app/models/node.rb:619:in `new_note'\r\n[ae40c547-65a0-441d-a855-604ed50dad01] app/controllers/notes_controller.rb:109:in `create'\r\n```\r\n\r\nI think this is related to the mail server it's trying to connect to? @icarito and @namangupta01 could you take a look? Thanks!"},"comment":{"url":"https://api.github.com/repos/publiclab/plots2/issues/comments/403101436","html_url":"https://github.com/publiclab/plots2/issues/2989#issuecomment-403101436","issue_url":"https://api.github.com/repos/publiclab/plots2/issues/2989","id":403101436,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzEwMTQzNg==","user":{"login":"icarito","id":199755,"node_id":"MDQ6VXNlcjE5OTc1NQ==","avatar_url":"https://avatars0.githubusercontent.com/u/199755?v=4","gravatar_id":"","url":"https://api.github.com/users/icarito","html_url":"https://github.com/icarito","followers_url":"https://api.github.com/users/icarito/followers","following_url":"https://api.github.com/users/icarito/following{/other_user}","gists_url":"https://api.github.com/users/icarito/gists{/gist_id}","starred_url":"https://api.github.com/users/icarito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icarito/subscriptions","organizations_url":"https://api.github.com/users/icarito/orgs","repos_url":"https://api.github.com/users/icarito/repos","events_url":"https://api.github.com/users/icarito/events{/privacy}","received_events_url":"https://api.github.com/users/icarito/received_events","type":"User","site_admin":false},"created_at":"2018-07-06T17:40:38Z","updated_at":"2018-07-06T17:40:38Z","author_association":"MEMBER","body":"Does mailman need direct access to smtp? In that case we'll need to add a line like https://github.com/publiclab/plots2/blob/stable/Makefile#L16 to Makefile that adds the IP address for SMTP to the mailman container."}}
{"actor":{"display_login":"icarito"}}