ubuntu.com icon indicating copy to clipboard operation
ubuntu.com copied to clipboard

Error 500 when searching for any keyword on ubuntu.com/security/notices

Open pnwAlex opened this issue 1 year ago • 3 comments

Summary

Error 500 when searching for a keyword on https://ubuntu.com/security/notices

Steps to reproduce the behavior

  1. Go to https://ubuntu.com/security/notices
  2. In the "Details contain" field, type anything, such as "gcc" or "Apache"
  3. Click the "Search" button
  4. Get an error message: 500: Server error Something's gone wrong. The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application. Try reloading the page. If the error persists, please note that it may be a known issue. If not, please file a new issue.

Expected behavior

It should find any security notices containing the keyword you searched for.

Screenshot

image

Browser/device details

  • Device: Windows PC and MacBook
  • OS: Windows 10 and macOS 14.5
  • Browser [e.g. stock browser, safari]: Firefox 115.12.0esr and Google Chrome v126 on macOS and Windows 10
  • Version [e.g. 22]: Firefox 115.12.0esr, Chrome 126

pnwAlex avatar Jul 05 '24 20:07 pnwAlex

Replicated the issue on a local MacBook, Firefox 127.0.2 on 64-bit M1 (though I imagine this is serverside :)

This occurs during a search for any non-empty string.

Grissess avatar Jul 09 '24 16:07 Grissess

Same for me (Firefox 127.0.2 (64-bit) on Ubuntu 24.04).

Also happens when the search string (details) is empty, for most combinations of release and offset (i.e. page number). Interestingly enough, not for all combinations. For example, order=newest&release=mantic&details=&offset=10 works fine.

hagai-helman avatar Jul 10 '24 10:07 hagai-helman

Potentially related to https://github.com/canonical/ubuntu.com/issues/14018, I assume the entire API is borked in the backend with relation to query strings

seva-luchianov avatar Jul 10 '24 20:07 seva-luchianov

Hi all, thanks for reporting. This has been fixed now, but please feel free to reopen the issue if you run into this problem again.

mtruj013 avatar Jan 22 '25 09:01 mtruj013