-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unknown registry: XXX.PubSub #144
Comments
What is the order of your supervision tree in application.ex? |
Ignore the second piece of the tuple on each, we do filtering on env. Does pubsub need to be before endpoint?
|
Yes, you need to start PubSub before your endpoint, as you can race the pubsub server by servicing requests/channels that use pubsub before it's up :) |
I am having a compilation error similar to this and my PubSub is started before Endpoint. I have three apps under lib. PubSub is added to the application.ex under the main app called metadata.
I then add this to a controller under the metadata_web app which inserts something in my database
I have a route in metadata_web that points to a live_dashboard app:
and under
but then I get this error:
I'm new to phoenix and elixir in general so let me know if this project layout doesn't make sense or if I'm doing something obviously incorrect. Thank you! |
With the update to v2 I am starting to see this error. It appears that I have everything configured correctly as it is still working, but just getting this error occasionally.
The text was updated successfully, but these errors were encountered: