kanishka
Pubsub published messages not appearing consistently
I am working on code where we have a graphql subscription setup and an elm page subscribing to that subscription. When developing locally, messages published to that socket get delivered to the browser and I see that browser react.
When I test on staging, where potentially other developers are also active on that page subscribed to the same topic, it looks like I am not always receiving the socket messages that I would expect. My current wild speculation is that the pubsub is delivering to only one of the browsers instead of all subscribed browsers. I am considering trying to prove this by having multiple people leave the page open and seeing if all browsers get the expected message…if anybody has any experience with troubleshooting this, I am curious to hear what they have done
Most Liked
whatyouhide
I’ll try the lucky shot… Maybe you’re not broadcasting?
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #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
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance








