Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] #150

Open
PushkarOP opened this issue Jun 20, 2023 · 1 comment
Open

[BUG] #150

PushkarOP opened this issue Jun 20, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@PushkarOP
Copy link

Access Token missing or expired. Attempting to create them...
[OpenAI] Email address: cgpt31564@gmail.com
[OpenAI] Password: xxxxxxxxxxxx
[OpenAI] Beginning auth process
[OpenAI][1] Making request to https://chat.openai.com/auth/login
[OpenAI][1] Request was successful
[OpenAI][2] Beginning part two
[OpenAI][2] Grabbing CSRF token from https://chat.openai.com/api/auth/csrf
[OpenAI][2] Request was successful
[OpenAI][2] CSRF Token: 6f87806b5ca866b76f4a63e46e5de7208fe0155d11ef2b6e2d6acbac0576d563
[OpenAI][3] Beginning part three
[OpenAI][3] Making request to https://chat.openai.com/api/auth/signin/auth0?prompt=login
Traceback (most recent call last):
File "/home/container/app.py", line 9, in
chat = Chat(email="cgpt31564@gmail.com", password="xxxxxxxxxx")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/container/.local/lib/python3.11/site-packages/pychatgpt/main.py", line 56, in init
self._setup()
File "/home/container/.local/lib/python3.11/site-packages/pychatgpt/main.py", line 145, in _setup
self._create_access_token()
File "/home/container/.local/lib/python3.11/site-packages/pychatgpt/main.py", line 163, in _create_access_token
openai_auth.create_token()
File "/home/container/.local/lib/python3.11/site-packages/pychatgpt/classes/openai.py", line 131, in create_token
self._part_two()
File "/home/container/.local/lib/python3.11/site-packages/pychatgpt/classes/openai.py", line 157, in _part_two
self._part_three(token=csrf_token)
File "/home/container/.local/lib/python3.11/site-packages/pychatgpt/classes/openai.py", line 192, in _part_three
raise Exceptions.IPAddressRateLimitException("[OpenAI][3] Bad request from your IP address, "
pychatgpt.classes.exceptions.IPAddressRateLimitException: [OpenAI][3] Bad request from your IP address, try again in a few minutes

@PushkarOP PushkarOP added the bug Something isn't working label Jun 20, 2023
@EvgenyTishkin
Copy link

same here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants