Super weird http issue

Awesome! So cool to know about this!

Yet the insanity continues:

When run from the app: error (returns status: 500)

(<0.935.0>) call 'Elixir.Mint.Core.Transport.SSL':send({sslsocket,{gen_tcp,#Port<0.55584>,tls_connection,undefined},<0.941.0>},
[[<<"POST">>,32,<<"/ws/eca/create">>,<<" HTTP/1.1\r\n">>],
 [[[[[<<>>,<<"content-length">>,<<": ">>,<<"1449713">>,<<"\r\n">>],
     <<"host">>,<<": ">>,<<"qa.xyz.com">>,<<"\r\n">>],
    <<"content-type">>,<<": ">>,<<"application/json">>,<<"\r\n">>],
   <<"user-agent">>,<<": ">>,<<"Elixir">>,<<"\r\n">>],
  <<"accept">>,<<": ">>,<<"*/*">>,<<"\r\n">>],
 <<"\r\n">>,
 <<"{\"CSID\":\"1245012...64696CCA\",\"payload\":\"hQIMAxEI/r3iJfdFAQ//aB/GhVKG4boVF22IlHJBWyro...
 5})
(<0.935.0>) returned from 'Elixir.Mint.Core.Transport.SSL':send/2 -> ok

run from iex! Works like a charm! (returns status: 200)

(<0.873.0>) call 'Elixir.Mint.Core.Transport.SSL':send({sslsocket,{gen_tcp,#Port<0.55628>,tls_connection,undefined},<0.947.0>},
[[<<"POST">>,32,<<"/ws/eca/create">>,<<" HTTP/1.1\r\n">>],
 [[[[[<<>>,<<"content-length">>,<<": ">>,<<"1449713">>,<<"\r\n">>],
     <<"host">>,<<": ">>,<<"qa.xyz.com">>,<<"\r\n">>],
    <<"content-type">>,<<": ">>,<<"application/json">>,<<"\r\n">>],
   <<"user-agent">>,<<": ">>,<<"Elixir">>,<<"\r\n">>],
  <<"accept">>,<<": ">>,<<"*/*">>,<<"\r\n">>],
 <<"\r\n">>,
 <<"{\"CSID\":\"1245012...64696CCA\",\"payload\":\"hQIMAxEI/r3iJfdFAQ//aB/GhVKG4boVF22IlHJBWyro...
 5})
(<0.873.0>) returned from 'Elixir.Mint.Core.Transport.SSL':send/2 -> ok

Those look identical to me!

wat