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

[BUG] BRowserless troubleshooting #658

Open
1 task
alkampfergit opened this issue Oct 8, 2024 · 2 comments
Open
1 task

[BUG] BRowserless troubleshooting #658

alkampfergit opened this issue Oct 8, 2024 · 2 comments
Labels
type: bug Something isn't working

Comments

@alkampfergit
Copy link

Description

I've configured browserless in container as for documentation, navigating to page in port 9222 correctly show browserless in action, it works perfectly, but when I try to use the /browse command I always got

Issue: browse did not produce an answer (error: connect ECONNREFUSED 127.0.0.1:9222).

But I have really no clue on what happened.. maybe some better error would help troubleshoot the problem

Device and browser

Edge on windows.

Screenshots and more

No response

Willingness to Contribute

  • 🙋‍♂️ Yes, I would like to contribute a fix.
@alkampfergit alkampfergit added the type: bug Something isn't working label Oct 8, 2024
@BlaZerStarZ
Copy link

When you run your docker instance:
-click on browserless in your running container

-You should see the console log records.

-Scroll down until you see these lines

2024-10-18 11:58:27 2024-10-18T16:58:27.009Z browserless:server
2024-10-18 11:58:27
2024-10-18 11:58:27 Running on port 3000
2024-10-18 11:58:27 Localhost ws:localhost:3000
2024-10-18 11:58:27 Local network ws:172.XX.0.XX:3000

Where I placed XX you will see numbers unique to your computer config.

CTRL-C Copy the WS: #

Go into Big-Agi settings and click on tools

Paste the [WS#:] Ex. (ws://172.XX.0.XX:3000)
in the Puppeteer Wss box.

Now test it and see if it works.

If not, then open .env file in Big-Agi directory and set both proxy IP numbers to match your IP numbers you cut and pasted.
Remove the WS:
EX.
https_proxy=172.XX.0.XX:3000
http_proxy=172.XX.0.XX:3000

Then go to docker and stop all Big-Agi instances. Delete everything Big-Agi from Docker.
Then on the command line in the Big-Agi directory enter: docker-compose up

You should be up and running.

Hope this helps.

@enricoros
Copy link
Owner

Thanks for providing support @BlaZerStarZ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants