ChatGPT icon indicating copy to clipboard operation
ChatGPT copied to clipboard

[Bug] Stuck at cloudflare check.

Open irthomasthomas opened this issue 2 years ago • 7 comments

Version

0.8.0

Bug description

Using latest Appimage on fedora 37. I can use the website through a browser fine. Firefox and chrome both work. But this app gets stuck at the cloudflare check. I tried changing the user agent to match the one I use in chrome, but that did not fix anything.

OS

Fedora 37

Environment

I would try building from source but I notice that VS Code is a requirement. Can I build it with VSCodium or Code OSS?

irthomasthomas avatar Jan 08 '23 14:01 irthomasthomas

It does not require a specific code editor, rust and node.js environments are required.

Cloudflare is a network problem, this problem is very frequent in China, many people have feedback on this problem, it comes from the openai website security policy, and the application does not have much to do with.

lencx avatar Jan 08 '23 14:01 lencx

I see, I'll try to build it then. Just the build instructions on the readme say to pre-install vscode and some extension: https://github.com/lencx/ChatGPT#how-do-i-build-it

I'm in UK. And the site works fine in other browsers.

irthomasthomas avatar Jan 08 '23 14:01 irthomasthomas

tauri is calling the system's built-in browser, and I can't be sure what detection mechanism openai is.

lencx avatar Jan 08 '23 14:01 lencx

Do you mean the default browser? So that if I change the default browser setting on my system it will change for this?

irthomasthomas avatar Jan 08 '23 15:01 irthomasthomas

I'm not sure, you can try (I don't think it has anything to do with the computer's settings).

lencx avatar Jan 08 '23 15:01 lencx

tauri is calling the system's built-in browser, and I can't be sure what detection mechanism openai is.

I'm on kde, so QTWebkit? There must be a reason they are treating you different to other clients. Let me know if there's something I can do to help you diagnose it.

irthomasthomas avatar Jan 08 '23 16:01 irthomasthomas

https://tauri.app/v1/references/webview-versions

tk103331 avatar Jan 08 '23 17:01 tk103331

Re: Cloudflare is a network problem, this problem is very frequent in China, many people have feedback on this problem, Interesting. AFAIK, also they are bound to apply AI network and even end-point filtering (mandated by the US government, for starters), as per OpenAI's ToUs, see my comment there or read them directly there.

Manamama avatar Jan 09 '23 10:01 Manamama

I am also stuck on the Cloudflare check. @irthomasthomas did you manage to fix this problem?

MrJarnould avatar Jan 12 '23 13:01 MrJarnould

FYI, it has been working for me, almost always, for the past +2 weeks, better than in the "bare" browser, even despite intermittent: Due to high demand on our systems, previous conversations are temporarily unavailable We're experiencing exceptionally high demand. Please hang tight as we work on scaling our systems. EU here: I half suspect they implemented regional throttling, partly as per their ToUs, see above.

In short, in my EU country now @lencx 's tool is more reliable than the non-API direct access.

Manamama avatar Jan 12 '23 15:01 Manamama

As an (not topical) aside : the newest GPTChat (directly at backend) feature "stop generating" is a godsend.

It saves generation tokens and patience: win-win situation.

Manamama avatar Jan 12 '23 16:01 Manamama