[squid-users] Problems with squid 3.5.1

Amos Jeffries squid3 at treenet.co.nz
Mon Feb 9 10:20:54 UTC 2015


On 9/02/2015 10:36 p.m., Stefano Ansaloni wrote:
> Here is the log of github loading a page without users avatars:
> 1423470402.645     12 192.168.X.X TAG_NONE/200 0 CONNECT
> github.com:443 - HIER_NONE/- -


I think the TAG_NONE are the bumped tunnels. In 3.5 the non-bumped ones
are labeled TCP_TUNNEL.


> 1423470403.347    699 192.168.X.X TCP_MISS/200 17045 GET
> https://github.com/BigBrotherBot/big-brother-bot/tree/release-1.10 -
> HIER_DIRECT/192.30.252.130 text/html
> 1423470403.352     36 192.168.X.X TAG_NONE/200 0 CONNECT
> assets-cdn.github.com:443 - HIER_NONE/- -
> 1423470403.455      0 192.168.X.X TAG_NONE/200 0 CONNECT
> assets-cdn.github.com:443 - HIER_NONE/- -
> 1423470403.459      0 192.168.X.X TCP_HIT/200 7224 GET
> https://assets-cdn.github.com/favicon.ico - HIER_NONE/- image/x-icon
> 1423470403.723    292 192.168.X.X TCP_MISS/200 47802 GET
> https://assets-cdn.github.com/assets/github-b3f61646dd9db8625d1604a82679b9f23c855258f086d8f853076133744421a0.css
> - HIER_DIRECT/185.31.19.133 text/css
> 1423470403.913    190 192.168.X.X TCP_MISS/200 54696 GET
> https://assets-cdn.github.com/assets/github2-feb550e442797d7340edb43bd054d2e52f753b0cf6172fb5e3e05fef9afa1b73.css
> - HIER_DIRECT/185.31.19.133 text/css
> 1423470403.916      0 192.168.X.X TAG_NONE/200 0 CONNECT
> assets-cdn.github.com:443 - HIER_NONE/- -
> 1423470403.934     19 192.168.X.X TCP_HIT/200 3005 GET
> https://assets-cdn.github.com/assets/spinners/octocat-spinner-32-e513294efa576953719e4e2de888dd9cf929b7d62ed8d05f25e731d02452ab6c.gif
> - HIER_NONE/- image/gif
> 1423470403.948     32 192.168.X.X TAG_NONE/200 0 CONNECT
> avatars2.githubusercontent.com:443 - HIER_NONE/- -
> 1423470403.949     32 192.168.X.X TAG_NONE/200 0 CONNECT
> camo.githubusercontent.com:443 - HIER_NONE/- -
> 1423470404.166      1 192.168.X.X TCP_HIT/200 25801 GET
> https://camo.githubusercontent.com/93eca4f3dcbb6880104713ad68c178f429562144/687474703a2f2f7777772e62696762726f74686572626f742e6e65742f73697465732f64656661756c742f66696c65732f62332d6c6f676f2d6c696768742d746578742e706e67
> - HIER_NONE/- image/png
> 1423470404.171      0 192.168.X.X TAG_NONE/200 0 CONNECT
> camo.githubusercontent.com:443 - HIER_NONE/- -
> 1423470404.171      0 192.168.X.X TAG_NONE/200 0 CONNECT
> camo.githubusercontent.com:443 - HIER_NONE/- -
> 1423470404.171      0 192.168.X.X TAG_NONE/200 0 CONNECT
> camo.githubusercontent.com:443 - HIER_NONE/- -
> 1423470404.171      0 192.168.X.X TAG_NONE/200 0 CONNECT
> camo.githubusercontent.com:443 - HIER_NONE/- -
> 1423470404.172      0 192.168.X.X TAG_NONE/200 0 CONNECT
> camo.githubusercontent.com:443 - HIER_NONE/- -
> 1423470404.172      0 192.168.X.X TAG_NONE/200 0 CONNECT
> assets-cdn.github.com:443 - HIER_NONE/- -
> 1423470404.202     36 192.168.X.X TCP_SWAPFAIL_MISS_ABORTED/000 4258
> GET https://camo.githubusercontent.com/e4e69472ef17c28376ab41d57498aedfe64531bd/68747470733a2f2f7472617669732d63692e6f72672f42696742726f74686572426f742f6269672d62726f746865722d626f742e7376673f6272616e63683d72656c656173652d312e3130
> - HIER_DIRECT/185.31.18.133 -
> 1423470404.206      3 192.168.X.X TCP_HIT/200 18253 GET
> https://assets-cdn.github.com/assets/octicons/octicons/octicons-192e5fbb927be7cdb8bdfa0ecb98d3574bd395e58f9d00e5dcdfce5bc9660ac0.woff
> - HIER_NONE/- application/x-font-woff
> 1423470404.545    394 192.168.X.X TCP_MISS/200 111485 GET
> https://assets-cdn.github.com/assets/frameworks-996268c2962f947579cb9ec2908bd576591bc94b6a2db184a78e78815022ba2c.js
> - HIER_DIRECT/185.31.19.133 application/javascript
> 1423470404.716    547 192.168.X.X TCP_SWAPFAIL_MISS/200 3082 GET
> https://avatars2.githubusercontent.com/u/42300? -
> HIER_DIRECT/185.31.18.133 image/png
> 1423470404.890    345 192.168.X.X TCP_MISS/200 103109 GET
> https://assets-cdn.github.com/assets/github-adfa2ee6f7ed872963ba72937fc628d615cd1cfe2268305014aaa3a80ef2b04d.js
> - HIER_DIRECT/185.31.19.133 application/javascript
> 1423470405.123      0 192.168.X.X TAG_NONE/200 0 CONNECT
> github.com:443 - HIER_NONE/- -
> 1423470405.298    175 192.168.X.X TCP_MISS/200 1951 GET
> https://github.com/BigBrotherBot/big-brother-bot/contributors_size -
> HIER_DIRECT/192.30.252.130 text/html
> 1423470405.404      0 192.168.X.X TCP_HIT/200 4755 GET
> https://assets-cdn.github.com/flash/ZeroClipboard.v2.1.6.swf -
> HIER_NONE/- application/x-shockwave-flash
> 1423470405.408   1205 192.168.X.X TCP_MISS/200 1504 GET
> https://camo.githubusercontent.com/671757fe55a0c195ccc405d6807cec6c7d39004e/68747470733a2f2f70797069702e696e2f6567672f62332f62616467652e7376673f7374796c653d666c6174
> - HIER_DIRECT/185.31.18.133 image/svg+xml
> 1423470405.415   1212 192.168.X.X TCP_MISS/200 1506 GET
> https://camo.githubusercontent.com/51087cc89539882f6185930c4c544b5f48914b89/68747470733a2f2f70797069702e696e2f70795f76657273696f6e732f62332f62616467652e7376673f7374796c653d666c6174
> - HIER_DIRECT/185.31.18.133 image/svg+xml
> 1423470405.421     34 192.168.X.X TAG_NONE/200 0 CONNECT
> collector-cdn.github.com:443 - HIER_NONE/- -
> 1423470405.423   1220 192.168.X.X TCP_MISS/200 1531 GET
> https://camo.githubusercontent.com/9628b1f0ec45c623ad122817971f6fb688742ba6/68747470733a2f2f70797069702e696e2f646f776e6c6f61642f62332f62616467652e7376673f7374796c653d666c6174
> - HIER_DIRECT/185.31.18.133 image/svg+xml
> 1423470405.437   1235 192.168.X.X TCP_MISS/200 1508 GET
> https://camo.githubusercontent.com/bf594cf91b686d8307f7935d6c0f7371db255c43/68747470733a2f2f70797069702e696e2f76657273696f6e2f62332f62616467652e7376673f7374796c653d666c6174
> - HIER_DIRECT/185.31.18.133 image/svg+xml
> 1423470405.452   1249 192.168.X.X TCP_MISS/200 1508 GET
> https://camo.githubusercontent.com/30f75228ae73fd020e074db958f7b7a7469a3af5/68747470733a2f2f70797069702e696e2f6c6963656e73652f62332f62616467652e7376673f7374796c653d666c6174
> - HIER_DIRECT/185.31.18.133 image/svg+xml
> 1423470405.527    137 192.168.X.X TCP_MISS/200 1887 GET
> https://github.com/BigBrotherBot/big-brother-bot/issues/counts -
> HIER_DIRECT/192.30.252.130 application/json
> 1423470405.642    502 192.168.X.X TCP_MISS/200 1856 GET
> https://github.com/BigBrotherBot/big-brother-bot/show_partial? -
> HIER_DIRECT/192.30.252.130 text/html
> 1423470406.043    188 192.168.X.X TCP_SWAPFAIL_MISS/200 3377 GET
> https://collector-cdn.github.com/assets/api.js -
> HIER_DIRECT/185.31.19.133 application/javascript
> 1423470406.126     61 192.168.X.X TAG_NONE/200 0 CONNECT
> collector.githubapp.com:443 - HIER_NONE/- -
> 1423470406.616    466 192.168.X.X TCP_MISS/200 663 GET
> https://collector.githubapp.com/github/page_view? -
> HIER_DIRECT/54.86.253.42 image/gif
> 1423470407.690    544 192.168.X.X TCP_MISS/400 1398 POST
> https://github.com/_stats - HIER_DIRECT/192.30.252.130 text/javascript
> 1423470412.670    402 192.168.X.X TCP_MISS/200 21550 GET
> http://forum.arcadecontrols.com/index.php? - FIRSTUP_PARENT/127.0.0.1
> text/html
> 1423470429.282    110 192.168.X.X TAG_NONE/200 0 CONNECT
> avatars0.githubusercontent.com:443 - HIER_NONE/- -
> 1423470429.282    110 192.168.X.X TAG_NONE/200 0 CONNECT
> avatars1.githubusercontent.com:443 - HIER_NONE/- -
> 1423470429.291      2 192.168.X.X TCP_SWAPFAIL_MISS_ABORTED/000 4258
> GET https://avatars0.githubusercontent.com/u/1245124? -
> HIER_DIRECT/185.31.18.133 -
> 1423470429.387   1624 192.168.X.X TCP_MISS/200 16633 GET
> https://github.com/BigBrotherBot/big-brother-bot/commits/release-1.10
> - HIER_DIRECT/192.30.252.130 text/html
> 1423470429.452      0 192.168.X.X TAG_NONE/200 0 CONNECT
> avatars0.githubusercontent.com:443 - HIER_NONE/- -
> 1423470429.452      0 192.168.X.X TAG_NONE/200 0 CONNECT
> avatars1.githubusercontent.com:443 - HIER_NONE/- -
> 1423470429.541      0 192.168.X.X TAG_NONE/200 0 CONNECT
> avatars0.githubusercontent.com:443 - HIER_NONE/- -
> 1423470429.546      2 192.168.X.X TCP_SWAPFAIL_MISS_ABORTED/000 4258
> GET https://avatars0.githubusercontent.com/u/1245124? -
> HIER_DIRECT/185.31.18.133 -
> 1423470429.669      0 192.168.X.X TAG_NONE/200 0 CONNECT
> avatars0.githubusercontent.com:443 - HIER_NONE/- -
> 1423470429.674      2 192.168.X.X TCP_SWAPFAIL_MISS_ABORTED/000 4258
> GET https://avatars0.githubusercontent.com/u/1245124? -
> HIER_DIRECT/185.31.18.133 -
> 1423470429.815      0 192.168.X.X TAG_NONE/200 0 CONNECT
> avatars0.githubusercontent.com:443 - HIER_NONE/- -
> 1423470429.824      2 192.168.X.X TCP_SWAPFAIL_MISS_ABORTED/000 4258
> GET https://avatars0.githubusercontent.com/u/1245124? -

