This Week's Trending
This Month's Trending
This Year's Trending
i dont understand how phoenix presence works
in the examples
defmodule MyAppWeb.MyChannel do
use MyAppWeb, :channel
alias MyAppWeb....
New
Hello,
I have a page that consists of several user inputs and buttons.
For real-time validation (as well as updating character count) I...
New
Hello, I am trying to build a Backend system in Phoenix, this is mostly APIs but needs Websockets for a chat interface.
I researched a b...
New
Last Three Year's Trending
Can not get http header info from a Phoenix socket.
%Phoenix.Socket{
assigns: %{},
channel: nil,
channel_pid: nil,
endpoint: Web...
New
Hello all,
I am currently experiencing some strange behavior on my production environment.
I run a Phoenix LiveView App
Server is Free...
New
My Apache setup is like this:
## MAIN WEBSITE ##
<VirtualHost *:443>
ServerAdmin admin@mywebsite.com
ServerName www.mywebsit...
New
Hi! I’m trying implement a HTTP client using erlang library :gen_tcp and the section of code that should recover packet from socket are...
New
Hi,
I am developing a chat-bot using Phoenix and LiveView. My question, as the application gets more users, I will have to scale it up b...
New
I understand that this is theoretically possible. One could utilize NIFs along with Rust or another language for CPU-intensive tasks, suc...
New
I’m facing an issue where the socket appears to get reset ( no data persisted ) when i try to navigate to parent with LiveComponent.
the...
New
Hi everyone
Just updated phoenix.js to latest where the .onError signature seems to have changed
Previously, I was just getting the sta...
New
Using the ChannelCase I can assert that certain events are happening, and that I receive certain replies from the server. However, I have...
New
I want to test my js app that uses phoenix.js sockets. I want to write tests along the lines of:
Set up a mocked socket and channel.
Re...
New
Suppose a room is public, everyone can join. However if the admin of the room sets the room to private, only a certain number of people c...
New
For an AI driven chatbot over channels I want to store some transient data. There will be 10’s of thousands of concurrent users. Will be ...
New
Hi!
Today I noticed that when a LiveSocket goes into longpoll fallback mode, calling liveSocket.disconnect() on the browser console beha...
New
Hi!
I am trying to see if I can listen to heartbeat & disconnect events without having to use user channels & presence
I am s...
New
Trending Over Three Years
Hi,
What would be a good way to pass some information from the conn to the LiveView socket ?
Let’s assume the following example
router...
New
I am trying to use drab with webpack but i get error in drap.js
Uncaught ReferenceError: require is not defined
this.Socket = require("p...
New
Hello,
I’m trying to use channels and sockets on phoenix.
Here is what I have to handle sockets:
channel "discussion:*", Flux.Discus...
New
Hello, I want to create a socket api for mobile app and I test it with wscat libe in terminal, but after seconds it shows me a Disconnect...
New
Here are the docs for Plug.Conn.get_session: Plug.Conn.html#get_session/1
And here is the key line from the docs:
Returns the whole se...
New
I checked on the forum but still didn’t find a response
Is there any way to send a push to socket without channels. LIke my UserSocket i...
New
I want to use Phoenix sockets and presence to track users who are currently connected to the Internet (from within an Android application...
New
Hi,
My socket are disconnected every 60 sec when they’re not sending data.
I tried to change the idle_timeout to :infinity: (debugging...
New
Hello
I am struggling to implement a simple timer in LiveView, and so I was wondering if anyone knew of any good examples out there that...
New
Hi,
trying to understand the role of “params” in case of socket connections. Looked through the docs, the forum and Google, but still no...
New
Hello Elixir community, I’m new to elixir and phoenix, I’m trying to get the socket by the data I already assigned to it
for example, I’...
New
After I built a chat example using the good tutorial (https://tg.pl/drab) and this forum (What is the ~E sigil in the Drab tutorial?) I g...
New
Is it possible to listen wildcard topic in a channel
# my_socket.ex
use Phoenix.Socket
## Channels
channel "*", AbcWeb.MyChannel ...
New
Hi everyone!
I have a chat app live and some users haven’t been able to connect to their socket.
At first I thought it was my frontend ...
New
I’m using Pow for user authentication and I’m having trouble figuring out how to use it with sockets. I want my sockets to pass a token o...
New
Latest on Elixir Forum
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Manning Publications
45% off any item
ElixirCasts
10% off for life
The Pragmatic Studio
20% off any course
AppSignal
10% off for 12 months
Honeybadger
10% off for 12 months
Simply use coupon code "devtalk.com" or "elixirforum" at checkout!
Filter by Type:
Sub Categories:
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #exunit
- #elixirconf
- #discussion
- #javascript
- #podcasts
- #code-sync
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #api
- #processes
- #forms
- #metaprogramming
- #security
- #performance
- #hex







