canonical / ubuntu.com

The official website for the Ubuntu operating system
https://ubuntu.com
Other
187 stars 190 forks source link

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

Open pnwAlex opened 1 week ago

pnwAlex commented 1 week ago

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

Grissess commented 5 days ago

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.

hagai-helman commented 4 days ago

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.

seva-luchianov commented 4 days ago

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