Skip to content
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.

[BUG] Can't login | Cloudflare protection #261

Closed
lambor590 opened this issue Dec 11, 2022 · 390 comments
Closed

[BUG] Can't login | Cloudflare protection #261

lambor590 opened this issue Dec 11, 2022 · 390 comments
Labels
bug Something isn't working

Comments

@lambor590
Copy link

lambor590 commented Dec 11, 2022

Describe the bug
I'm not able to login.

To Reproduce
Steps to reproduce the behavior:

  1. Use the library as normal, with email/password or session token.
  2. If you are using email/password you'll get an API Error at start
  3. If you are using a session token you'll get an Exception: Wrong response code at start

Expected behavior
Be able to access the website as normal.

Output
Using session token:

Traceback (most recent call last):
  File "/home/container/main.py", line 1, in <module>
    from src import bot
  File "/home/container/src/bot.py", line 3, in <module>
    from src import responses
  File "/home/container/src/responses.py", line 36, in <module>
    chatbot = Chatbot(config, conversation_id=None)
  File "/home/container/.local/lib/python3.10/site-packages/revChatGPT/revChatGPT.py", line 95, in __init__
    self.refresh_session()
  File "/home/container/.local/lib/python3.10/site-packages/revChatGPT/revChatGPT.py", line 296, in refresh_session
    raise Exception("Wrong response code")
Exception: Wrong response code

Using email/password:

Traceback (most recent call last):
  File "/home/container/main.py", line 1, in <module>
    from src import bot
  File "/home/container/src/bot.py", line 3, in <module>
    from src import responses
  File "/home/container/src/responses.py", line 36, in <module>
    chatbot = Chatbot(config, conversation_id=None)
  File "/home/container/.local/lib/python3.10/site-packages/revChatGPT/revChatGPT.py", line 95, in __init__
    self.refresh_session()
  File "/home/container/.local/lib/python3.10/site-packages/revChatGPT/revChatGPT.py", line 340, in refresh_session
    raise exc
  File "/home/container/.local/lib/python3.10/site-packages/revChatGPT/revChatGPT.py", line 337, in refresh_session
    self.login(self.config["email"], self.config["password"])
  File "/home/container/.local/lib/python3.10/site-packages/revChatGPT/revChatGPT.py", line 373, in login
    raise exc
  File "/home/container/.local/lib/python3.10/site-packages/revChatGPT/revChatGPT.py", line 366, in login
    auth.begin()
  File "/home/container/.local/lib/python3.10/site-packages/OpenAIAuth/OpenAIAuth.py", line 95, in begin
    raise Exception("API error")
Exception: API error

Environment (please complete the following information):

Please update your packages before reporting! pip3 install --upgrade OpenAIAuth revChatGPT

  • OS: Linux
  • Python version: 3.10.8
  • ChatGPT Version: 0.0.38.6
  • OpenAI Version: 0.0.6

Additional context
I saw that they applied Cloudflare on the website, and there are more cookies than before:
image
If I delete the cookie cf_clearance, the next time I reload the website I will get the Cloudflare is verifying your connection page, otherwise, it will not show.

@lambor590 lambor590 added the bug Something isn't working label Dec 11, 2022
@lambor590 lambor590 changed the title [BUG] They are using Cloudflare now [BUG] (Can't login) They are using Cloudflare now Dec 11, 2022
@michelleyin96
Copy link

I'm also seeing the same error - getting a 403 back

@TheMihirNaik
Copy link

I am seeing the same error as well.

@coldhotstart
Copy link

It will be difficult to bypass this, TBH.

@MohamedAliRashad
Copy link

same here

@Soul-AI-LLM
Copy link

I'm also seeing the same error - getting a 403 back

Same issue here.

@birdup000
Copy link

same here

@Lukium
Copy link

Lukium commented Dec 11, 2022

Probably not super helpful but same here

@CarlZielinski
Copy link

Seeing the same issue. Is this something that could be bypassed using FlareSolverr?

This was referenced Dec 12, 2022
@acheong08
Copy link
Owner

I am working on this

@acheong08
Copy link
Owner

acheong08 commented Dec 12, 2022

This is the response:

<html lang="en-US">
<head>
    <title>Just a moment...</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">
    <meta name="robots" content="noindex,nofollow">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <link href="/cdn-cgi/styles/challenges.css" rel="stylesheet">
    

</head>
<body class="no-js">
    <div class="main-wrapper" role="main">
    <div class="main-content">
        <h1 class="zone-name-title h1">
            <img class="heading-favicon" src="/favicon.ico"
                 onerror="this.onerror=null;this.parentNode.removeChild(this)">
            chat.openai.com
        </h1>
        <h2 class="h2" id="challenge-running">
            Checking if the site connection is secure
        </h2>
        <noscript>
            <div id="challenge-error-title">
                <div class="h2">
                    <span class="icon-wrapper">
                        <div class="heading-icon warning-icon"></div>
                    </span>
                    <span id="challenge-error-text">
                        Enable JavaScript and cookies to continue
                    </span>
                </div>
            </div>
        </noscript>
        <div id="trk_jschal_js" style="display:none;background-image:url('/cdn-cgi/images/trace/managed/nojs/transparent.gif?ray=77823f748f39c5a0')"></div>
        <div id="challenge-body-text" class="core-msg spacer">
            chat.openai.com needs to review the security of your connection before proceeding.
        </div>
        <form id="challenge-form" action="/auth/login?__cf_chl_f_tk=YcrSC6GxLdFJV3nDQnB94iOY874kZRHn7xo.qxkz0ik-1670803940-0-gaNycGzNB2U" method="POST" enctype="application/x-www-form-urlencoded">
            <input type="hidden" name="md" value="neq8DhZscgOk9ZqTwAD01JFh9zb97x2wAxRY.AXXQZA-1670803940-0-ARsRYvxWGameB3Ago3KgmFO6sj1qc8uTru2TF6WetlBz22SNZXPxN1ww_9-tpkuzLjKUrYnZYELy7IK3lVMZVfyOoXUJdGnpR6bSjqPQXhpDdDzASo-ZuLx13VmjwGmi0DnoM2OOHEO3Mysl-ARX3TMqPF2T4PldmUCtKnFSmH-UeG2x7SKDp7dvaj9Bpuc-8s-HgVdVb7ARu1yiRtszSgxrPXPpbJNK34cqlNt1YMzvBeEjwN9kZxELK3mFkxbkvs_n6JTBvfF_iNrzVxdZUh4o5OCTkPdfwnaVZNvnU2LEIOd6QCZW-9ceUXUItt5OiKdzWhiiLiCPcLBqcQFiMgdEmCKypO7iulABlDraCARgkMz0p9zEDA99R3Ayh-aGESQUfjaarRHh6iFDbumoPxiguHWP0P21GYRFdYpzktFoasucmtjHfDBk7yW1LedHmYqyPlT4oC5c4BXcBxYZMDB8yxcNtM8QKWvPbg1BIJEUx_osPPyWTobkrJ7iFHEGsWL45MQpL7eMzx_wAqqp_2FdZwPKHkGjmCOpx6A3bngYRcHimCQjZNMqeje1iMitQjgI1-wTUM9RyvSOh53C5kD02s6qZ9PBmdicNCRTE5keLHLUd7pieJFQDIF4SjMmzZCiZ0d0Zv9JXYBa4XxzV7o6O5RBW76hTB8v06wIHKt8">
            <input type="hidden" name="r" value="laVUElSO5KeLxtGkMbmU9a0FovPXUSlj31DGVyIuyaQ-1670803940-0-ATfFVBI+BOaFI/Ffafce1gGw6/iFihZtBzGL0De0J/BJDGcgg/dwEeDrI+lj6K+o+f71yiSrzi3pMywHzZUYgf8qCNMukyBGpR1+0YScaKeNWL3AnYyLrMBsdu3f85xXk8l6PWxnzc9N3w9wXu4AEb72DvfL1Igb4Dh8gkMVhmzGieIc8QwOXuoj///8J9/75wWB9ZR8HVG9uTzXl9Vf83D46inSGvNJ5IeqhMdGmEdLxSxqV82jUSDwhDqXsb1EN8Pj7/i8+YUXyc+hLv/QUprI1k0DL96ya9wNkq+4uV/Ltv+me4qsMBWfGLB1o8ipo5V3c132c5LXGkAkpoLmdLfHqiWAv/H86ZWmqFWnVk2HvWJ24XS5rSd8KY4+ws9QuvMjVfxJIh0zW2tzKqNSPQ2Owm4eSXyAAEm/+069emDgZkSQ4muWSPdjBNQD3urE5M+ibrMWWmcRCkCcsKdkZWpAovJi31tjwNLvUn1xgJVNgMhlW2a2Fk2f5bG7xnl+XCaoUfNHGo4rR4R9awk6aCNP1hHsuRz4V7VuQ2VoVJkZMTd2kk+GN5qilySaJseDuBplxjThTtU7FU/R//6xSh7Hq82qpqRbHXxlDrP+AsHe4Qco27PCSfjAUUPQnxQTUG0Zll0Q7EgrrC+nT5rwm5ZtDBUWiXmUzrSzSis74/9UHsZfr13bR/LeMiJyMYjFoG/ht7zMfus4b0Uk5xGv+acWuLtLHht4WJZXTNnmpInVXTQkIbd/agdvU80BiKPuzsUOUzDE/lWv55igktsBf4XLcqZWiN1HI42b9HXT4qDYsouEj5emjA9LXomQ2ANbyIOT+G2vIfgb17qI5zTlLYjWg5XFrVtlffrReja/lTbGDy85q6hkU0OmoGWYRUlteAjdm5E9hytgmc9bGlDtC98M27kd4LS7YT4NiKqiH5DlS6CR6Hxaf4zDleQYtkiH3nLH38GN3mSiDE+1gqwKarXvAh9rdh4RR6M+vgS2x+tKXf1oir7+MIIVVyZ0k4kYfUU8F2d1n2ZrQt2folMHWNogI6ASlxesw1jn5oD8wBeYDociqAq+EFBbtOQjATizf+4Lb1FAknK2KVXQ+TTg0vgcIcs4xXmJZXX+mg8Dnd/Z/umHrAdar66Dyo1EzvxxrpyZpSKjmQBE/mY8tyZmKYOrAEmnL7FVIsTZk4pmEN8DUkYp/EOzsfTJwy7+kPGE2of7rzR/Psxi5bOJ0lpoYc65SeW76u0I84w9ZL6pcK1MtHeV9Jtc3ir5sw8PWfq6TYWUpqZCKFR0e1aC7XLCoxrIXvYJR8ZL45BTDPTReMxQN8fdMlRE8PGVRUDIym6kJcnvNi+Fe+0M5VGFCcNJbYdQr+Asen7RtvHMzxk3FTQwtrNGk2lV74A+r3EUcO2ZCTUVNALZR+U4mn2OD46k+DKUo3YpGcEWQpJR8wSY1Xj61BRmbUOkAJxk/4Vh2xbBGg8qETP4fV32emX6F9v0dStIOC31GsFTVUmx+1vkUm5XOn9ySy4tZ/UAYT4UFAvY/9u0wlvgvPsbk6Nn7lBi97UH6sjsNtQErJ/Dr9nYzEgXkcZ5/zTUVrH[370](https://github.com/acheong08/ChatGPT/actions/runs/3671477743/jobs/6206722710#step:6:371)57Jsqw4JfxOQSCrKMUdIRvMrUpuU9RL7/iIL9Ueq5biuqN6scDRyfpkHiiYKo5jBLO7qMNtZ0LraijOdccc6StyzlT5njjAxIKeDeuN9p8ni1MvTvcCe8kVGk/oB71IThCeaqNaKLCV8rMuEMqldEEujykA3KREeZVA+AOp2A5o5nkuTTfMluaFzu34TspGeIKeCKi5DxNo2Gu2xxlAgtlyECZLR7iV8c9uij64tSui6iFL6Mu">
        </form>
    </div>
</div>
<script>
    (function(){
        window._cf_chl_opt={
            cvId: '2',
            cType: 'managed',
            cNounce: '44898',
            cRay: '77823f748f39c5a0',
            cHash: '8065dd636c78e94',
            cUPMDTk: "\/auth\/login?__cf_chl_tk=YcrSC6GxLdFJV3nDQnB94iOY874kZRHn7xo.qxkz0ik-1670803940-0-gaNycGzNB2U",
            cFPWv: 'b',
            cTTimeMs: '1000',
            cTplV: 4,
            cTplB: 'cf',
            cRq: {
                ru: 'aHR0cHM6Ly9jaGF0Lm9wZW5haS5jb20vY2hhdC9mcm9udGVuZC8vYXV0aC9sb2dpbg==',
                ra: 'TW96aWxsYS81LjAgKE1hY2ludG9zaDsgSW50ZWwgTWFjIE9TIFggMTBfMTVfNykgQXBwbGVXZWJLaXQvNjA1LjEuMTUgKEtIVE1MLCBsaWtlIEdlY2tvKSBWZXJzaW9uLzE2LjEgU2FmYXJpLzYwNS4xLjE1',
                rm: 'R0VU',
                d: 'dsUV9dwI9ro5QyqrDDJx/y8V40XDndYGV9bLeu9FXdka0oXjwlIjPJeTAb62GWVUaZBIb8zuMXsl2aQUl9nim/RvwcAjF2GRfcbjTblZQk+kdCNJ9LVXCaxT7P0UK7t4wD1CXQTKPkUIuNpAjkQcVYovpTbJeRCLx/2SgDEUE/jKwD5ywFgMv2XMEh6L+Jty5ZZoGQ+vKXwtq2IgXmnyfq95ZyDWzApjUD9lvrXqwA+SUtgBJ8NmE/CwmblMW8bsFHEN0L78Sl9IBkxjlHqgHUFlOxbKwI+4slnjZ7poRcwfBFQ0WRVG+sLUVxNphh6s9pZBD3UWEyj5wuSu86UX6CXQKjtsl6fVFAyF25a/HQINNZppzxCyk2pje06P1fD66wfE5mlKT72aWbAvkfzCOn/X41k6/yNio5YxxI3bCnGnM0aYgwY/4x8R8SDRZRQt8JmnPSZO+O1Zr24PzPkBfvCyYvHnNiA21KtTnATDdx8zi4WRnkz5HoF2x9RwVUj6Q0/xC3V31lzkgdTw3lW+daORJDtsl1W3QLV8JSmnEfg9ZQ7ai5ofIHPyA19jcMsy9rQ64bTpn31Y7tIno2kCn5S9ER8EJr64kL4XEKEbQUCDv+P5ImupUQBNyAaceO9e',
                t: 'MTY3MDgwMzk0MC41NzQwMDA=',
                m: '7Lx9YJ/uJ/1Rg0ZT5arYdwR4kn/s/tT0mBDT+sn5T4Y=',
                i1: 'MUxuc2VFZXTkaQ6kBzJ0Lw==',
                i2: 'pU5AjHJ1/ZnqMxuNQUy35g==',
                zh: 'iuyN59AGNgeBFFEOPj72EN+xtBfXXvoCyd1dJnIVFAc=',
                uh: 'cm2wjUr6M+ZSWJGGpQRwl8TWzcHP0274MxfQYzAQXGE=',
                hh: 'foaWmAUHGGlVCZaNUJIHhxzxFNzSPNnVe6rJjiQw728=',
            }
        };
        var trkjs = document.createElement('img');
        trkjs.setAttribute('src', '/cdn-cgi/images/trace/managed/js/transparent.gif?ray=77823f748f39c5a0');
        trkjs.setAttribute('style', 'display: none');
        document.body.appendChild(trkjs);
        var cpo = document.createElement('script');
        cpo.src = '/cdn-cgi/challenge-platform/h/b/orchestrate/managed/v1?ray=77823f748f39c5a0';
        window._cf_chl_opt.cOgUHash = location.hash === '' && location.href.indexOf('#') !== -1 ? '#' : location.hash;
        window._cf_chl_opt.cOgUQuery = location.search === '' && location.href.slice(0, -window._cf_chl_opt.cOgUHash.length).indexOf('?') !== -1 ? '?' : location.search;
        if (window.history && window.history.replaceState) {
            var ogU = location.pathname + window._cf_chl_opt.cOgUQuery + window._cf_chl_opt.cOgUHash;
            history.replaceState(null, null, "\/auth\/login?__cf_chl_rt_tk=YcrSC6GxLdFJV3nDQnB94iOY874kZRHn7xo.qxkz0ik-1670803940-0-gaNycGzNB2U" + window._cf_chl_opt.cOgUHash);
            cpo.onload = function() {
                history.replaceState(null, null, ogU);
            };
        }
        document.getElementsByTagName('head')[0].appendChild(cpo);
    }());
</script>


    <div class="footer" role="contentinfo">
        <div class="footer-inner">
            <div class="clearfix diagnostic-wrapper">
                <div class="ray-id">Ray ID: <code>77823f748f39c5a0</code></div>
            </div>
            <div class="text-center">Performance &amp; security by <a rel="noopener noreferrer" href="https://www.cloudflare.com?utm_source=challenge&utm_campaign=m" target="_blank">Cloudflare</a></div>
        </div>
    </div>
</body>
</html>

I will check if there is a way to solve it

@nick-haoran
Copy link

same error

@jabontz09
Copy link

does this have to do with chatGPT using cloudflare now?

@acheong08
Copy link
Owner

does this have to do with chatGPT using cloudflare now?

see title. yes

@coldhotstart
Copy link

coldhotstart commented Dec 12, 2022

Looks like the underlying openAI auth is not working

with sync_playwright() as p:
            browser = p.chromium.launch(headless=False)
            page = browser.new_page()
            sync_stealth(page, pure=True)
            page.goto('https://chat.openai.com/auth/login')
            res = sync_cf_retry(page)
            if res:
                cookies = page.context.cookies()
                for cookie in cookies:
                    if cookie.get('name') == 'cf_clearance':
                        cf_clearance_value = cookie.get('value')
                        print(cf_clearance_value)
                ua = page.evaluate('() => {return navigator.userAgent}')
                print(ua)
            else:
                print("cf challenge fail")
            browser.close()

try to bypass it, but have some other issues too.

@nick-haoran
Copy link

Looks like the underlying openAI auth is not working

with sync_playwright() as p:
            browser = p.chromium.launch(headless=False)
            page = browser.new_page()
            sync_stealth(page, pure=True)
            page.goto('https://chat.openai.com/auth/login')
            res = sync_cf_retry(page)
            if res:
                cookies = page.context.cookies()
                for cookie in cookies:
                    if cookie.get('name') == 'cf_clearance':
                        cf_clearance_value = cookie.get('value')
                        print(cf_clearance_value)
                ua = page.evaluate('() => {return navigator.userAgent}')
                print(ua)
            else:
                print("cf challenge fail")
            browser.close()

try to bypass it, but have some other issues too.

it was broken by cloudflare.......

@acheong08
Copy link
Owner

I am fixing. please wait

@coldhotstart
Copy link

Looks like the underlying openAI auth is not working

with sync_playwright() as p:
            browser = p.chromium.launch(headless=False)
            page = browser.new_page()
            sync_stealth(page, pure=True)
            page.goto('https://chat.openai.com/auth/login')
            res = sync_cf_retry(page)
            if res:
                cookies = page.context.cookies()
                for cookie in cookies:
                    if cookie.get('name') == 'cf_clearance':
                        cf_clearance_value = cookie.get('value')
                        print(cf_clearance_value)
                ua = page.evaluate('() => {return navigator.userAgent}')
                print(ua)
            else:
                print("cf challenge fail")
            browser.close()

try to bypass it, but have some other issues too.

it was broken by cloudflare.......

It doesn't matter, you can always launch a browser and then simulate the traffic to the openAI, there is no way to block it.

@acheong08
Copy link
Owner

The point here is to use their API. A browser is too heavy

@nick-haoran
Copy link

The point here is to use their API. A browser is too heavy

As you think, selenium is disgusting to use

@Cubicpath
Copy link

For reference, the cf_clearance cookie is tied to a combination of your IP address and User Agent, and is currently valid for 2 hours.

@msnyder5
Copy link

You could maybe try using cloudscraper. I'm not sure if it works atm https://pypi.org/project/cloudscraper/

@BooBooKittyFck
Copy link

BooBooKittyFck commented Dec 12, 2022

@msnyder5

I tried already - and it wants you to use the anticaptcha services - actually i don't have a account to test it.
Screenshot_20221212_014651_com sonelli juicessh

@transitive-bullshit
Copy link

cf_clearance will be required going forwards. The open questions are:

  1. How to reliably renew your accessToken if you have a valid clearance token
  2. How to reliably renew a clearanceToken

Sharing some of my WIP attempts at resolving the issue:

transitive-bullshit/agentic#99 - attempting to more closely match the official HTTP requests
transitive-bullshit/chatgpt-twitter-bot#5 - added attempts at using puppeteer and playwright

@alexandreteles
Copy link

You could maybe try using cloudscraper. I'm not sure if it works atm https://pypi.org/project/cloudscraper/

I tried already - and it wants you to use the anticaptcha services - actually i don't have account to test it.

I do have an account to test it if the maintainer wants to try,

@luckcul
Copy link

luckcul commented Dec 13, 2022

In Centos Server, follow the wiki : https://github.com/acheong08/ChatGPT/wiki/Setup
I got the error
image

what's wrong ? Or I should pip install a specific version ?

@ITerydh
Copy link

ITerydh commented Dec 13, 2022

I use 0.0.42.2 and playwright,the browser page still appears repeatedly and the program cannot be used

@fzp0424
Copy link

fzp0424 commented Dec 13, 2022

image
windows 0.0.43
I don't know how to cope with this.

@lss233
Copy link
Contributor

lss233 commented Dec 13, 2022

In Centos Server, follow the wiki : https://github.com/acheong08/ChatGPT/wiki/Setup I got the error image

what's wrong ? Or I should pip install a specific version ?

Make sure you have Chrome installed.

@1004370065
Copy link

from revChatGPT.revChatGPT import Chatbot

# Create a chatbot object
chatbot = Chatbot({})

# Get a response
response = chatbot.get_chat_response("Hello, how are you?")

# Print the response
print(response)

After the browser logs in, it closes, but it opens again soon after, response.status _code 403

image

@acheong08
Copy link
Owner

This could be an environment issue. Try running outside of a virtual environment. venv, pipenv, and most IDEs probably have security measures to prevent browsers from being controlled

@acheong08
Copy link
Owner

I use 0.0.42.2 and playwright,the browser page still appears repeatedly and the program cannot be used

Try https://github.com/acheong08/ChatGPT/releases/tag/0.0.43

@xdtxAM
Copy link

xdtxAM commented Dec 13, 2022

I am using the latest version of macOS and have the same problem

@acheong08
Copy link
Owner

@loveher147
Copy link

In Ubuntu(desktop),there is the error :”expected str, bytes or os.PathLike object, not NoneType “ ,why,thanks。

@acheong08
Copy link
Owner

In Ubuntu(desktop),there is the error :”expected str, bytes or os.PathLike object, not NoneType “ ,why,thanks。

Update to the latest version and delete config.json

@loveher147
Copy link

In Ubuntu(desktop),there is the error :”expected str, bytes or os.PathLike object, not NoneType “ ,why,thanks。

Update to the latest version and delete config.json

Debugger enabled on OpenAIAuth
Logging in...
Debugger enabled on OpenAIAuth
ATMoovDQQryGOxzehRgkow.8nmtBq5dq2O2DLXNGn2Q-1670945653-0-1-f9d17985.92a643f5.aed02665-160
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
cf challenge fail
[13/Dec/2022 15:34:54] code 400, message Bad request syntax ('----------------------------091006570572003202276269')
[13/Dec/2022 15:34:54] "----------------------------091006570572003202276269" 400 -
[13/Dec/2022 15:34:54,629] - Broken pipe from ('127.0.0.1', 62829)
0UyV37NunKMsziHtaOuekImAkJXvhxv0YXPvVxvgdpk-1670945700-0-1-f9d17985.92a643f5.aed02665-160
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
mvV9Gq6FMT1mXzjFcbE_rFooOb8Yn.XeO_qZRlBBe7E-1670945710-0-1-f9d17985.92a643f5.aed02665-160
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36
tM1KlOy1XAotg6W.7E6YGT96MZ5JIvKL_sUVFWJXCS8-1670945719-0-1-f9d17985.92a643f5.aed02665-160

Unlimited restart in chrome,please ,thanks

@acheong08
Copy link
Owner

This is probably a proxy issue. Ask around the #中文 community on our discord

@abacaj
Copy link

abacaj commented Dec 13, 2022

yesterday, I was able to take the cf_clearance cookie and use it without a browser
now this is not possible, seems they enabled stronger protections with TLS fingerprinting
edit just pointing out this was on the nodejs client

@lambor590 lambor590 changed the title [BUG] (Can't login) They are using Cloudflare now [BUG] Can't login | Cloudflare protection Dec 13, 2022
@iWoz
Copy link

iWoz commented Dec 14, 2022

In Ubuntu(desktop),there is the error :”expected str, bytes or os.PathLike object, not NoneType “ ,why,thanks。

Update to the latest version and delete config.json

Debugger enabled on OpenAIAuth Logging in... Debugger enabled on OpenAIAuth ATMoovDQQryGOxzehRgkow.8nmtBq5dq2O2DLXNGn2Q-1670945653-0-1-f9d17985.92a643f5.aed02665-160 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 cf challenge fail [13/Dec/2022 15:34:54] code 400, message Bad request syntax ('----------------------------091006570572003202276269') [13/Dec/2022 15:34:54] "----------------------------091006570572003202276269" 400 - [13/Dec/2022 15:34:54,629] - Broken pipe from ('127.0.0.1', 62829) 0UyV37NunKMsziHtaOuekImAkJXvhxv0YXPvVxvgdpk-1670945700-0-1-f9d17985.92a643f5.aed02665-160 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 mvV9Gq6FMT1mXzjFcbE_rFooOb8Yn.XeO_qZRlBBe7E-1670945710-0-1-f9d17985.92a643f5.aed02665-160 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 tM1KlOy1XAotg6W.7E6YGT96MZ5JIvKL_sUVFWJXCS8-1670945719-0-1-f9d17985.92a643f5.aed02665-160

Unlimited restart in chrome,please ,thanks

same, can login in chrome with empty config, but once login, it will restart chrome all again

@maraxin
Copy link

maraxin commented Dec 14, 2022

Does anyone know when this will be able to work? https://gpt.chatapi.art/

@maraxin
Copy link

maraxin commented Dec 14, 2022

might be off topic tho, I am kinda new here

@acheong08
Copy link
Owner

Does anyone know when this will be able to work? gpt.chatapi.art

It will most likely never work again due to Cloudflare protections unless it becomes a paid service (it is expensive to bypass cloudflare)

@maraxin
Copy link

maraxin commented Dec 14, 2022

is there would be anything, that is similar to that?

@maraxin
Copy link

maraxin commented Dec 14, 2022

*if there won't be, then is there any way to get virtual phone number, that will work for open ai, to sign in?

@acheong08
Copy link
Owner

is there would be anything, that is similar to that?

Not yet. I heard that @rawandahmad698 is working on something similar though.

@acheong08
Copy link
Owner

*if there won't be, then is there any way to get virtual phone number, that will work for open ai, to sign in?

我去了马来西亚买电话然后在会了中国。。。

There is no easy way. There are many options online but they're not exactly trustworthy.

@Joshfindit
Copy link

I'm not sure if this is causation or just correlation, but I was asking ChatGPT to summarize book excerpts from Brené Brown, and I got multiple 403 errors immediately after it warned me about the prompt possibly violating the guidelines (presumably it did not like the nature of her work).

@acheong08 acheong08 unpinned this issue Dec 26, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests