Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fewer OA policy reminder emails sent than anticipated #1014

Closed
anaelizabethenriquez opened this issue Oct 28, 2024 · 6 comments
Closed

Fewer OA policy reminder emails sent than anticipated #1014

anaelizabethenriquez opened this issue Oct 28, 2024 · 6 comments
Assignees
Labels
bug Something isn't working Standard-OA-workflow Related to the standard OA workflow (reminder emails, waivers, OA URLs, but not files from AI)

Comments

@anaelizabethenriquez
Copy link
Collaborator

This week's batch of OA policy reminder emails was much smaller than anticipated.

  • It appears that 43 users received reminders today.
  • The email cap is set at 200 (I updated it from 100 to 200 on October 22).
  • The overarching organization, "The Pennsylvania State University" contains 1197 people "users needing OA email." That's as of October 28, and technically some of those people could have become eligible for an email since the emails went out. However, there were 1241 people needing an email as of October 22, so I would be surprised if all those folks disappeared from the list and a new group of almost the same size came back.

I suspect there's a bug preventing emails from sending.

@anaelizabethenriquez anaelizabethenriquez added bug Something isn't working Standard-OA-workflow Related to the standard OA workflow (reminder emails, waivers, OA URLs, but not files from AI) labels Oct 28, 2024
@anaelizabethenriquez anaelizabethenriquez added this to the Next dev cycle milestone Oct 28, 2024
@anaelizabethenriquez
Copy link
Collaborator Author

Still not sure what's going on here, but 200 people received reminder emails today, as planned.

@ajkiessl
Copy link
Contributor

ajkiessl commented Nov 4, 2024

@anaelizabethenriquez Sorry, I wanted to look into this sooner. Looks like there were some network issues during that time. The emails started to go out and then stopped with this error: Net::ReadTimeout · Net::ReadTimeout with #<TCPSocket:(closed)>.

For those with bugsnag access: https://app.bugsnag.com/penn-state/researcher-metadata/errors/66f0d9d93e88313d208646c1?filters[error.status]=open&filters[event.since]=30d&event_id=671efe5701099b6912060000

This wasn't rescued and logged in our EmailErrors (https://metadata.libraries.psu.edu/admin/email_error), though. I can add a ticket to address that issue, but this issue can be closed.

@anaelizabethenriquez
Copy link
Collaborator Author

Sounds good; thanks!

@ajkiessl ajkiessl closed this as completed Nov 4, 2024
@ajkiessl
Copy link
Contributor

ajkiessl commented Nov 4, 2024

#1018 Issue derived from this thread

@anaelizabethenriquez
Copy link
Collaborator Author

I don't want to reopen this, but I do want to note that there was some kind of error with the emails sent on November 25, likely same as above, and only 25 emails went out.

@ajkiessl
Copy link
Contributor

Yeah, looks like the same problem: Net::ReadTimeout with #TCPSocket:(closed) https://app.bugsnag.com/penn-state/researcher-metadata/errors/66f0d9d93e88313d208646c1?filters[error.status]=open&filters[event.since]=30d . #1018 should help manage this, but I'm wondering if Sunday night is not a good time to send out emails. Maybe network issues are common Sunday nights for some reason? This time was shifted a bit when we changed our infrastructure. We originally wanted the emails to go out Monday morning. I added a comment in #1018 about this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Standard-OA-workflow Related to the standard OA workflow (reminder emails, waivers, OA URLs, but not files from AI)
Projects
None yet
Development

No branches or pull requests

2 participants