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
Browser Visible Mode Doesn't Work: ECONNREFUSED #77
Comments
Hello, Does it work without parallelizing? |
Doesn't seem to work in single browser mode too for me. Worked for you? Also, with or without docker? Thanks |
Can you tell me your environment please |
I have tried on: Centos 9, Ubuntu 22 and Ubuntu 20 and Debian too. All of these machines majorly on Google Cloud |
Same issue here.. No updates about? @surmatech |
We have released v4, which solves many bugs and adds awesome feautres like UI Run. I suggest using it and let me know if this issue reoccurs, to do so, please run the following commands:
Then read the documentation at https://github.com/omkarcloud/botasaurus. |
... across the bridge ...
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1605:16)
Error: connect ECONNREFUSED 127.0.0.1:38387
Keep getting this error with headless=False, this is the config:
@browser(window_size=bt.WindowSize.REAL,parallel=8, create_driver=create_stealth_driver(
start_url=lambda data: data["link"],
wait=12
), add_arguments=add_arguments, raise_exception=True, headless=False, keep_drivers_alive=True, cache=True, output=None, reuse_driver=True, block_resources=True, block_images=True, max_retry=10
)
works fine with Headless=False, using these arguments:
def add_arguments(data, options):
options.add_argument('--disable-dev-shm-usage')
options.add_argument('--no-sandbox')
options.add_argument('--server')
options.add_argument('--disable-setuid-sandbox')
options.add_argument('--no-zygote')
options.add_argument('--disable-gpu-sandbox')
options.add_argument('--disable-software-rasterizer')
options.add_argument('--ignore-certificate-errors')
options.add_argument('--ignore-ssl-errors')
options.add_argument('--use-gl=swiftshader')
options.add_argument('--window-size=1920,1080')
Also tried using only these:
def add_arguments(data, options):
options.add_argument('--disable-dev-shm-usage')
options.add_argument('--no-sandbox')
options.add_argument('--server')
options.add_argument('--disable-setuid-sandbox')
Tried with both proxy turned on and off, nothing seems to help!
The text was updated successfully, but these errors were encountered: