-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
[Bug]: ssl handshake error with explorer.api.openai.com #1236
Comments
+1 requests.exceptions.SSLError: HTTPSConnectionPool(host='explorer.api.openai.com', port=443): Max retries exceeded with url: /api/auth/csrf (Caused by SSLError(SSLError(1, '[SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:1129)'))) |
same problem |
OpenAIAuth ☠️ OpenAI shut down endpoint. Trying to find alternative endpoints |
@acheong08 Do you think it will get recovered later? Seems their SSL cert is wrong for https://explorer.api.openai.com/, I think OpenAI should be responisble for fixing it. |
PUID based or cf_clearance? |
I can fix it but would require using a proxy like your's. I don't think users would like their credentials to pass through such a service |
I also got an API working now. Though with the amount of time access tokens last these days, I think it's better than email/password authentication through somewhat untrusted services Just gonna delete email/password auth from wiki |
Yeah. That's all good. What I mean is for this repo, such a service cannot be adopted. They're welcome to use your UI. |
Will ask users for opinions |
I think suspending the support of email/password auth is not a good practice, just because of privacy concern. Actually, one user can register many ChatGPT accounts based on many "unusual" ways, and these account's email/password does not realted to any user's privacy info. So user actually not care TOO MUCH about leaking the email/password. If user cares, they can choose another way to authenticate instead of using email/password, we can put the Privacy Notice to inform user about it. |
Also curious about the solution. |
Then how are we gonna auth from now own in v1? |
Access token. Check wiki |
A proxy server with cf_clearance or puid both works |
Got the same error on my vps, but when i run it on github codespaces, it works well. I do not know why. |
before get the API of GPT-4, this is the only way to use gpt-4 in script,So, fix it, please |
why not use the |
Use |
It will. History is done through conversation_id. All OpenAIAuth does is fetch the access token |
oh, yes, I see it can be added as option config. Where to find it? I didn't see it from Cookies. |
how do we get conversation_id or parent_id? |
same question, how can i get conversation_id |
i got it:
|
got it |
maybe you need the first parent_id in the chat i dont know what im doing but hope somehting like this helps |
thank you, it works |
OK, i got it. But how can i get the parent_id,? Dose every post get response with different parent_id? |
How to use access_token with the proxy though? I dont seem to understand what to do, I see links but I have no idea whats the plan. |
Copy the token from the URL to config |
https://github.com/AmarnathCJD/ChatGPT/blob/master/auth.go sus site but accesstoken gen from email/pass working nice 🙂 |
30 days Im getting like 719Hours as expireTime |
@acheong08 https://github.com/AmarnathCJD/ChatGPT/blob/72e8dc13a082221c41ec3c1c7a871a194095cef1/ask.go#L214 The chat history thing is not working, each message is out of context Could you please point out what I'm doing wrong here 🫠 |
Missing conversation id |
got it fixed tnqqq |
This issue is stale because it has been open for 2 days with no activity. |
will it be solved? |
|
Probably not. Mass authentication from a proxy will get accounts banned. |
Access tokens now the only way |
you can use access token can be obtained through |
This issue is stale because it has been open for 2 days with no activity. |
This issue was closed because it has been inactive for 3 days since being marked as stale. |
same error |
Update your library versions |
Is there an existing issue for this?
What happened?
While running an api on replit with flask, I restarted the repl to make some changes for logging.
Steps to reproduce the problem
What should have happened?
It should authenticate with no issues
Version where the problem happens
Name: revChatGPT
Version: 4.0.11
Summary: ChatGPT is a reverse engineering of OpenAI's ChatGPT API
Home-page: https://github.com/acheong08/ChatGPT
Author: Antonio Cheong
Author-email: [email protected]
License: GNU General Public License v2.0
Location: /home/runner/fr/venv/lib/python3.10/site-packages
Requires: OpenAIAuth, requests, tiktoken, openai, httpx, prompt-toolkit
Required-by:
What Python version are you running this with?
Python 3.10.8
What is your operating system ?
Other/Cloud
Command Line Arguments
Console logs
Additional information
https://replit.com/@zer0mania/fr if you want to see the code
The text was updated successfully, but these errors were encountered: