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
Hey there,
I haven’t seen a list of useful Elixir specific skills for the popular AI tools yet so I’m starting one here with my first.
...
New
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself.
My main conc...
New
(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
AI tools and services seem to be the new JS framework - with new ones popping up every 5 minutes - hence it might be worth posting one of...
New
From Pipes to Graphs: Could Elixir Make Control Flow More Composable?
Recently, while studying LangGraph, and particularly the evolution ...
New
What
A larger rant at in this post. Code at github: GitHub - dmitriid/llamex: Credo Plugin that detects issues that LLM-assisted Elixir r...
New
Other Trending Topics
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
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
In 2021 I started a new library called Tempo with the objective of modelling time as a set of intervals - not as instants. In 2022 I gave...
New
Hello,
I’m sharing my plugin here in forum after some time so it has time to mature and proof yourself.
I use Claude Code daily on a pr...
New
Aloha gang,
There’s a new class of AI model out from TypeSafe. Jev is their flagship model. You can learn about it here:
...
New
Fly’s CEO posted this recently - Turn And Face The Strange · The Fly Blog
It says that Fly is going all-in on sprites, which is a worry ...
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
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #ai
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #blog-post
- #ecto-query
- #elixirconf-us
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #elixirconf-eu
- #api
- #forms
- #security
- #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!