← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 1999584] Re: requests.cgi returns 403 even when logged in

 

Looking at the logs we can see one server returning 200 and another 403:

Dec 13 01:43:58 juju-4d1272-prod-proposed-migration-6 haproxy[2652469]: ::ffff:10.172.68.114:34032 [13/Dec/2022:01:43:56.615] haproxy-0-443
~ https_service/apache2-3-80 0/0/1/1832/1833 200 486 - - --NI 13/13/12/5/0 0/0 "HEAD /request.cgi?release=lunar&arch=s390x&package=golang-g
ithub-containernetworking-plugins&trigger=iproute2%2F6.0.0-1ubuntu1 HTTP/1.1"
Dec 13 07:08:13 juju-4d1272-prod-proposed-migration-6 haproxy[2652469]: ::ffff:10.172.64.74:57718 [13/Dec/2022:07:08:12.792] haproxy-0-443~
 https_service/apache2-2-80 0/0/0/717/717 403 492 - - --DI 16/16/6/0/0 0/0 "HEAD /request.cgi?release=lunar&arch=arm64&package=golang-githu
b-containernetworking-plugins&trigger=iproute2%2F6.0.0-1ubuntu1 HTTP/1.1"
Dec 13 07:08:15 juju-4d1272-prod-proposed-migration-6 haproxy[2652469]: ::ffff:10.172.64.74:57720 [13/Dec/2022:07:08:12.855] haproxy-0-443~
 https_service/apache2-3-80 0/0/0/2345/2345 200 486 - - --DI 13/13/5/2/0 0/0 "HEAD /request.cgi?release=lunar&arch=s390x&package=golang-git
hub-containernetworking-plugins&trigger=iproute2%2F6.0.0-1ubuntu1 HTTP/1.1"
Dec 13 15:12:16 juju-4d1272-prod-proposed-migration-6 haproxy[2652469]: ::ffff:10.172.68.114:43946 [13/Dec/2022:15:12:10.426] haproxy-0-443
~ https_service/apache2-3-80 0/0/0/5642/5642 200 486 - - --NI 6/6/3/2/0 0/0 "HEAD /request.cgi?release=lunar&arch=s390x&package=golang-gith
ub-containernetworking-plugins&trigger=iproute2%2F6.0.0-1ubuntu1 HTTP/1.1"
Dec 13 18:59:18 juju-4d1272-prod-proposed-migration-6 haproxy[2652469]: ::ffff:10.172.68.114:56734 [13/Dec/2022:18:59:15.392] haproxy-0-443
~ https_service/apache2-2-80 1/0/83/3047/3131 403 493 - - --NI 11/11/6/4/0 0/0 "HEAD /request.cgi?release=lunar&arch=s390x&package=golang-g
ithub-containernetworking-plugins&trigger=iproute2%2F6.0.0-1ubuntu1 HTTP/1.1"
Dec 13 20:22:13 juju-4d1272-prod-proposed-migration-6 haproxy[2652469]: ::ffff:10.172.68.114:47604 [13/Dec/2022:20:22:12.383] haproxy-0-443
~ https_service/apache2-2-80 1/0/0/1593/1594 403 493 - - --NI 12/12/5/2/0 0/0 "HEAD /request.cgi?release=lunar&arch=s390x&package=golang-gi
thub-containernetworking-plugins&trigger=iproute2%2F6.0.0-1ubuntu1 HTTP/1.1"
Dec 13 20:26:37 juju-4d1272-prod-proposed-migration-6 haproxy[2652469]: ::ffff:10.172.68.114:48492 [13/Dec/2022:20:26:36.402] haproxy-0-443
~ https_service/apache2-3-80 0/0/0/1390/1390 200 915 - - --VN 5/5/1/1/0 0/0 "GET /request.cgi?release=lunar&arch=s390x&package=golang-githu
b-containernetworking-plugins&trigger=iproute2%2F6.0.0-1ubuntu1 HTTP/1.1"

-- 
You received this bug notification because you are a member of
Canonical's Ubuntu QA, which is subscribed to Auto Package Testing.
https://bugs.launchpad.net/bugs/1999584

Title:
  requests.cgi returns 403 even when logged in

Status in Auto Package Testing:
  Confirmed

Bug description:
  I've recently modified the way I use retry-autopkgtest-regressions and
  now pass it to curl and print the url the and http_code of the
  request. I've been quite surprised by the number of 403s I'm getting
  even though I'm logged in and my cookie is still valid. Here's an
  example from 2022-12-13:

   $ ./retry-autopkgtest-regressions --log-regex "ERROR: testbed failure: cannot send to testbed" | vipe | xargs -rn1 -P10 curl --cookie ~/.c
  ache/autopkgtest.cookie -o /dev/null --silent --head --write-out '%{url_effective}: %{http_code}\n'
  https://autopkgtest.ubuntu.com/request.cgi?release=lunar&arch=arm64&package=node-imagemagick&trigger=graphicsmagick%2F1.4%2Breally1.3.38%2Bhg16870-1: 200
  https://autopkgtest.ubuntu.com/request.cgi?release=lunar&arch=arm64&package=netplan.io&trigger=iproute2%2F6.0.0-1ubuntu1: 200
  https://autopkgtest.ubuntu.com/request.cgi?release=lunar&arch=arm64&package=courier&trigger=exim4%2F4.96-9ubuntu1: 200
  https://autopkgtest.ubuntu.com/request.cgi?release=lunar&arch=s390x&package=ruby-mini-magick&trigger=graphicsmagick%2F1.4%2Breally1.3.38%2Bhg16870-1: 200
  https://autopkgtest.ubuntu.com/request.cgi?release=lunar&arch=s390x&package=golang-github-containernetworking-plugins&trigger=iproute2%2F6.0.0-1ubuntu1: 403
  https://autopkgtest.ubuntu.com/request.cgi?release=lunar&arch=s390x&package=ruby-mojo-magick&trigger=graphicsmagick%2F1.4%2Breally1.3.38%2Bhg16870-1: 200
  https://autopkgtest.ubuntu.com/request.cgi?release=lunar&arch=arm64&package=osk-sdl&trigger=graphicsmagick%2F1.4%2Breally1.3.38%2Bhg16870-1: 403
  https://autopkgtest.ubuntu.com/request.cgi?release=lunar&arch=s390x&package=auto-multiple-choice&trigger=graphicsmagick%2F1.4%2Breally1.3.38%2Bhg16870-1: 403
  https://autopkgtest.ubuntu.com/request.cgi?release=lunar&arch=s390x&package=sqldeveloper-package&trigger=graphicsmagick%2F1.4%2Breally1.3.38%2Bhg16870-1: 403
  https://autopkgtest.ubuntu.com/request.cgi?release=lunar&arch=arm64&package=nat-rtsp&trigger=linux-meta-raspi%2F5.19.0.1006.7: 200
  https://autopkgtest.ubuntu.com/request.cgi?release=lunar&arch=s390x&package=recoverjpeg&trigger=graphicsmagick%2F1.4%2Breally1.3.38%2Bhg16870-1: 403

  This bears further investigation as we shouldn't be dropping any test
  requests.

To manage notifications about this bug go to:
https://bugs.launchpad.net/auto-package-testing/+bug/1999584/+subscriptions



References