Replies: 7 comments 1 reply
|
should i just set env var DEBUG=puppeteer:* in order to gather logs |
|
Added as env But don't see more logs |
|
I captured a complete DEBUG=puppeteer:* protocol trace. Immediately afterward Chromium emits: There are no Fetch.authRequired or Fetch.continueWithAuth events anywhere in the protocol log, despite handleAuthRequests=true being enabled. Since Puppeteer never receives Fetch.authRequired, it has no opportunity to supply the credentials. Is this a Chromium/Puppeteer regression with proxy authentication? |
|
What is unexpected The protocol log never contains:
Additional information
|
|
@gudge25 — thanks, this trace is exactly what I asked for, and the What your trace actually showsThe expected CDP sequence when Your trace has the first two steps — proxy responds So I owe you a correction. In #819 I wrote that the error means "the proxy received and rejected your credentials." Your trace contradicts that — it's consistent with the credentials never having been delivered via the CDP auth path at all. The This is a known rough edge in Puppeteer/Chromium proxy auth (tracked upstream, e.g. puppeteer#7405, #3253): The one test that closes itBoth of these can be true at once, so the question is which one is doing the work for your setup:
To separate them, do exactly one of:
If it's (A): authorize the pod's egress IP in Webshare, or switch to IP-allowlist auth and drop If it's (B) with the IP correctly authorized: that's genuinely a Puppeteer/Chromium-side problem in the proxy-auth path, and at that point it belongs upstream rather than in OpenWA — OpenWA is already doing the only thing the API exposes ( The robust path, regardlessFor any proxy-heavy deployment the Baileys engine is the right call. It authenticates the proxy at the Node layer ( |
|
tried both http and socks5 |
|
@gudge25 — you were right, and the warning you hit was the real story: the Baileys adapter shipped without proxy support. The It's now implemented: #973, merged to What you get on the Baileys engine:
To try it before the release: run a build of current One nice side effect: this doubles as the discriminating test from my earlier comment. If the Baileys session connects cleanly through the same Webshare URL from the same pod, your credentials and egress IP are both fine — which pins the wwjs failure squarely on Chromium's proxy-auth path. If you specifically need the wwjs engine, IP-allowlist auth remains the reliable configuration there. Please report back either way — if anything about the proxy path misbehaves on Baileys, that's now a bug I want to know about. |
Uh oh!
There was an error while loading. Please reload this page.
As requested moved here
#819
All reactions