Skip to content

[nodriver] When trying to use a proxy with the proxy_server argument, the page loads endlessly and eventually returns an ERR_TIMED_OUT error. #2185

Open
@depis13

Description

@depis13

async def main():
    browser = await nodriver.start(
        headless=False,
    )
    tab = await browser.create_context(
        "https://curlconverter.com/",
        proxy_server=proxy.url,
    )
    input('test')



if __name__ == '__main__':
    nodriver.loop().run_until_complete(main())

In this code, proxy.url is a string of the following format: f"http://{self.username}:{self.password}@{self.host}:{self.port}". The proxy is definitely working.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions