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

网页版chatgpt无法使用 #469

Open
MrX1983TW opened this issue Jul 20, 2023 · 37 comments
Open

网页版chatgpt无法使用 #469

MrX1983TW opened this issue Jul 20, 2023 · 37 comments

Comments

@MrX1983TW
Copy link

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

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

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

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

@josStorer
Copy link
Owner

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

@MrX1983TW
Copy link
Author

对,是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
Copy link
Owner

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

@MrX1983TW
Copy link
Author

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

@josStorer
Copy link
Owner

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

@MrX1983TW
Copy link
Author

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

@MrX1983TW
Copy link
Author

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

@josStorer
Copy link
Owner

是2.4.0版本吗

@josStorer
Copy link
Owner

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

@MrX1983TW
Copy link
Author

是2.4.0版本没错

@betterdoitnow
Copy link

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

@lim142857
Copy link

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

@xuuou
Copy link

xuuou commented Aug 9, 2023

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

@yanzhengdao
Copy link

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

@lethefrost
Copy link

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

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

@josStorer
Copy link
Owner

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

@lethefrost
Copy link

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

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

@josStorer
Copy link
Owner

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

@lethefrost
Copy link

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

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

@josStorer
Copy link
Owner

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

@Dylan-Li8
Copy link

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

@Dylan-Li8
Copy link

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

@Dylan-Li8
Copy link

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

@josStorer
Copy link
Owner

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

@PeterDaveHello
Copy link
Contributor

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

@josStorer
Copy link
Owner

@PeterDaveHello Thanks, i'll take a look later

@levie-vans
Copy link

levie-vans commented Oct 18, 2023

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
Copy link

我看了一下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
Copy link
Owner

josStorer commented Oct 30, 2023

Fixed in 4859e9a
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.

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

@duAffentier
Copy link

Update for firefox?

@josStorer
Copy link
Owner

@duAffentier Waiting for review
image

@Aerasyn
Copy link

Aerasyn commented Nov 2, 2023

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

@PeterDaveHello
Copy link
Contributor

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
Copy link
Owner

josStorer commented Nov 3, 2023

@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
Copy link
Contributor

The latest version is now available 🎉

image

mrichtarsky added a commit to mrichtarsky/chatGPTBox that referenced this issue Feb 13, 2024
* origin/master:
  Update OpenAI ChatGPT Turbo models (API) (josStorer#620)
  release v2.4.9
  when opening IndependentPanel, if the latest session has been used, automatically create a new session (josStorer#601)
  presearch support (josStorer#592)
  formattedError (josStorer#572)
  safe markdown renderer (josStorer#609, josStorer#403)
  improve the stability of response language (josStorer#611)
  improve bilibili summary
  fix mounting failure caused by DuckDuckGo's initial rendering delay. josStorer#610
  gpt-4 web DALL·E support
  chore
  improve josStorer#603
  improve markdown styles (josStorer#585)
  fix gpt-4 web unusual activity (josStorer#615)
  fix: bilibili reload (josStorer#603)
  refactor(selection-tools): remove redundant `getPreferredLanguage` calls (josStorer#593)
  Fix GPT-4 model name and confusion in names (josStorer#584)
  chore(deps): bump actions/upload-artifact from 3 to 4 (josStorer#594)
  chore(deps): bump actions/setup-python from 4 to 5 (josStorer#586)
  update readme news
  release v2.4.8
  update core content adapters
  fix eventsource meta (josStorer#579, josStorer#567)
  josStorer#573's patch
  release v2.4.7
  fix josStorer#569 and reduce menu items
  add gpt-3.5-turbo-instruct
  fix global side_panel
  patch to josStorer#564
  Update Claude.ai web to Claude v2.1, fix josStorer#570 (josStorer#573)
  Add ChatGLM API (josStorer#567)
  Optimize Logic in `selection-tools` Module (josStorer#564)
  release v2.4.6
  support for chromium side panel (josStorer#111)
  allow filling in the API Key of CustomModel mode (josStorer#561, previously designed for local offline model or custom server, now you can also use it for regular openai API calls and freely fill in the model name(josStorer#563))
  update for chatgpt3.5 web (josStorer#562, josStorer#551#issuecomment-1803668105, josStorer#543#issuecomment-1803666487)
  Added box for gh pr's and issues (josStorer#558)
  Replace legacy gpt-3.5-turbo-0613 with the latest gpt-3.5-turbo-1106
  Add OpenAI API GPT-4 Turbo Preview
  Turkish readme Translation (josStorer#553)
  chore
  firefox patch
  release v2.4.5
  update build scripts
  force scroll to bottom after submission
  docs: phrase translation according language README_IN
  improve render performance (josStorer#265)
  docs: add Japanese README
  Create .gitattributes
  improve chatgpt web user guide
  release v2.4.4
  improve chatgpt web mode compatibility
  improve chatgpt web user guide
  Add site adapters for Golem, EETimes
  release v2.4.3
  fix safari background (josStorer#512 (comment))
  improve fetchSSE (josStorer#532)
  re-order parse process
  fix: parse sse
  Make summarization work for text/plain content
  chore(deps-dev): bump @babel/traverse from 7.21.4 to 7.23.2
  fix josStorer#539 bing web
  blob file read for gitlab (josStorer#544)
  fix chatgpt web mode arkose_token (josStorer#469, josStorer#543, josStorer#545)
  remove BingImageCreator
  disable poe temporarily
  upgrade caniuse-lite
  remove commands permission
@endolith
Copy link

endolith commented May 30, 2024

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
Copy link

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

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

14 participants