Announcement: New Knowledge Base

4 June 2020: We are pleased to announce the launch of a new Knowledge Base, Changelogs for Business Security Products, where you can find more details, such as bugfixes or new features, about the most recent releases of our business-related products.

PSB Portal Emea search

Greetings!

 

I was trying to filter out our companies computers by operating system name in search box.

I typed "Windows 8" and after a minute gateway timed out(504)
https://eu1.psb.fsapi.com/mp/v1/partners/370/computers?category=overview&order=asc&page=1&perPage=50&q=Windows+8&sort=deviceName

 

fsec_virhe.png

 

After that 504 Gateway timeout it throws access-control-allow-origin error aswell.

 

fsec_virhe2.png

 

I tried the same url with Postman, with same result, 504 gateway timeout.

 

Is there a bug or is it intended not to search by operating system somehow?

 

Sincerely,

Olli Elolähde

Receptum Oy

 

Best Answer

  • MikaArasolaMikaArasola Posts: 22
    Accepted Answer

    In case others read this chain here is some more info.

     

    There are cases where very broad search terms such as the operating system can create very slow and heavy processing on the backend. If the search takes longer then 60 seconds your user session is terminated and you get logged out (and it's unlikely the search will complete on next attempt). We managed to get the example case to work, but it's still slow. I have created a few bug reports based on this and expect search performance to improve in the future. 

Answers

  • Hi!

     

    It seems to be a performance issue where the service does not like it when the search produces too many results. Since the search was heavy on the backend it caused a timeout that also terminated your session.

     

    I managed to reproduce the same issue and we are investigating if we can fix it with a fairly small change. If it's ok for you I will contact you directly to test again in a few days time?

     

    Thanks,

    Mika

    UkkoLaksh
  • Sounds fair!

  • Hi!

     

    The latest release which is already out in Europe includes significant improvements to this, from my tests the searches that used to take up to 60 seconds now take a few milliseconds.

    etomcat
  • Thanks for the update Mika!

    The timings sounds a bit better now! Smiley Tongue

This discussion has been closed.