External Publication
Visit Post

Codex Cloud has severe issues with hex.pm (Elixir package manager)

OpenAI Developer Community May 31, 2026
Source

I think I finally figured out what’s causing codex to not work with hex.pm

The issue is with httpc that it uses to connect to hex. 2 issues here:

  1. Missing certificates, fix with HEX_CACERTS_PATH=/usr/local/share/ca-certificates/envoy-mitmproxy-ca-cert.crt
  2. httpc sends empty headers (like Te: ) which envoy chokes on. Either add a mitm proxy that strips all empty headers before forwarding to the local proxy, OR patch httpc erlang code to not send empty headers. That seems to fix it

Discussion in the ATmosphere

Loading comments...