Skip to content

Is Redis missing from Foreman Procfile? #358

Closed
@creativetags

Description

@creativetags

I'm just trying to get the tutorial to run on my machine to play with it. I did foreman start -f Procfile.hot then loaded http://localhost:5000/ and posted a comment. Then I saw this:

Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
16:48:13 rails.1 | /Users/mark/.rvm/gems/ruby-2.4.0@test-react-on-rails/gems/redis-3.3.3/lib/redis/client.rb:345:in `rescue in establish_connection': Error connecting to Redis on localhost:6379 (Errno::ECONNREFUSED) (Redis::CannotConnectError)

I'm guessing action_cable needs Redis and it wasn't started?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions