Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to access a lesson with 200 resources with kolibri-server #76

Open
lyw07 opened this issue Jun 16, 2020 · 2 comments
Open

unable to access a lesson with 200 resources with kolibri-server #76

lyw07 opened this issue Jun 16, 2020 · 2 comments

Comments

@lyw07
Copy link

lyw07 commented Jun 16, 2020

Observed behavior

This is an issue reported on community forum:
https://community.learningequality.org/t/got-the-following-error-in-kolibri-today/1570

The user is getting error 414 (request uri too large) when accessing a lesson with more than 200 resources

Expected behavior

Users should be able to access lessons without errors, or restricted with creating a lesson with 200 resources

User-facing consequences

Users unable to access the lesson with 200 resources and also unable to delete it afterwards

Errors and logs

please see the details in the community forum post

Steps to reproduce

  1. install kolibri-server
  2. send a request to the url in the error message posted on the forum

Context

Version: 0.13.3
OS: Linux-4.19.69-v7±armv7l-with-debian-9.11
Python: 3.5.3
Installer: kolibri(apt) with kolibri-server Version: 0.3.8~beta2-0ubuntu1
Server: nginx/1.10.3
Database: /home/pi/.kolibri/db.sqlite3
Device name: raspberrypi

@lyw07 lyw07 changed the title Get request uri too large when accessing a lesson with 200 resources unable to access a lesson with 200 resources Jun 17, 2020
@lyw07
Copy link
Author

lyw07 commented Jun 17, 2020

Since the user uses Nginx, we suggested the user to change large_client_header_buffers to 9k in the Nginx config.
However, after changing the Nginx config, the 414 error (request uri too large) was gone but the lesson was still inaccessible with error 502 bad gateway

@lyw07 lyw07 changed the title unable to access a lesson with 200 resources unable to access a lesson with 200 resources with kolibri-server Jun 17, 2020
@lyw07 lyw07 changed the title unable to access a lesson with 200 resources with kolibri-server unable to access a lesson with 200 resources with kolibri-server Jun 17, 2020
@lyw07
Copy link
Author

lyw07 commented Jun 17, 2020

this only happens in kolibri-server. Kolibri 0.13.3 alone doesn't have this issue

@indirectlylit indirectlylit transferred this issue from learningequality/kolibri Jun 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant