josStorer / chatGPTBox

Integrating ChatGPT into your browser deeply, everything you need is here
MIT License
9.85k stars 735 forks source link

网页版chatgpt无法使用 #469

Open MrX1983TW opened 1 year ago

MrX1983TW commented 1 year ago

现在点选网页版的ChatGPT都会出现以下讯息: 错误:

需要通过 OpenAI 的安全检查 请开启 https://chat.openai.com 接着点击右上角的「重试」按钮

建议在 https://platform.openai.com/account/api-keys 建立一个 API 金钥

开启网页登入后仍然无法使用(我有订阅),请再协助修正

josStorer commented 1 year ago

你使用的模式是什么,GPT-4吗,试试Mobile模式

MrX1983TW commented 1 year ago

对,是GPT 4,但是切换到Mobile模式首先会出现下面讯息:{"detail":"Only one message at a time. Please allow any other responses to complete before sending another message, or wait one minute."} 过一分钟再试还是会出现上面的错误要我重新登入

josStorer commented 1 year ago

这是你刚才发送了别的请求,点击重试按钮

MrX1983TW commented 1 year ago

Screenshot_2023-07-20-17-23-28-26_ffb2f5e1b976ff98cfc94f359fbce8de 还是不行,会变成上面那样

josStorer commented 1 year ago

试试保持chatgpt官网打开使用,点击图片里的链接跳转到官网,然后不要关闭

MrX1983TW commented 1 year ago

还是不行,刚刚用电脑版的chrome重试也是一样

MrX1983TW commented 1 year ago

如果不选GPT 4,则网页版没有问题,但是使用GPT 4就会出现上面的错误

josStorer commented 1 year ago

是2.4.0版本吗

josStorer commented 1 year ago

检查了一下,openai验证有更新

MrX1983TW commented 1 year ago

是2.4.0版本没错

betterdoitnow commented 1 year ago

我也有同样的问题.... 只要选了GPT-4模型,就是报错

lim142857 commented 1 year ago

It appears that GPT-4 version is still not functioning.

xuuou commented 1 year ago

我也是同样的问题,选择GPT-4就会报错(已经订阅plus)。

yanzhengdao commented 1 year ago

同样问题,无法选择GPT-4, plus用户,现在plus已经默认GPT-4了,请更新

lethefrost commented 1 year ago

检查了一下,openai验证有更新

我也遇到了同样的问题,模型ChatGPT(Web)可正常使用,但是(Web, GPT-4)则要么提示打开网页后重试,要么显示一次只能生成一条消息。扩展为2.4.0版本。请问一下这个问题有什么进展吗?

josStorer commented 1 year ago

目前GPT4的Web请求依赖arkose_token进行验证,这个token的获取在浏览器扩展的客户端侧不太好实现,POE也是类似的情况

lethefrost commented 12 months ago

目前GPT4的Web请求依赖arkose_token进行验证,这个token的获取在浏览器扩展的客户端侧不太好实现,POE也是类似的情况

我看到另一些扩展中webapp gpt4可以正常工作,比如说这个开源项目chathub,在另外一些不开源的项目中,比如sider,web版gpt4也可以正常使用。是否可以参考他们是如何接入的呢?希望会有帮助。谢谢您的插件!

josStorer commented 12 months ago

chathub自建了服务器,获取arkose_token,并且由于它的代码是开源的,理论上我可以向它的服务器请求获取arkose_token,但我觉得这么做有些不道德

lethefrost commented 12 months ago

chathub自建了服务器,获取arkose_token,并且由于它的代码是开源的,理论上我可以向它的服务器请求获取arkose_token,但我觉得这么做有些不道德

草😂竟然是这样实现的,确实……(。) 那现在咱们这边是暂时没有办法解决这个问题了吗😢

josStorer commented 11 months ago

@lethefrost 暂时没找到解决方法,找到了会更新 https://github.com/josStorer/chatGPTBox/releases/tag/v2.4.1

Dylan-Li8 commented 11 months ago

如果可以私有化部署服务器端项目用以支持获取arkose_token,这样是否可行?

Dylan-Li8 commented 11 months ago

或者,能否使用https://chat.zhile.io/的接口来实现?

Dylan-Li8 commented 11 months ago

另外,请查看一下maxai.me 是怎么实现的,它是可以在浏览器扩展里使用GPT-4网页版。

josStorer commented 11 months ago

@Dylan-Li8 私有化部署是可行的,这个项目支持自定义API和 waylaidwanderer API,你可以随意编写一个本地http服务器,返回的json响应中的response字段会自动使用,或者你也可以自己实现openai API兼容的sse响应,同样支持

PeterDaveHello commented 10 months ago

Not sure if it helps, looks like bravegpt is working properly: https://github.com/KudoAI/bravegpt

josStorer commented 10 months ago

@PeterDaveHello Thanks, i'll take a look later

levie-vans commented 10 months ago

I came across two browser extensions that utilize the GPT-4 interface from the web-based ChatGPT, offering the complete capabilities of GPT-4:

  1. HARPA AI: You can check out HARPA AI at this link.

  2. MaxAI.me: Another option is MaxAI.me, which you can find here.

Feel free to take a look!

Dylan-Li8 commented 10 months ago

我看了一下HARPA,确实是纯客户端实现的获取arkose_token,用的是OpenAI自己的js库:

https://tcr9i.chat.openai.com/cdn/fc/js/6af2c0d87b9879cbf3365be1a208293f84d37b1e/standard/funcaptcha_api.js?onload=loadChallenge
https://tcr9i.chat.openai.com/cdn/fc/assets/ec-game-core/bootstrap/1.15.0/standard/game_core_bootstrap.js

image

I came across two browser extensions that utilize the GPT-4 interface from the web-based ChatGPT, offering the complete capabilities of GPT-4:

  1. HARPA AI: You can check out HARPA AI at this link.
  2. MaxAI.me: Another option is MaxAI.me, which you can find here.

Feel free to take a look!

josStorer commented 10 months ago

Fixed in https://github.com/josStorer/chatGPTBox/commit/4859e9a905e8a405d2a5c40d526bec1b2ea112ed Thank you for providing these references. In the end, I adopted a method that I believe may be more reliable to obtain the arkose_token. This method does not depend on the specific api.js from the official repository and script injection, making it usable on any page.

已通过https://github.com/josStorer/chatGPTBox/commit/4859e9a905e8a405d2a5c40d526bec1b2ea112ed 修复 感谢大家提供的参考. 最终我采用了一种我觉得更可靠的方式获取arkose_token. 这个方法不依赖官方仓库的特定api.js, 也不需要注入脚本, 且在任意网页页面均可用.

duAffentier commented 10 months ago

Update for firefox?

josStorer commented 10 months ago

@duAffentier Waiting for review image

Aerasyn commented 9 months ago

Yes, but the update is not being downloadable in firefox extension store? This is all I get so far: image

PeterDaveHello commented 9 months ago

Same here, that's strange...

Yes, but the update is not being downloadable in firefox extension store? This is all I get so far: image

josStorer commented 9 months ago

@Aerasyn @PeterDaveHello I am dealing with an audit issue with Firefox. Firefox believes that the compiled output of the source code I submitted does not match the contents of the submitted compressed file. As a result, the addon has been temporarily disabled. I think it will not take too long to resolve this issue.

PeterDaveHello commented 9 months ago

The latest version is now available :tada:

image

endolith commented 3 months ago

This Add-on doesn't work in Firefox, version 2.5.5:

Error:

OpenAI Security Check Required Please open https://chatgpt.com And click the retry button in the top right corner

Consider creating an api key at https://platform.openai.com/account/api-keys

Is there a way to use API key instead? I don't see anywhere to enter it.

endolith commented 3 months ago

Oh I found it. You need to change default model first, and then API key box appears:

image