I have been unsuccessful downloading any videos in KA Lite. I’m running the KA Lite server on Windows Server 2012 standard. The application of KA Lite is in a prison environment and the computer I’m using to download the videos to is called the Update Server and it will only be used to download the videos online and transport them into the prison where they will be copied over to another server that will serve KA Lite to student workstations.
When I try to download videos, the progress display shows downloading is occurring but after its complete, there are no videos on the hard drive and when I click on a video link in the download window, an error message like “Download error: Forbidden 403” is displayed. Any ideas on what is wrong? Thanks, Neil
Thanks for reaching out! Sounds like a really good project!!
I can’t say that our services are down – they’re working for me.
One possible cause would be if you are somehow not downloading from the content server. For instance, if some network device is stopping you. Try investigating if you can access video contents directly?
Thanks for the response. I copied your link into the browser and the video did play. I am on a school district network that does restrict some downloads - is it possible that such a restriction would not show up immediately on starting a download but cause a failure at the end of the download? The browser URL on the download window is http://127.0.0.1:8008/update/videos/.
I wonder if the school district is using a proxy that is looking for a standard user agent string in the request. I just tested from a pi install and see that there is no user agent passed when the backend kalite process downloads the videos. A 403 would be a standard response from a squid proxy.
Looked at the code: We use requests.get in order to download and we explicitly set the user-agent since 0.16.6 at least:
It’s quite strange that you can sniff out an HTTP request where the header is removed, is it an older version of KA Lite or could there be other things at play?
I’m not sure of the KA Lite version number but it was downloaded within the last two weeks; however I am finally having some success downloading the videos.
I contacted the school district administrator and she gave me a browser login that was not filtered and so far, the videos are downloading as they should.
@benjamin - I didn’t have a problem download, I was just trying to help troubleshoot for gallag99. On my pi install the version.py was still the old one that didn’t have the return statement
I may try a pi re-install today to just to confirm the latest pi installer works as expected.