rubyforgood / rubyforgood/Flaredown

cannot save reminder notification preferences do to failure to connect to redis. 422 Unprocessable Entity

Open
#848 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
50
Forks
21
Avg merge
6d 12h
Merged PRs (30d)
16

Description

Production onboarding reminder save fails because API cannot resolve Redis Cloud hostname

Summary

Users cannot complete the onboarding reminder step in production when selecting either:

  • “Don’t remind me”
  • A specific reminder time

The profile update request fails with 422 Unprocessable Entity because the API attempts to connect to Redis/Sidekiq during the profile save, and the configured Redis Cloud hostname cannot be resolved.

Error Response
{
  "errors": "getaddrinfo: Name or service not known (redis://redis-11373.c244.us-east-1-2.ec2.cloud.redislabs.com:11373)"
}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the profile update endpoint that saves onboarding reminder preferences and the Redis/Sidekiq connection configuration. Reproduce the production failure or inspect the reported hostname resolution error; done means both reminder choices save without a 422 response and the API no longer fails on the Redis connection.

Written by the indexing model from the issue text.

Assessment

Tech stack
rails, redis, ruby
Domain
api, backend, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.