-
Notifications
You must be signed in to change notification settings - Fork 303
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
Error message along with update command shown when trying to register device or when language section is accessed #3197
Comments
I believe this problem is because the Central Server is down today. (hub.learningequality.org) But, surely we need to catch the error and display it in a cleaner way. |
Yeah, we'll need a more graceful way to handle this when the central server is down. Doesn't have to be a blocker for release though, so I've set this to 0.14, and then we can cherry-pick this for a 0.13 bugfix, if needed. |
I am facing this Issue now though I am able to reach learningequality.org . |
Yes I'm facing this error too....when i click the languages button i get the error and it says please register device..and when i try to register also i get the same error and a request to update |
I have the same error. Is the hub still down? Tried to ping it, no response. |
Same over here, on both Videos and Language tabs. |
Ok, critical. @jamalex |
@jamalex in 0.12.10 I keep getting the same error, even with "fresh" databases. Leads me to believe its a genuine error with the central server. |
The default central server instance that we're running uses a backend (MySQL) that wasn't well-tested during development. #3253 should fix this issue once the central server's submodule has been updated. |
Is there a workaround in between #3253 is shipped? I've a fresh install from today and I'm facing the same issue. |
I've tried to switch to develop, but then I've hit #3302, and after a workaround I'm back on this one. So is there any sort of stable branch/tarball/whatever I can use if I want to install on a Sunday, or given that it seems to affect the "central server" I'm shot? |
@yohanboniface Working on a fix to the central server now, in #3306 -- merging and launching shortly! |
Central server should now be fixed (testing a one-click registration and it worked for me) -- please confirm that it works for you now as well, and we can (re-)close this issue. Thanks! |
\o/ @jamalex it works, thanks a lot! :) (Off topic note: is there any active IRC chan? I didn't reach one.) |
Hi @yohanboniface -- we're active on HipChat: https://www.hipchat.com/gzQfGFgv1 |
The value of settings.CENTRAL_SERVER is False, which is throwing error |
In settings.py , we have |
We need settings.CENTRAL_SERVER_HOST there. But if DEBUG= True, then I get error: [Errno url error] unknown url type: 'adhoc.learningequality.org' |
Same error here ([Errno url error] unknown url type: 'adhoc.learningequality.org') when trying to register another server (on develop, but I will switch to master). Is KA-lite unittested somehow? |
OK, that was caused by my "DEBUG = True" local_settings.py file. Thanks @aronasorman for help! |
Branch :develop
Current Behavior: When signed in as super user and 'register your device' or the 'language' button (next to facilities and videos buttons in manage area) is clicked, an error outputing large html code is generated and also the faulty update command is asked to be run i.e python manage.py update.
On clicking the language button it asks you to register your device first but when register my device is clicked the same thing shows up.
Expected behavior : A nice clean error and no references to the faulty update command.
Steps to reproduce: Login as superuser
Click on the manage section on the top right corner
Next to the buttons facilities and videos, hit the button saying language.
The text was updated successfully, but these errors were encountered: