Skip to content

Import from other channels - Constantly getting "Failed to load search results" #3186

Closed

Description

@pcenov

Observed behavior

I'm constantly getting a "Failed to load search results" regardless of the search term that I've entered. There's a 524 error in the console followed by other timeout errors.

Expected behavior

Fully operational Search functionality.

Steps to reproduce the issue

  1. Go to https://hotfixes.studio.learningequality.org/en/accounts/#/ and sign in.
  2. Click on a channel to open the channel editor.
  3. Click Add and select Import from channels.
  4. Enter a search term like 'math' and click the Search button.

Additional information

2021-06-02_18-26-59

Errors and logs

Failed to load resource: the server responded with a status of 524 ()

Usage Details

Activity

  1. radinamatic commented on Jun 2, 2021

    @radinamatic
    Member

    Experiencing the same issue consistently, search for resources to import into channels does not work.

    Importar de otros canales - PTBR-test - Kolibri Studio - Google Chrome_035

    Note that searching the Content Library directly works without issues.

  2. pcenov commented on Aug 11, 2021

    @pcenov
    MemberAuthor

    Retested today and this issue is still happening at both hotfixes and https://studio.learningequality.org

    https://learningequality.testquality.com defect D7.

  3. bjester commented on Mar 1, 2022

    @bjester
    Member

    @vkWeb @d0sadata Another search related issue that's more actionable is #3181

  4. bjester commented on Mar 1, 2022

    @bjester
    Member

    Note the request is timing out due to the amount of data and our database performance in production and staging (hotfixes), so this isn't a "bug" per se but a need for optimization.

  5. vkWeb commented on Mar 11, 2022

    @vkWeb
    Contributor

    @bjester how do you suggest we should go about optimizing this?

  6. bjester commented on Mar 11, 2022

    @bjester
    Member

    @vkWeb Please take a look at implementing #3181 first. I'm offline next week but we can collaborate on this afterwards.

  7. rtibbles commented on Mar 11, 2022

    @rtibbles
    Member

    One initial suggestion I had given for this was to create a separate search endpoint purely for the public channels - this might help reduce the query complexity by removing some of the permissions checking logic from these searches. However, I have not validated whether removing those aspects of the queries would resolve this issue.

  8. vkWeb commented on Mar 13, 2022

    @vkWeb
    Contributor

    @bjester okay, we'll look into this when you return.

    @rtibbles we'll definitely try that as well to see if perf improves.

  9. assigned and unassigned on Apr 29, 2022
  10. ozer550 commented on Apr 29, 2022

    @ozer550
    Contributor

    I would like to help @vkWeb on this.

  11. vkWeb commented on Apr 29, 2022

    @vkWeb
    Contributor

    I had a talk with @d0sadata about this, he's fine with me and @ozer550 handling this.

  12. ozer550 commented on May 6, 2022

    @ozer550
    Contributor

    I and @vkWeb tried to look into this but got lost on our way looking into SearchContentNodeViewSet. Can you provide some pointers on how should we proceed? @bjester @rtibbles

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions