-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Error: Failed to launch the browser process #112
Comments
I resolved, at least momentarily, by changing the following line in openai-auth.ts#129 to the real path of Chrome in my PC, which I got by going on the page This makes the library work with little effort, but it's definitely an incorrect method. We have to wait for the developer to complete the function to make everything work without changes from us. |
that worked but i see it now works as a bot. cant it run normally? |
I don’t understand. You want the library not to take the cookies by itself? |
You can pass |
@transitive-bullshit I fixed this but I could not make it work yet, what else do I need to config in order to work? Do I need some cookies or credentials to provide? Except for those which I config in the .env that are the email and password of my account |
@joao-bermal I'll need more info in order to help. Try printing out the results of Also, make sure you're using the real Chrome executable and not the puppeteer one because Cloudflare tends to block that one. If you post more info, I can help more (node.js version, how you've invoking the demo, all output, what happens in the headful browser, etc). |
https://github.com/GoogleChrome/chrome-launcher
|
@joao-bermal make sure you're setting |
@transitive-bullshit actually I've realized that and I changed to my email and password but still exacly the same result. I think that's because I'm trying to login with the google account, I'll try to create an account with email and password and see if this changes something. |
Only standard email & password is supported for the automated solution at this time.
|
sorry i meant not doing this whole open browser operation. is this because of the new restrictions they applied? |
@stojanni Yes, this is probably because of the cloudflare protection they implemented |
@stojanni the new Cloudflare protections unfortunately made this whole process much more complicated. Keep in mind that this is providing extremely early access to ChatGPT and is intended to help devs start building awesome stuff on top of it — but it won't be 100% stable until the official API is released, and we don't have any word yet on when that will be. |
The original bug for this issue has been resolved in: https://github.com/transitive-bullshit/chatgpt-api/releases/tag/v2.3.1 If you have other problems, please open a new issue with a detailed account of the problem you're running into. |
I cloned the latest version and wanted to run the demos, but this problem occurred. Is it possible to get command line parameters |
@gookyn thank's for the windows PR. Yes, I like the idea of |
can i deploy it in linux vm? when i command |
@tiger233 you can use |
The text was updated successfully, but these errors were encountered: