jswny
Has anyone managed to get Codex (the cloud version, as seen here) to work for Elixir?
I tried to setup the dependencies but mix deps.get always gives the following error:
{:failed_connect, [{:to_address, {~c"proxy", 8080}}, {:inet, [:inet], :econnrefused}]}
Failed to fetch record for plug from registry (using cache instead)
I’ve tried these but none seem to work:
export HEX_CACERTS_PATH="$CODEX_PROXY_CERT"
export HEX_UNSAFE_HTTPS="1"
My setup script that does work is this:
sudo add-apt-repository -y ppa:rabbitmq/rabbitmq-erlang
sudo apt update -y
sudo apt install -y git elixir erlang
mix archive.install github hexpm/hex branch latest --force
Installing things with Git seems fine, even mix can install deps that are pinned to a Github commit
The Docker image that runs has HTTP_PROXY and HTTPS_PROXY both set to http://proxy:8080
Trending in AI / LLMs
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly)
AI dream has many faces, but general...
New
With advancements in AI gathering pace and set to increasingly accelerate, perhaps it’s worth having an annual thread on the topic - feel...
New
Posting this more for general discussion, but does anybody have a need for a stock CMS anymore?
I’ve built 3 different sites using Elixi...
New
I just wanted to gauge people’s interest.
So, I’ve got this tool in the works. It’s supposed to take a model implementation in PyTorch a...
New
Everyone already knows the economic foibles of Scam and Wario in the age of the language model.
I’ll ignore those (mostly).
If I have t...
New
I’ve been working on Current for a few month and recently open-sourced it.
The central idea is that AI agents should propose actions rat...
New
Other Trending Topics
Edit: 2026 May 15 - This post is archived.
Mob is alive!!
Main docs: mob v0.7.11 — Documentation
A bit of explanation for the slightly c...
New
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
Localize is the next generation localisation library for Elixir. Think of it as ex_cldr version 3.0. The first version will be released ...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Hi everyone :waving_hand:
I’ve been working on PhiaUI, an open-source UI component library for Phoenix LiveView, and I wanted to share i...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #code-sync
- #discussion
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #ai
- #elixirconf-us
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #blog-post
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #elixirconf-eu
- #security
- #processes
- #api
- #forms
- #hex










Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
jeffdeville-ethermed
Not yet… Here’s my issue:
https://github.com/openai/codex-universal/issues/30
I’ve tried a lot. Works in docker, near as I could tell. But in their environment, nothing. Killin’ me right now.
jeffdeville-ethermed
Just found this. Pretty sure this info wasn’t there the other day. Will see if I can do anything w/ this knowledge
jeffdeville
So knowing about the proxy, I have this. But near as I can tell, I’m just getting blocked from pulling anything from hex. I’ll update my ticket, but haven’t seen OpenAI responding at all
DavidVII
For the sake of comparing notes, here’s my experience trying to get
mix deps.getworking in a Codex environment. It looks like I’m hitting a proxy wall too.Based on Codex’s documentation on internet access and proxies, here’s what I tried after installing Elixir via
asdf:Set all the recommended proxy and cert env vars:
Installed Hex manually (since
mix local.hex --forcefails with a 503):Ran
mix deps.getand got this repeated error:It looks like
repo.hex.pmis getting blocked entirely, or the TLS handshake is being dropped by the proxy. Even withHEX_CACERTS_PATHpointing to the Codex proxy cert, the connection fails before it completes.I noticed the docs say:
So I’m guessing Hex just isn’t allowed yet the way pip, npm, and others are.
Would love to get this working. Happy to test more or compare setups.
FWIW here’s my full script up until I try doing
mix local.hex --forcevenkatd
I thought I was losing my mind because I spent a few hours debugging this. Even downloaded the codex Dockerfile and it was working locally.
Has anyone found a solution? Hopefully codex can resolve this on their end!
hugomd
I have run into the same trouble, and haven’t found a work around.
Generally seeing 503s from build.hex.pm—I’m wondering if they’re actively blocking OpenAI calls?
DavidVII
OpenAI announced that you can have full internet access. But there doesn’t seem to be a way to enable it. They say it’s on a per environment basis, but there is no option anywhere for it.
They also say the setup phase has full internet access, but it clearly doesn’t because no matter what I do to install dependencies, it just doesn’t work.
Check out the allowlist found here. hex.pm is completely missing: Agent internet access – Codex web | OpenAI Developers
There doesn’t seem to be a way to configure it, despite their docs clearly stating that you can. Am I just blind?
DavidVII
Turns out it was a UI error. I hit
shift + refreshand it showed up. And yet, hex still seems to be restricted.I still have to run
mix archive.install github hexpm/hex branch latest --forcewhich works, but when I runmix deps.get, I get the following:GoulvenClech
I get the impression that « Additional allowed domains » only applies to what the agent can access during its tasks, not the domains accessible during setup. Or maybe hex.pm blocks requests coming from Codex?
In any case, I haven’t found a workaround either… It’s frustrating!
DavidVII
I’m leaning toward this, too! I saw few 403 errors in the logs coming from repo.hex.pm, so it’s likely a hex.pm issue. I’m super bummed about it. I think Claude Code is the closest alternative. I’m gonna give that a shot!