Operating System Linux online over a Digital Ocean server
Browser: Chrome, Firefox and Edge
Channel: Digital Literacy
Description of problem:
We are hosting an online instance of Kolibri at a cloud server (Digital Ocean) under the following URL: https://kolibri.ytfacademy.org
Four years ago we developed the “Digital Literacy” channel in the form of SCORM zip files. We created a curriculum at Kolibri Studio with a token that I can share privately if needed for the resolution of this case.
That has been working until recently when the content would not display when called.
We tried to delete and re-import the channel. The channel content structure shows up but when trying to open any of the SCORM set of slides, we get the error message reported in the attached image.
Then we tested other public content and that worked. So we think the issue might be with the content or the Studio link. Maybe the channel content has some issue related to the recent upgrades to Studio?
We also tried to create a new test channel with other SCORM files, but we got the same error message as attached.
So in this case, it’s loading from port 46451 which is bypassing the nginx reverse proxy handling the SSL connection, and therefore it fails to connect properly.
My recommendation would be to do the following:
Set a custom port in Kolibri’s options.ini for the ZIP_CONTENT_PORT– using the existing 46451 is just fine
Update your nginx configuration to listen on an additional port, by adding this line to the server block of your configuration:
listen 8443 ssl;
Add an nginx map expression, outside of your server block which maps the incoming port to the upstream port: