Problem using coherence key :peer not found

Im using https://github.com/smpallen99/coherence and when i add new resource in protected scope like:

scope “/”, ToDoListWeb do
pipe_through :protected
resources “/lists”, ListController
end

give me an error when the session is valid, error:

key :peer not found in: %Plug.Conn{adapter: {Plug.Adapters.Cowboy.Conn, :…}

What can i do to fix?

It has been fixed on recent coherence versions: https://github.com/smpallen99/coherence/issues/357

Either use git or ask for a new version to be released.

3 Likes