Opened 4 years ago

Closed 4 years ago

#61202 closed defect (invalid)

squid 4.13 HTTPS Sites Extremely Slow

Reported by: essandess (Steve Smith) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.6.3
Keywords: Cc:
Port: squid4

Description

squid 4.13 is extremely slow when accessing TLS-secured sites. Does anyone else observe this issue?

Troubleshooting, using the configuration /opt/local/etc/squid/squid.conf.default, with and without the directive:

always_direct allow all

I don't see any issues in access.log or cache.log.

Comparing Privoxy to squid download times using curl:

Privoxy proxy download time:

time curl --proxy localhost:8118 https://www.youtube.com/watch?v=dQw4w9WgXcQ 1> /dev/null 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  518k    0  518k    0     0   682k      0 --:--:-- --:--:-- --:--:--  682k

real	0m0.784s
user	0m0.019s
sys	0m0.018s

Squid 4.13 proxy download time (times out with curl, eventually loads using Safari):

time curl --proxy localhost:3128 https://www.youtube.com/watch?v=dQw4w9WgXcQ 1> /dev/null 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:04:00 --:--:--     0curl: (56) Received HTTP code 503 from proxy after CONNECT

real	4m0.493s
user	0m0.017s
sys	0m0.027s

On the other hand, HTTP access is very fast:

time curl --proxy jacquard:3128 http://earlyconifers.myspecies.info 1> /dev/null
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 46246    0 46246    0     0  5645k      0 --:--:-- --:--:-- --:--:-- 5645k

real	0m0.028s
user	0m0.005s
sys	0m0.009s

Change History (3)

comment:1 Changed 4 years ago by mf2k (Frank Schima)

Cc: jmroot removed
Owner: set to jmroot
Status: newassigned

comment:2 Changed 4 years ago by essandess (Steve Smith)

Sorry, this was a local issue. Not sure of the cause, but a reboot fixed it. Please close this ticket.

comment:3 Changed 4 years ago by jmroot (Joshua Root)

Resolution: invalid
Status: assignedclosed
Note: See TracTickets for help on using tickets.