GithubHelp home page GithubHelp logo

Gateway timeout associating bug about faf HOT 5 CLOSED

opoplawski avatar opoplawski commented on August 18, 2024 1
Gateway timeout associating bug

from faf.

Comments (5)

mgrabovsky avatar mgrabovsky commented on August 18, 2024

This is caused by the recent change in RH Bugzilla authentication. Here is a backtrace from retrace.fp.o:

DEBUG:bugzilla._backendxmlrpc: XMLRPC call: Bug.get({'extra_fields': ['comments', 'description', 'external_bugs', 'flags', 'sub_components', 'tags'], 'ids': [2031227]})
DEBUG:urllib3.connectionpool: https://bugzilla.redhat.com:443 "POST /xmlrpc.cgi HTTP/1.1" 200 374
Exception occurred, retrying in 90 seconds 3/3
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/pyfaf/bugtrackers/bugzilla.py", line 125, in download_bug_to_storage_no_retry
    bug = self.bz.getbug(bug_id)
  File "/usr/lib/python3.6/site-packages/bugzilla/base.py", line 1131, in getbug
    extra_fields=extra_fields)
  [...]
  File "/usr/lib64/python3.6/xmlrpc/client.py", line 656, in close
    raise Fault(**self._stack[0])
xmlrpc.client.Fault: <Fault Client: "Application failed during request deserialization: 32000: The method 'Bug.get' is not supported without using API keys and the the authentication header. See https://bugzilla.redhat.com/docs/en/html/api/core/v1/general.html#authentication for details on using the 'Authorization' header. at /usr/share/perl5/vendor_perl/SOAP/Lite.pm line 2855.\\n">

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/pyfaf/utils/decorators.py", line 50, in f_retry
    return func(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/pyfaf/bugtrackers/bugzilla.py", line 135, in download_bug_to_storage
    return self.download_bug_to_storage_no_retry(db, bug_id)
  File "/usr/lib/python3.6/site-packages/pyfaf/bugtrackers/bugzilla.py", line 127, in download_bug_to_storage_no_retry
    if int(ex.faultCode) == 102:
ValueError: invalid literal for int() with base 10: 'Client'

That is, we need to update our Bugzilla module to use the proper authentication method.

On a related note, "retrying in 90 seconds" doesn't sound so appealing. Perhaps shorten the back-off as well?

from faf.

mgrabovsky avatar mgrabovsky commented on August 18, 2024

Related note: We might not need write permissions, so the authentication might not be required – the Get Bug method can be used without authn. However, authentication is required to read non-public bugs.

from faf.

mgrabovsky avatar mgrabovsky commented on August 18, 2024

Related PR: #1016

from faf.

msrb avatar msrb commented on August 18, 2024

Note this issue was reported long before Bugzilla changes the auth method, but symptoms do look the same.

from faf.

mgrabovsky avatar mgrabovsky commented on August 18, 2024

This should be fixed now. I was able to associate the report successfully.

from faf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.