[squid-users] random forward proxy authentication pop-up

Amos Jeffries squid3 at treenet.co.nz
Mon Jul 27 21:21:38 UTC 2015


iPhones and mysterious auth popups on CONNECT requests where the cancel
continues as if nothing happened.

Sounds very familiar.

Each time so far that I've been through and debugged these symptoms in
detail it has turned out Squid was working correctly. The 407 were
correct normal HTTP responses to which the browser had only to send the
credentials it has. But for some reason the browser was still annoying
the user.

So far the best theory is a iPhone bug somewhere in the deep HTTP
handling layers close to TCP. On the iPhone itself, not Squid so we
can't fix it.


It is weird that it should be the origin server listed as auth realm
though. Try configuring something very distinct like a random word. The
Squid realm text should appear in the popup boxes title bar or
description when credentials are being requested by Squid:

   auth_param basic realm Squid ghAIec54j

If that test shows the origin really is requiring authentication - then
the problem has nothing to do with Squid.

Amos



More information about the squid-users mailing list