Phoenix socket origin


I’m trying to deploy a phoenix application as described in deploy phoenix with releases but fail.

I have set the host in my prod config

config :miew, MiewWeb.Endpoint,
  url: [host: "", port: 80],

But the socket still fails with the following log:

22:24:19.061 [info] Running MiewWeb.Endpoint with cowboy 2.8.0 at :::4000 (http)
22:24:19.066 [info] Access MiewWeb.Endpoint at
22:24:27.306 request_id=Fi5RQ0_JnM_25rUAAAAB [info] GET /sheet
22:24:27.330 request_id=Fi5RQ0_JnM_25rUAAAAB [info] Sent 200 in 23ms
22:24:27.638 [error] Could not check origin for Phoenix.Socket transport.

Origin of the request:

Any help appreciated.

(xxx.yy are of cause numbers in the actual mix, log etc)

1 Like

Today it worked. No idea why. Probably my mistake of some kind.