Plots2: THE SMALLEST BUG: error when adding tag `method`

Created on 7 Feb 2019  Â·  7Comments  Â·  Source: publiclab/plots2

Hi everyone,
I have a very, very, very small bug to report :) Alahna and I believe that it's only affecting the single tag method, as we've been able to add, then delete, then re-add any other tag we tried with no problems. We only experienced the bug on this this wiki page: https://publiclab.org/emery-board.

Both alahna (regular user) and I (admin user) have attempted to add the tag method to that wiki page without success, however the details are different:

  • The regular user did not receive an error message when adding the tag method, and the tag box did not turn red, however upon reload the method tag was not there.
  • The Admin user (me) saw the tag box turn red as soon as i added the tag method, and an error message appeared to the far right side of my screen, check out this gif:

adding-tag-bug

What we expected to see

We expected to be able to add the tag method to https://publiclab.org/emery-board.
Thanks for reading!!!! Any ideas?

bug help wanted

All 7 comments

I tried adding the method tag on the wiki/soil and it gave no error but when I tried on the wiki/emery-board, I got the same error.

I will try to reproduce the error locally. Thanks for reporting @ebarry!

@jywarren can you paste logs for the issue. I tried reproducing it, but haven't got anything. Although, I will try with fresh eyes after getting sleep. Thanks!

I think this is actually a mailing issue:

[787ceb4f-c5c4-4fcc-927e-49dad664a69d]   Rendering subscription_mailer/notify_tag_added.html.erb
[787ceb4f-c5c4-4fcc-927e-49dad664a69d]   Rendered subscription_mailer/notify_tag_added.html.erb (0.2ms)
[1e1d67a8-8642-4798-b984-d36035f14be1]   Rendered like/_like.html.erb (42.0ms)
[787ceb4f-c5c4-4fcc-927e-49dad664a69d] Sent mail to [email protected] (7.2ms)
[1e1d67a8-8642-4798-b984-d36035f14be1]   Rendered home/_social.html.erb (0.1ms)
[787ceb4f-c5c4-4fcc-927e-49dad664a69d] Completed 500 Internal Server Error in 277ms (ActiveRecord: 209.0ms)
[787ceb4f-c5c4-4fcc-927e-49dad664a69d]   
[787ceb4f-c5c4-4fcc-927e-49dad664a69d] Net::SMTPFatalError (550 relay not permitted
):
[787ceb4f-c5c4-4fcc-927e-49dad664a69d]   
[787ceb4f-c5c4-4fcc-927e-49dad664a69d] app/models/node.rb:766:in `block in add_tag'
[787ceb4f-c5c4-4fcc-927e-49dad664a69d] app/models/node.rb:736:in `add_tag'
[787ceb4f-c5c4-4fcc-927e-49dad664a69d] app/controllers/tag_controller.rb:297:in `block in create'
[787ceb4f-c5c4-4fcc-927e-49dad664a69d] app/controllers/tag_controller.rb:291:in `each'
[787ceb4f-c5c4-4fcc-927e-49dad664a69d] app/controllers/tag_controller.rb:291:in `create'

@icarito do you know why this might be?

Not sure but there are 4 people following the method tag. 2 are gmail, one is hotmail, and one is me.

Indeed I missed an alert about this this evening. I'm checking what is wrong...

Hi,
I reviewed the logs for our MTA - mail transfer agent (Exim4) and found that Docker had changed the internal bridge IP address outside the 172.16.* range to 192.168.* internal IP address, and we were not relaying for that range. I've added that IP range and it's working again!
In order to avoid these issues we might consider adding a MTA container to our Docker Compose scripts.

Wow thanks everyone! Really appreciate it -- what an unexpected little bug!!!!!

Great, thanks Sebastian! Shall we open a new issue for the MTA in
jywarren/web?

On Fri, Feb 8, 2019 at 2:55 AM Sebastian Silva notifications@github.com
wrote:

Hi,
I reviewed the logs for our MTA - mail transfer agent (Exim4) and found
that Docker had changed the internal bridge IP address outside the 172.16.*
range to 192.168.* internal IP address, and we were not relaying for that
range. I've added that IP range and it's working again!
In order to avoid these issues we might consider adding a MTA

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/4774#issuecomment-461719825,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABfJwyt37zaX_wujrzJ_aZjvoP34tYMks5vLS1agaJpZM4anZG5
.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

grvsachdeva picture grvsachdeva  Â·  3Comments

ebarry picture ebarry  Â·  3Comments

keshavsethi picture keshavsethi  Â·  3Comments

first-timers[bot] picture first-timers[bot]  Â·  3Comments

jywarren picture jywarren  Â·  3Comments