Quantcast
Channel: Active questions tagged redis+ruby-on-rails - Stack Overflow
Browsing all 873 articles
Browse latest View live
↧

Docker, chatwoot TypeError: expected str, bytes or os.PathLike object, not...

I am trying to install chatwoot on docker using theyr guide: https://www.chatwoot.com/docs/deployment/deploy-chatwoot-with-dockerI edited the .env and the docker-composer.yamlThe .env file# Used to...

View Article


What is the best way to implement subscription to a Redis pub sub in Rails?

The scenario I am working with is that I have a node.js engine which is receiving web-hook and pubsubhubhub queries from various services. It needs to send the incoming data to Rails for processing and...

View Article


Ruby on Rails and Sidekiq redis connection pool with parallel tests?

I want to run my Rails tests in parallel. I'm currently using Sidekiq own connection pool to communicate with redis. The problem here is that if I run parallel tests they collide with each other. Rails...

View Article

ActionCable - Puma - Nginx - SSL

I'm totally new to ActionCable... Trying to set up Action cable on a Rails 6.0 application (Nginx + Puma). I also have to say my environment is on the cloud (DigitalOcean.com), and that is SSL.My...

View Article

Redis redirects to localhost on Heroku (Rails 6)

I have an app hosted on Heroku, using Redis Cloud and ActionCable. Locally everything works but on Heroku the user is redirected to a localhost address after a form is submitted. I have tried most of...

View Article


Redis connection timeout error when running sidekiq in elastic beanstalk

I'm trying to set up sidekiq to connect to redis elasticache (in-transit encryption enabled) from my AWS elastic beanstalk (Amazon Linux 2) instance. I've followed links such as this, but am getting a...

View Article

Handle Duplicate API calls gracefully in Rails

I know this question has been asked multiple number of times in the past. However, my situation is a bit unique. The problem I am facing is the UI is making 5-10 requests for a single button click in a...

View Article

Image may be NSFW.
Clik here to view.

What do I need to do to hook up ActionCable on nginx and puma?

I'm having trouble getting ActionCable hooked up in my prod environment, and related questions haven't had a working solution. I'm using an nginx+puma setup with Rails 6.1.3.2 on Ubuntu 20.04. I have...

View Article


Image may be NSFW.
Clik here to view.

How do I clear stuck/stale Resque workers?

As you can see from the attached image, I've got a couple of workers that seem to be stuck. Those processes shouldn't take longer than a couple of seconds.I'm not sure why they won't clear or how to...

View Article


ActionCable: One channel per user

I am working on notifications for my rails app. There is User model and controller and Like model associated to User with a User has many Likes association.The idea is, if a user likes the profile of...

View Article

Sidekiq/Redis/Rails - Sending was working on the branch, but now will not...

Ruby version: 2.6.5Rails version: 6.1.3.1Sidekiq / Pro / Enterprise version(s): 6.2Initializer: No initializerSidekiq.yml::verbose: true:concurrency: 25:queues: - [mailers, 7] - [default, 5]Error...

View Article

Why rails use redis?

I am trying to develop a small rails application. I previously used CarriereWave to store files, but just change to use ActiveStorage. When I save a new record (or destroy a record) , application crash...

View Article

GCloud Rails application and keeping Redis password in an .env file

I have a Rails 5.2.3 (Ruby 2.6.3) project hosted on Google Cloud.I'm currently working on setting up Sidekiq and Redis, following this guide from Google's docs.I've decided to go with the foreman...

View Article


rails i18n redis ERR unknown command [] railscast 256

Following this RailsCast : http://railscasts.com/episodes/256-i18n-backends but using Rails 5.2, I raise this error :Redis::CommandError in Pages#home<br>ERR unknown command '[]'In...

View Article

Redis silently stops caching

We recently replaced memcache with redis as our cache storage solution backing a Rails web app.It works fine for a period of time, but after, say a couple of weeks, it will silently stop caching. No...

View Article


Redis, Sidekiq and Heroku Apps

I have two Rails Apps that need to share some state. Each App needs to run background jobs during their execution lifetimes. I added Heroku Redis to each App, and Sidekiq. So when I run background...

View Article

When upgrading heroku to the latest stack cache slug is not being used

So I am trying to upgrade Heroku to the latest stack (from Heroku-18 to Heroku-20).The upgrade seems fine except for one thing.We are using Review Apps with the Heroku-CI and tests take about 11 min to...

View Article


how do i configure rails actioncable nginx redis in production

I'm using actioncable in my rails app and need to setup for production with nginx Should I use the anycable gem, it seems more steps involved than running the redis server and just editing nginx.conf...

View Article

Accessing a variable within a rails thread

I'm building an application for a web-based slide show, where one 'master' user can move between slides and everyone's browsers follow along. To do this, I'm using websockets and Redis for a global...

View Article

Redis, Sidekiq and Heroku Apps

I have two Rails Apps that need to share some state. Each App needs to run background jobs during their execution lifetimes. I added Heroku Redis to each App, and Sidekiq. So when I run background...

View Article
Browsing all 873 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>