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

mac 电脑上执行 python3 openai_token.py --refresh_token 显示 127.0.0.1:9222浏览器无法链接。 #8

Open
tomridder opened this issue Aug 4, 2024 · 0 comments

Comments

@tomridder
Copy link

mac 电脑上执行 python3 openai_token.py --refresh_token 显示
127.0.0.1:9222浏览器无法链接。
请确认:
1、该端口为浏览器
2、已添加'--remote-debugging-port=9222'启动项
3、用户文件夹没有和已打开的浏览器冲突
4、如为无界面系统,请添加'--headless=new'参数
5、如果是Linux系统,可能还要添加'--no-sandbox'启动参数
可使用ChromiumOptions设置端口和用户文件夹路径。
guichaoran@guichaorandeMacBook-Pro openai_token %

但是 已经运行了 /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222

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

1 participant