Skip to content

Proxy configured but unable to connect #3301

@Wade7777

Description

@Wade7777

Are you using the latest version of the library?

  • I have checked and am using the latest version of the library.

What type of session are you experiencing this issue on?

Tested and experienced on both

What type of host account are you experiencing this issue on?

Tested and experienced on both

Mode

My own code

Current Behavior

wa.create({
linkCode: 'xxxx',
useChrome: true,
multiDevice: true,
headless: false,
proxyServerCredentials: {
protocol:'xxx',
address:'xxxx',
username: 'xxx',
password: 'xxxx'
},
})

I tried proxies for http and socks5 \ socks5h protocols.
However, the startup will still report an error. I will operate according to the documents.

I have also tried another scheme, 'chromiumArgs', but my agent needs authentication to connect. This scheme I tried to get the result that the agent does not take effect or starts to report an error or needs to manually output the agent's account number and password on chrome after the start is successful.

Expected Behavior

No response

Steps To Reproduce

I hope to solve my above problem

create() code OR full CLI command + CONFIG

DEBUG INFO

Sorry, I don't know how to get

chrome version  138.0.7204.158    It uses 'useChrome'

Environment

- OS: MacOS
- Node: v24.4.1.
- npm: 11.4.2

Screenshots/Logs

✖ Navigating to WA
TimeoutError: Navigation timeout of 30000 ms exceeded
at new Deferred (/Users/hao.wong/node_modules/puppeteer-core/lib/cjs/puppeteer/util/Deferred.js:60:34)
at Deferred.create (/Users/hao.wong/node_modules/puppeteer-core/lib/cjs/puppeteer/util/Deferred.js:21:16)
at new LifecycleWatcher (/Users/hao.wong/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/LifecycleWatcher.js:69:60)
at CdpFrame.goto (/Users/hao.wong/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Frame.js:149:29)
at CdpFrame. (/Users/hao.wong/node_modules/puppeteer-core/lib/cjs/puppeteer/util/decorators.js:109:27)
at CdpPage.goto (/Users/hao.wong/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Page.js:574:43)
at /Users/hao.wong/node_modules/@open-wa/wa-automate/dist/controllers/browser.js:279:41
at Generator.next ()
at fulfilled (/Users/hao.wong/node_modules/@open-wa/wa-automate/dist/controllers/browser.js:28:58)

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions