codex icon indicating copy to clipboard operation
codex copied to clipboard

Logging in with chatGPT got an error

Open lwh316658735 opened this issue 1 year ago • 4 comments

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

lwh316658735 avatar Aug 08 '25 06:08 lwh316658735

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.

chad-vogel avatar Aug 08 '25 17:08 chad-vogel

For SSL issue please see https://github.com/openai/codex/issues/2044

pakrym-oai avatar Aug 08 '25 22:08 pakrym-oai

But I didn't get any SSL related errors here, the program was closed when I logged in.

lwh316658735 avatar Aug 09 '25 03:08 lwh316658735

are you folks still seeing this on 0.22?

ae-openai avatar Aug 20 '25 17:08 ae-openai