Phoenix.PubSub stopped working in LiveView

Sure, it’s simple.

  1. Just start your application by giving a name & cookie:
    elixir --sname derpycoder --cookie wubalubadubdub -S mix phx.server

  2. Open up a LiveBook

  3. Click on Runtime Icon on Sidebar:
    Runtime Configure

  4. Pass in the app name & cookie

  5. Connection Success
    Runtime Connected

  6. Now you can access anything, that you can access via iex!!


Read up on how you can create Business Intelligence LiveBooks, so you can query your runtime from this interactive tool.

P.S. Just pass short name and the LiveBook will auto deduce your system node name.
e.g. I passed derpycoder and it expanded to derpycoder@Abhijits-Mini

5 Likes