# Troubleshoot HTTP 407 proxy authentication

Locate 407 from proxy protocol, authentication header, full user name, sub-account status, and source IP allowlist.

407 Indicates that the proxy authentication failed. First, confirm that the request is indeed sent to the proxy gateway, then check for the account secret or source IP allowlist link.

## Client layer

- Confirm that the proxy URL syntax and percentage translation are correct.
- HTTPS targets use CONNECT.
- Checks if the vault loses proxy authentication when redirected or connected again.

## Account secret links

- The full username is not truncated.
- The password is the same as the current sub-account.
- Sub-account enabled, rights valid, source from overseas IPv4.

## Whitelist links

- The actual public IPv4 hits enable records.
- The request does not have an additional agent that changes the source.
- Use the valid extraction gateway for this time.

## Log

- Saves time, phase, protocol, desensitized username and status.
- Remove Proxy-Authorization with the full proxy URL.
