Hacker News new | ask | show | jobs
by wasting_time 10 days ago
I tried to run this with podman; however after authenticating with OpenAI/Codex, the OpenAI sign-in window gives a Firefox error:

  Error Code: NS_ERROR_NET_EMPTY_RESPONSE
...on http://localhost:1455.

Presumably this response should be forwarded to the container. I don't know why podman fails to do this; I copied the Docker example exactly.

I really don't want to give a model unrestricted access to my user account, so I'm wary of trying the .deb. Perhaps I can containerize the server manually?

1 comments

The default copy-pasta on the site has the callback port forwarded back in using the localhost trick like so: `... -p 127.0.0.1:1455:1455 ...`.

If that does not work (and an AI can't figure it out for you either) -- do email me and I'll try and help.

The problem is that the callback binds to 127.0.0.1, so it is only available for the container's own loopback, and not for the host.

My workaround was simply to run curl in the container:

> docker exec dreamcoder_server curl -s 'http://localhost:1455/auth/callback?code=...&state=...'

Hm that is curious. For that particular line does work for me; odd. Might be an OS thing.