SWAPFAIL means there was an internal error in Squid fetching the stored
object out of disk cache. Thats okay, the cached object gets discarded
and Squid went to the network (MISS) instead.

Then the client ABORTED after receiving 4258 bytes and before the
transaction completed.


> HIER_DIRECT/185.31.18.133 -
> 1423470430.146    858 192.168.X.X TCP_SWAPFAIL_MISS/200 6451 GET
> https://avatars1.githubusercontent.com/u/42300? -
> HIER_DIRECT/185.31.19.133 image/png
> 1423470430.330    863 192.168.X.X TCP_MISS/200 7532 GET
> https://avatars0.githubusercontent.com/u/5205363? -
> HIER_DIRECT/185.31.18.133 image/png
> 1423470430.369    892 192.168.X.X TCP_MISS/200 2458 GET
> https://avatars1.githubusercontent.com/u/42300? -
> HIER_DIRECT/185.31.19.133 image/png
> 1423470430.833    244 192.168.X.X TCP_MISS/200 663 GET
> https://collector.githubapp.com/github/page_view? -
> HIER_DIRECT/54.86.253.42 image/gif
> 1423470432.407   1039 192.168.X.X TCP_MISS/400 1399 POST
> https://github.com/_stats - HIER_DIRECT/192.30.252.130 text/javascript
> 
> I tried to get the log also when the browser shows "cannot connect to
> proxy", but there isn't any.

Meaning the TCP handshake itelf is failing. Squid will log if some bytes
of the requet message was received.


> Moreover I noticed that sometimes the browser ask me to download
> "index.php" (or a page component) instead displaying it (if I cancel
> the download and reload the page, everything is displayed as
> intended).

I am seeing that last behaviour in Firefox and Chrome without any proxy
being used. They seem to be misinterpreting the content types for random
objects as "application/x-octet-stream" (binary downloads or encrypted
media streams).

Amos


More information about the squid-users mailing list