-
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
Device registration: User message in case of connection failure #5348
Comments
Just experienced exactly the same on FF, Ubuntu 0.16.9 installation. @radinamatic are you able to reproduce this for 0.16.9 in all cases? It might be a server-side issue.. |
Also, try running the server with |
Works on Ubuntu too, fresh 0.16.9 install: Seems it's most likely the temporary problem with our server, so I suggest changing this line into:
|
@radinamatic okay the string freeze is up, but I think you are hinting at two issues:
I'm altering the issue to be about the latter, if you have more information to provide on the first subject, please open a new issue. |
Changed description. |
@benjaoming User message change is generic enough in order to cover multiple connection issues. If the string freeze is up, does that mean it will not make it for the 0.17? |
@radinamatic - that would have been the standard policy, however I don't see a problem adding an error message in this case and it gets released untranslated, it's an error message after all. |
I have Wiresharked myself during this error message. No network activity at all during the error message. |
Maybe relevant: learningequality/ka-lite-content-packs#58 (comment) |
Connection failures seem to be reproducing across the spectre. Downloading |
I'll try this: https://github.com/ottoyiu/django-cors-headers/ |
Adding dataType to So this options object becomes:
|
Hmm, I tried to update django-cors-headers to work with Django 1.5.. which was a rabbit hole. Trying @rtibbles 's suggestion to change to |
@rtibbles oh yes, I tried that yesterday, we need to list out the json fields, too, but seems plausible. Will PR soon.. |
Changed to |
Thanks Chromium, this error message helps a lot :)
|
Some gateway in front of the Pantry server seems to be giving a 405 when the browser tries to retrieve CORS policies:
Can someone please tell me why we even have a gateway in front of Pantry and if we can lower the complexity level a bit here? :) |
Pinging @aronasorman 🆘 |
Okay, we got through the diversion - actually the problem was a misconfiguration of pantry.learningequality.org and that's been fixed. We can concentrate on the original issue about the user message. |
Has anyone filed a PR on updating the user message in case the internet is unavailable or gets disconnected? |
@mrpau-eugene no, this issue is still unsolved and relevant, PR is welcome! |
Suggested change
Old:
New:
...in
python-packages/securesync/templates/securesync/register_public_key_client.html
Summary
KA Lite seems unable to connect to register the device in order to download the videos & languages. Refreshing the page has no effect, and the machine is correctly connected to Internet (see the loaded elpais.com in the other window).Isstaging.learningequality.org
where the device register happens? It seems to be running OK, so the culprit might be other.Screenshots
The text was updated successfully, but these errors were encountered: