Difference between revisions of "User:Woozle/toot.cat/2018/05/03"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Jump to navigation Jump to search
(Created page with "Reference links: * [https://rm.vbz.net/projects/toot-cat/issues issue on Redmine] * [https://github.com/tootsuite/mastodon/issues/7323 help request on tootsuite@GitHub] <code...")
 
(solution)
 
Line 2: Line 2:
 
* [https://rm.vbz.net/projects/toot-cat/issues issue on Redmine]
 
* [https://rm.vbz.net/projects/toot-cat/issues issue on Redmine]
 
* [https://github.com/tootsuite/mastodon/issues/7323 help request on tootsuite@GitHub]
 
* [https://github.com/tootsuite/mastodon/issues/7323 help request on tootsuite@GitHub]
 +
==Solution==
 +
# You have to restart (or reload?) the SideKiq job, possibly in addition to the web job.
 +
# Installing Postfix and using these settings works well:
 +
<pre>
 +
SMTP_SERVER=localhost
 +
SMTP_PORT=25
 +
SMTP_AUTH_METHOD=none
 +
SMTP_OPENSSL_VERIFY_MODE=none
 +
</pre>
  
 +
==Notes==
 
<code>journalctl -u mastodon-sidekiq | grep smtp</code> yields this:
 
<code>journalctl -u mastodon-sidekiq | grep smtp</code> yields this:
 
<pre>
 
<pre>

Latest revision as of 23:44, 3 May 2018

Reference links:

Solution

  1. You have to restart (or reload?) the SideKiq job, possibly in addition to the web job.
  2. Installing Postfix and using these settings works well:
SMTP_SERVER=localhost
SMTP_PORT=25
SMTP_AUTH_METHOD=none
SMTP_OPENSSL_VERIFY_MODE=none

Notes

journalctl -u mastodon-sidekiq | grep smtp yields this:

May 03 11:15:21 tootcat2 bundle[5368]: /home/mastodon/.rbenv/versions/2.5.0/lib/ruby/2.5.0/net/smtp.rb:539:in `initialize'
May 03 11:15:21 tootcat2 bundle[5368]: /home/mastodon/.rbenv/versions/2.5.0/lib/ruby/2.5.0/net/smtp.rb:539:in `open'
May 03 11:15:21 tootcat2 bundle[5368]: /home/mastodon/.rbenv/versions/2.5.0/lib/ruby/2.5.0/net/smtp.rb:539:in `tcp_socket'
May 03 11:15:21 tootcat2 bundle[5368]: /home/mastodon/.rbenv/versions/2.5.0/lib/ruby/2.5.0/net/smtp.rb:549:in `block in do_start'
May 03 11:15:21 tootcat2 bundle[5368]: /home/mastodon/.rbenv/versions/2.5.0/lib/ruby/2.5.0/net/smtp.rb:548:in `do_start'
May 03 11:15:21 tootcat2 bundle[5368]: /home/mastodon/.rbenv/versions/2.5.0/lib/ruby/2.5.0/net/smtp.rb:518:in `start'
May 03 11:15:21 tootcat2 bundle[5368]: /home/mastodon/live/vendor/bundle/ruby/2.5.0/gems/mail-2.7.0/lib/mail/network/delivery_methods/smtp.rb:109:in `start_smtp_session'
May 03 11:15:21 tootcat2 bundle[5368]: /home/mastodon/live/vendor/bundle/ruby/2.5.0/gems/mail-2.7.0/lib/mail/network/delivery_methods/smtp.rb:100:in `deliver!'
May 03 11:15:21 tootcat2 bundle[5368]: 2018-05-03T11:15:21.238Z 5368 TID-orv43zy6g WARN: /home/mastodon/.rbenv/versions/2.5.0/lib/ruby/2.5.0/net/smtp.rb:539:in `initialize'
May 03 11:15:21 tootcat2 bundle[5368]: /home/mastodon/.rbenv/versions/2.5.0/lib/ruby/2.5.0/net/smtp.rb:539:in `open'
May 03 11:15:21 tootcat2 bundle[5368]: /home/mastodon/.rbenv/versions/2.5.0/lib/ruby/2.5.0/net/smtp.rb:539:in `tcp_socket'
May 03 11:15:21 tootcat2 bundle[5368]: /home/mastodon/.rbenv/versions/2.5.0/lib/ruby/2.5.0/net/smtp.rb:549:in `block in do_start'
May 03 11:15:21 tootcat2 bundle[5368]: /home/mastodon/.rbenv/versions/2.5.0/lib/ruby/2.5.0/net/smtp.rb:548:in `do_start'
May 03 11:15:21 tootcat2 bundle[5368]: /home/mastodon/.rbenv/versions/2.5.0/lib/ruby/2.5.0/net/smtp.rb:518:in `start'
May 03 11:15:21 tootcat2 bundle[5368]: /home/mastodon/live/vendor/bundle/ruby/2.5.0/gems/mail-2.7.0/lib/mail/network/delivery_methods/smtp.rb:109:in `start_smtp_session'
May 03 11:15:21 tootcat2 bundle[5368]: /home/mastodon/live/vendor/bundle/ruby/2.5.0/gems/mail-2.7.0/lib/mail/network/delivery_methods/smtp.rb:100:in `deliver!'

...with several prior instances of very similar sequences.