Hi,
I am trying out gigalixir and so far so good, it was easy to get an application deployed and working with SSL, however when I added a feature to my LiveView to receive PubSub events, it works on my local machine but not on the gigalixir server.
I assume it is something in my config/prod.exs but I am not sure what it could be, I duplicated the pubsub_server key from config/config.exs to make sure that was present, I set server: true, and tried binding to 0.0.0.0 using the http key but nothing seems to work.
There is no error on PubSub.subscribe or PubSub.broadcast, and no unhandled messages, they simply don’t come in as they do in my local machine.
I print the PubSub.node_name and it shows up as nonode@nohost on my dev machine and that app name@ip on the production machine, but I am not sure how to use that info or what else to check.
I also set MIX_ENV to prod on my machine and it works, so it must be something other than a config issue.
Any ideas on how to diagnose this? thanks!