Intermittent 403 Issues

Bug #1320587 reported by rhpot1991
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
squid-deb-proxy (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I get intermittent 403 errors using squid-deb-proxy. If I keep retrying eventually it will work, so this isn't a configuration issue. I have looked into the squid logs and haven't found anything that stuck out as an issue. I see these occurring on both Ubuntu URLs and 3rd party URLs like Google.

$ dpkg -l |grep squid-deb-proxy
ii squid-deb-proxy 0.8.6 all Squid proxy configuration to optimize package downloads
ii squid-deb-proxy-client 0.8.6 all automatic proxy discovery for APT based on Avahi

Fetched 712 B in 2s (261 B/s)
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/maverick/partner/source/Sources 403 Forbidden

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty/main/source/Sources 403 Forbidden

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty/restricted/source/Sources 403 Forbidden

From /var/log/squid-deb-proxy/access.log
1400385708.938 94 10.0.0.100 TCP_MISS/404 660 GET http://extras.ubuntu.com/ubuntu/dists/trusty/main/i18n/Translation-en_US - HIER_DIRECT/91.189.92.152 text/html
1400385708.942 94 10.0.0.100 TCP_MISS/404 675 GET http://ppa.launchpad.net/mythbuntu/0.27/ubuntu/dists/trusty/main/i18n/Translation-en_US - HIER_DIRECT/91.189.95.83 text/html
1400385709.035 97 10.0.0.100 TCP_MISS/404 657 GET http://extras.ubuntu.com/ubuntu/dists/trusty/main/i18n/Translation-en - HIER_DIRECT/91.189.92.152 text/html
1400385709.038 96 10.0.0.100 TCP_MISS/404 672 GET http://ppa.launchpad.net/mythbuntu/0.27/ubuntu/dists/trusty/main/i18n/Translation-en - HIER_DIRECT/91.189.95.83 text/html

Notice the "i18n" in the url. I'm thinking this is the issue.

Related branches

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in squid-deb-proxy (Ubuntu):
status: New → Confirmed
Revision history for this message
Chris Glass (tribaal) wrote :

The linked branch should help with the problem, at the cost of an extra round-trip to the upstream archive.

Revision history for this message
rhpot1991 (rhpot1991) wrote :

Thanks, is there a PPA somewhere I could use to test or should I build on my own?

Revision history for this message
rhpot1991 (rhpot1991) wrote :

The linked branch seems to have resolved the issue.

Changed in squid-deb-proxy (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Rolf Leggewie (r0lf) wrote :

Is this a patch that landed?

Revision history for this message
Rolf Leggewie (r0lf) wrote :

Is this a dupe of bug 545830?

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Maybe, but the patch was different. In any case, this (and the other bug too) are fix released, I just checked and both patches are in a released package.

Changed in squid-deb-proxy (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.