Error while using an external client when trying to connect to the websocket.
What browsers are you seeing the problem on?
No response
Version
devtool:alpha
Relevant log output
lenra-devtool-1 | 10:18:47.227 [error] Failed to find supervision tree for name: {ApplicationRunner.Environment.Supervisor, 1}
lenra-devtool-1 | 10:18:49.743 [error] Could not check origin for Phoenix.Socket transport.
lenra-devtool-1 |
lenra-devtool-1 | Origin of the request: http://127.0.0.1:3030
lenra-devtool-1 |
lenra-devtool-1 | This happens when you are attempting a socket connection to
lenra-devtool-1 | a different host than the one configured in your config/
lenra-devtool-1 | files. For example, in development the host is configured
lenra-devtool-1 | to "localhost" but you may be trying to access it from
lenra-devtool-1 | "127.0.0.1". To fix this issue, you may either:
lenra-devtool-1 |
lenra-devtool-1 | 1. update [url: [host: ...]] to your actual host in the
lenra-devtool-1 | config file for your current environment (recommended)
lenra-devtool-1 |
lenra-devtool-1 | 2. pass the :check_origin option when configuring your
lenra-devtool-1 | endpoint or when configuring the transport in your
lenra-devtool-1 | UserSocket module, explicitly outlining which origins
lenra-devtool-1 | are allowed:
lenra-devtool-1 |
lenra-devtool-1 | check_origin: ["https://example.com",
lenra-devtool-1 | "//another.com:888", "//other.com"]
What happened?
Error while using an external client when trying to connect to the websocket.
What browsers are you seeing the problem on?
No response
Version
devtool:alpha
Relevant log output