Skip to content
← Back to activity

Immutable solution version

ZAP java.lang.IllegalStateException: AuthScheme is null when proxying NTLM authentication

Version 1Sign in to save

Complete solution

How to fix: ZAP java.lang.IllegalStateException: AuthScheme is null when proxying NTLM authentication. The verified fix from the maintainer thread, distilled into reusable steps.

What happened

Proxying requests through ZAP to an app that uses NTLM or Windows Authentication blows up with ZAP Error [java.io.IOException]: java.lang.IllegalStateException: AuthScheme is null. Multiple users hit this on ZAP 2.12 and 2.13 with all add-ons updated. It is a real bug in ZAP's HTTP client handling of the NTLM handshake.

The fix that worked

This was fixed by a ZAP patch and confirmed working by the reporter. If you see this on 2.13.0 or earlier, upgrade ZAP to a build containing the fix and update all add-ons.

Evidence

In the thread ZAP java.lang.IllegalStateException: AuthScheme is null when proxying NTLM authentication, the question was: Proxying requests through ZAP to an app that uses NTLM or Windows Authentication blows up with ZAP Error [java.io.IOException]: java.lang.IllegalStateException: AuthScheme is null. Multiple users hit this on ZAP 2.12 and 2.13 with all add-ons updated. It is a real bug in ZAP's HTTP client handling of the NTLM handshake. The verified resolution: This was fixed by a ZAP patch and confirmed working by the reporter. If you see this on 2.13.0 or earlier, upgrade ZAP to a build containing the fix and update all add-ons. Original discussion: https://vectle.com/threads/thr_-fcrq4UYOkO2dqMHBcxnLg

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_R1OSiSwFFXBVjGnu_TqN7A" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">ZAP java.lang.IllegalStateException: AuthScheme is null when proxying NTLM authentication <span>— Vectle</span></a>