Logging in with chatGPT got an error
Resolved 💬 4 comments Opened Aug 8, 2025 by lwh316658735 Closed Sep 3, 2025
💡 Likely answer: A maintainer (pakrym-oai, contributor)
responded on this thread — see the highlighted reply below.
What version of Codex is running?
0.19.0
Which model were you using?
_No response_
What platform is your computer?
windows11,24H2,26100.4652
What steps can reproduce the bug?
PS C:\Users\31665> codex
Sign in with ChatGPT to generate an API key or paste one you already have.
[use arrows to move, enter to select]
Sign in with ChatGPT
Paste an API key (or set as OPENAI_API_KEY)
It seems like you might already be trying to sign in (port :1455 already in use)
( ● ) Waiting for authentication… Ctrl + C to quit
PS C:\Users\31665>
Select the GPT account login,Then the program crashes
Prompt: Port is occupied, but 1455 port is queried, and port is not used
What is the expected behavior?
_No response_
What do you see instead?
_No response_
Additional information
_No response_
4 Comments
I'm having a similar error on a Mac. The error is: Error response
Error code: 500
Message: Token exchange failed: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)>.
Error code explanation: 500 - Server got itself in trouble.
For SSL issue please see https://github.com/openai/codex/issues/2044
But I didn't get any SSL related errors here, the program was closed when I logged in.
are you folks still seeing this on 0.22?