mschae / cors_plug

An Elixir Plug to add CORS.

Home Page:https://hex.pm/packages/cors_plug

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bad value on output port 'tcp_inet'

samcdavid opened this issue · comments

If you create a phoenix api and host it on a subdomain, you will receive:

Bad value on output port 'tcp_inet'

errors in production. There is an issue on cowboy related to this as well. From what I have found on stack overflow it looks like it may be because atoms are being sent in the headers if you set a specific origin.

Not sure what we can do from this side, we aren't setting any atoms as headers anywhere, are we?

I may be able to play with it again later. It has been a while since I last looked at this issue to be honest and it may have been resolved since then.

Closing this for now