That is… very weird. When you say “access the liveview page” what do you mean? Live view doesn’t depend on distributed erlang at all so I’m quote confused about how this could affect it.
I solved this problem. This problem doesn’t relate to liveview.
My liveview page use the mnesia as inmemory db which is started as extra_applications.
So at the time of starting mnesia, Node name is “nonode@nohost”.
Then Node.start(:“dev@localhost”) is called from my application. This caused inconsistent thing.
For resolve this, I move mnesia app from extra_applications to included_applications to control its start timing (mnesia has to be started after Node.start).