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
After that 504 Gateway timeout it throws access-control-allow-origin error aswell.
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
Comments
-
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
-
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.
-