GithubHelp home page GithubHelp logo

Comments (5)

joelgriffith avatar joelgriffith commented on June 28, 2024

Hey there, I’m a tad unclear about the proxy-server (since we don’t have docs on that), which could be making matters worse. There are more elaborate docs here: https://docs.browserless.io/docs/docker.html.

Let me know if that doesn’t cover what you’re trying to achieve

from browserless.

gajus avatar gajus commented on June 28, 2024

Let me know if that doesn’t cover what you’re trying to achieve

--proxy-server arg should be passed to Chrome when launching it, e.g.

puppeteer/puppeteer#336

Here the docs talk about passing proxy-server parameter via the query parameters, e.g.

https://docs.browserless.io/docs/chrome.html

How does this work? Does Browserless container start a new Chrome instance every time a new connection is made?

from browserless.

joelgriffith avatar joelgriffith commented on June 28, 2024

How does this work? Does Browserless container start a new Chrome instance every time a new connection is made?

Yup, that's how it functions by default. You can specify it to re-use Chrome instances, but that work is still early in its life-cycle.

from browserless.

gajus avatar gajus commented on June 28, 2024

Understood. Thank you.

from browserless.

TAnas0 avatar TAnas0 commented on June 28, 2024

@gajus The link https://docs.browserless.io/docs/chrome.html is dead and I stumbled on this issue trying to specify the Websocket port on which Puppeteer listens.

To my understanding, its default value is 0 and means that it will be set randomly high, and I am getting errors about connection being refused to endpoints : 127.0.0.1:<port> where port is random.

Checkout my full description of the problem in this issue.

If this rings any bells, or if you have an alternative link that would be awesome.

from browserless.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.