-
Notifications
You must be signed in to change notification settings - Fork 735
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
0.18 - 'Select device' modal - Disabled server address #12912
Comments
Just an additional detail: in my testing it was not even necessary to restart Kolibri server for the device to appear grayed out, it happens as soon as the user attempts a second import (new channel, or additional resources from the same one), it becomes inactive (unreachable), The only way out is to remove the device and add it again, mighty annoying... 😒 |
The device data that is coming from So, due to the not null constraint is the reason. Location of endpoints: So, I would like to know if this error persists in your testing for other urls too? |
Thanks for the thorough and helpful notes @Varun-Kolanu! It appears that this issue may be specifically affecting Studio (prod and hotfixes). I've run into this exact issue several times as I've had to import from Hotfixes and it seems that my assumption that it was specific to Hotfixes is confirmed by my testing. I added @pcenov does this match your experience? If so, I think that we can probably deprioritize this bug or possibly even migrate it to the Studio repo as it appears we're just not getting the data when we get the device info for a Studio instance. |
Hi @nucleogenesis - yes I confirm that the issue appears to be valid only for studio urls and not for other devices or urls: |
I think the best thing here is just to handle the operating_system being |
Observed behavior
If I have manually added a device in the 'Select device' modal, then when I restart the Kolibri server and attempt again to import resources from this device it is grayed out. If I remove it and add it again it can be accessed correctly until the next restart of the server:
disabled.mp4
The following request is returning a 500 error:
http://127.0.0.1:8080/api/discovery/networklocation/073da5ede5324d2285df0cbc1a7c71c8/update_connection_status/
Expected behavior
The device should not be disabled if it's available and can be accessed.
Steps to reproduce the issue
Usage Details
https://github.com/learningequality/kolibri/releases/tag/v0.18.0-alpha0
Ubuntu 22 - Chrome
The text was updated successfully, but these errors were encountered: