keyboardio / Chrysalis

Graphical configurator for Kaleidoscope-powered keyboards
https://github.com/keyboardio/Chrysalis#chrysalis
GNU General Public License v3.0
493 stars 65 forks source link

chrysalis.keyboard.io spinning forever #1324

Closed pheuberger closed 5 months ago

pheuberger commented 5 months ago

Describe the bug My Chrysalis software on the laptop didn't work for a while now so I thought I might have more luck with the web version, but that doesn't seem to work either. After selecting the device in the popup I now see the spinner with the text "Reading data from device..." and nothing happens. It's been minutes already.

Expected behavior I expect to be able to see my keyboard with its current layout and be able to make changes to it.

Desktop (please complete the following information):

obra commented 5 months ago

Hi,

I suspect that the issue you're running into is with corrupted data in your keyboard's storage, but I don't know for sure. Would it be possible to grab the log of the browser console after you attempt a connection? Alternatively, on desktop Chrysalis, grab a debugging bundle and attach it to this ticket. (Also, what keyboard are you using?)

On Wed, Feb 28, 2024 at 3:18 AM Philipp Heuberger @.***> wrote:

Describe the bug My Chrysalis software on the laptop didn't work for a while now so I thought I might have more luck with the web version, but that doesn't seem to work either. After selecting the device in the popup I now see the spinner with the text "Reading data from device..." and nothing happens. It's been minutes already.

Expected behavior I expect to be able to see my keyboard with its current layout and be able to make changes to it.

Desktop (please complete the following information):

  • OS: Fedora 39
  • Browser: Chrome Version 121.0.6167.160 (Official Build) (64-bit)
  • Chrysalis Version: web

— Reply to this email directly, view it on GitHub https://github.com/keyboardio/Chrysalis/issues/1324, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALC2AXJEFRTGBOSV3BLXDYV4G7TAVCNFSM6AAAAABD52I2ECVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE2TQNZSGIZTINQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

pheuberger commented 5 months ago

Ah, sorry, completely forgot to include the keyboard model haha. I have the Model 100. Here's all the output from the console:

[2024-03-01T13:42:26.604Z] [DEBUG] [a.navigate (https://chrysalis.keyboard.io/js/main.23d496b30b9c13ace8f2.bundle.js:205:666579)]: navigating to location Objectargs: ['/keyboard-select'][[Prototype]]: Objectconstructor: ƒ Object()hasOwnProperty: ƒ hasOwnProperty()isPrototypeOf: ƒ isPrototypeOf()propertyIsEnumerable: ƒ propertyIsEnumerable()toLocaleString: ƒ toLocaleString()toString: ƒ toString()valueOf: ƒ valueOf()__defineGetter__: ƒ __defineGetter__()__defineSetter__: ƒ __defineSetter__()__lookupGetter__: ƒ __lookupGetter__()__lookupSetter__: ƒ __lookupSetter__()__proto__: (...)get __proto__: ƒ __proto__()set __proto__: ƒ __proto__()
main.23d496b30b9c13ace8f2.bundle.js:205 [2024-03-01T13:42:26.660Z] [LOG] [En (https://chrysalis.keyboard.io/js/main.23d496b30b9c13ace8f2.bundle.js:205:1446921)]: [object Object]
main.23d496b30b9c13ace8f2.bundle.js:205 [2024-03-01T13:42:26.661Z] [LOG] [En (https://chrysalis.keyboard.io/js/main.23d496b30b9c13ace8f2.bundle.js:205:1446921)]: null
main.23d496b30b9c13ace8f2.bundle.js:205 [2024-03-01T13:42:26.690Z] [DEBUG] [a.navigate (https://chrysalis.keyboard.io/js/main.23d496b30b9c13ace8f2.bundle.js:205:666579)]: navigating to location Object
main.23d496b30b9c13ace8f2.bundle.js:205 [2024-03-01T13:42:26.725Z] [LOG] [En (https://chrysalis.keyboard.io/js/main.23d496b30b9c13ace8f2.bundle.js:205:1446921)]: [object Object]
main.23d496b30b9c13ace8f2.bundle.js:205 [2024-03-01T13:42:26.726Z] [LOG] [En (https://chrysalis.keyboard.io/js/main.23d496b30b9c13ace8f2.bundle.js:205:1446921)]: null
main.23d496b30b9c13ace8f2.bundle.js:205 [2024-03-01T13:42:30.446Z] [LOG] [u (https://chrysalis.keyboard.io/js/main.23d496b30b9c13ace8f2.bundle.js:205:882770)]: in connectToKeyboard
main.23d496b30b9c13ace8f2.bundle.js:205 [2024-03-01T13:42:30.451Z] [LOG] [En (https://chrysalis.keyboard.io/js/main.23d496b30b9c13ace8f2.bundle.js:205:1446921)]: [object Object]
main.23d496b30b9c13ace8f2.bundle.js:205 [2024-03-01T13:42:30.451Z] [LOG] [En (https://chrysalis.keyboard.io/js/main.23d496b30b9c13ace8f2.bundle.js:205:1446921)]: null
chrysalis.keyboard.io/:1 Chooser dialog is not displaying a port blocked by the Serial blocklist: bluetoothServiceClassId=00001800-0000-1000-8000-00805f9b34fb, name='MX Ergo'
chrysalis.keyboard.io/:1 Chooser dialog is not displaying a port blocked by the Serial blocklist: bluetoothServiceClassId=00001801-0000-1000-8000-00805f9b34fb, name='MX Ergo'
chrysalis.keyboard.io/:1 Chooser dialog is not displaying a port blocked by the Serial blocklist: bluetoothServiceClassId=0000180a-0000-1000-8000-00805f9b34fb, name='MX Ergo'
chrysalis.keyboard.io/:1 Chooser dialog is not displaying a port blocked by the Serial blocklist: bluetoothServiceClassId=0000180f-0000-1000-8000-00805f9b34fb, name='MX Ergo'
chrysalis.keyboard.io/:1 Chooser dialog is not displaying a port blocked by the Serial blocklist: bluetoothServiceClassId=00001812-0000-1000-8000-00805f9b34fb, name='MX Ergo'
chrysalis.keyboard.io/:1 Chooser dialog is not displaying a port blocked by the Serial blocklist: bluetoothServiceClassId=00001108-0000-1000-8000-00805f9b34fb, name='iBose45'
chrysalis.keyboard.io/:1 Chooser dialog is not displaying a port blocked by the Serial blocklist: bluetoothServiceClassId=0000110b-0000-1000-8000-00805f9b34fb, name='iBose45'
chrysalis.keyboard.io/:1 Chooser dialog is not displaying a port blocked by the Serial blocklist: bluetoothServiceClassId=0000110c-0000-1000-8000-00805f9b34fb, name='iBose45'
chrysalis.keyboard.io/:1 Chooser dialog is not displaying a port blocked by the Serial blocklist: bluetoothServiceClassId=0000110d-0000-1000-8000-00805f9b34fb, name='iBose45'
chrysalis.keyboard.io/:1 Chooser dialog is not displaying a port blocked by the Serial blocklist: bluetoothServiceClassId=0000110e-0000-1000-8000-00805f9b34fb, name='iBose45'
chrysalis.keyboard.io/:1 Chooser dialog is not displaying a port blocked by the Serial blocklist: bluetoothServiceClassId=0000111e-0000-1000-8000-00805f9b34fb, name='iBose45'
chrysalis.keyboard.io/:1 Chooser dialog is not displaying a port blocked by the Serial blocklist: bluetoothServiceClassId=0000112f-0000-1000-8000-00805f9b34fb, name='iBose45'
chrysalis.keyboard.io/:1 Chooser dialog is not displaying a port blocked by the Serial blocklist: bluetoothServiceClassId=00001200-0000-1000-8000-00805f9b34fb, name='iBose45'
chrysalis.keyboard.io/:1 Chooser dialog is not displaying a port blocked by the Serial blocklist: bluetoothServiceClassId=00001000-0000-1000-8000-00805f9b34fb, name='AirPods - Find My'
chrysalis.keyboard.io/:1 Chooser dialog is not displaying a port blocked by the Serial blocklist: bluetoothServiceClassId=0000110b-0000-1000-8000-00805f9b34fb, name='AirPods - Find My'
chrysalis.keyboard.io/:1 Chooser dialog is not displaying a port blocked by the Serial blocklist: bluetoothServiceClassId=0000110c-0000-1000-8000-00805f9b34fb, name='AirPods - Find My'
chrysalis.keyboard.io/:1 Chooser dialog is not displaying a port blocked by the Serial blocklist: bluetoothServiceClassId=0000110e-0000-1000-8000-00805f9b34fb, name='AirPods - Find My'
chrysalis.keyboard.io/:1 Chooser dialog is not displaying a port blocked by the Serial blocklist: bluetoothServiceClassId=0000111e-0000-1000-8000-00805f9b34fb, name='AirPods - Find My'
chrysalis.keyboard.io/:1 Chooser dialog is not displaying a port blocked by the Serial blocklist: bluetoothServiceClassId=00001200-0000-1000-8000-00805f9b34fb, name='AirPods - Find My'
main.23d496b30b9c13ace8f2.bundle.js:205 [2024-03-01T13:42:35.343Z] [LOG] [f (https://chrysalis.keyboard.io/js/main.23d496b30b9c13ace8f2.bundle.js:205:1101787)]: Found a keyboard Object
main.23d496b30b9c13ace8f2.bundle.js:205 [2024-03-01T13:42:35.345Z] [LOG] [u (https://chrysalis.keyboard.io/js/main.23d496b30b9c13ace8f2.bundle.js:205:882770)]: Calling props.onConnect with the focus object
main.23d496b30b9c13ace8f2.bundle.js:205 [2024-03-01T13:42:35.347Z] [LOG] [u (https://chrysalis.keyboard.io/js/main.23d496b30b9c13ace8f2.bundle.js:205:579046)]: about to nav to focus not detected   
main.23d496b30b9c13ace8f2.bundle.js:205 [2024-03-01T13:42:35.352Z] [LOG] [u (https://chrysalis.keyboard.io/js/main.23d496b30b9c13ace8f2.bundle.js:205:882770)]: Got a device
main.23d496b30b9c13ace8f2.bundle.js:205 [2024-03-01T13:42:35.367Z] [LOG] [En (https://chrysalis.keyboard.io/js/main.23d496b30b9c13ace8f2.bundle.js:205:1446921)]: [object Object]
main.23d496b30b9c13ace8f2.bundle.js:205 [2024-03-01T13:42:35.368Z] [LOG] [En (https://chrysalis.keyboard.io/js/main.23d496b30b9c13ace8f2.bundle.js:205:1446921)]: [object Object]
main.23d496b30b9c13ace8f2.bundle.js:205 [2024-03-01T13:42:35.602Z] [DEBUG] [e.<anonymous> (https://chrysalis.keyboard.io/js/main.23d496b30b9c13ace8f2.bundle.js:205:408135)]: Making a request help

main.23d496b30b9c13ace8f2.bundle.js:205 [2024-03-01T13:42:35.613Z] [DEBUG] [e.<anonymous> (https://chrysalis.keyboard.io/js/main.23d496b30b9c13ace8f2.bundle.js:205:408638)]: Returning response keymap.custom
keymap.default
keymap.onlyCustom
help
device.reset
plugins
settings.defaultLayer
settings.valid?
settings.version
settings.crc
eeprom.contents
eeprom.free
eeprom.erase
version
keymap.layerNames
led_mode.default
led.brightness
spacecadet.mode
spacecadet.timeout
oneshot.timeout
oneshot.hold_timeout
oneshot.double_tap_timeout
oneshot.stickable_keys
oneshot.auto_mods
oneshot.auto_layers
escape_oneshot.cancel_key
macros.map
macros.trigger
mousekeys.scroll_interval
mousekeys.init_speed
mousekeys.base_speed
mousekeys.accel_duration
mousekeys.warp_grid_size
palette
colormap.map
idleleds.time_limit

main.23d496b30b9c13ace8f2.bundle.js:205 [2024-03-01T13:42:35.614Z] [DEBUG] [e.value (https://chrysalis.keyboard.io/js/main.23d496b30b9c13ace8f2.bundle.js:205:406839)]: request Object
main.23d496b30b9c13ace8f2.bundle.js:205 [2024-03-01T13:42:35.865Z] [DEBUG] [e.<anonymous> (https://chrysalis.keyboard.io/js/main.23d496b30b9c13ace8f2.bundle.js:205:408135)]: Making a request plugins

main.23d496b30b9c13ace8f2.bundle.js:205 [2024-03-01T13:42:35.872Z] [DEBUG] [e.<anonymous> (https://chrysalis.keyboard.io/js/main.23d496b30b9c13ace8f2.bundle.js:205:408638)]: Returning response EEPROMKeymap
LayerNames
DefaultLEDModeConfig
LEDBrightnessConfig
Qukeys
SpaceCadet
OneShot
OneShotConfig
EscapeOneShot
Macros
DynamicMacros
MouseKeys
MagicCombo
GeminiPR
ColormapEffect
PersistentIdleLEDs

main.23d496b30b9c13ace8f2.bundle.js:205 [2024-03-01T13:42:35.872Z] [DEBUG] [e.value (https://chrysalis.keyboard.io/js/main.23d496b30b9c13ace8f2.bundle.js:205:406839)]: request Object
main.23d496b30b9c13ace8f2.bundle.js:205 [2024-03-01T13:42:36.124Z] [DEBUG] [e.<anonymous> (https://chrysalis.keyboard.io/js/main.23d496b30b9c13ace8f2.bundle.js:205:408135)]: Making a request version

main.23d496b30b9c13ace8f2.bundle.js:205 [2024-03-01T13:42:36.127Z] [DEBUG] [e.<anonymous> (https://chrysalis.keyboard.io/js/main.23d496b30b9c13ace8f2.bundle.js:205:408638)]: Returning response 0.91.1+74 
main.23d496b30b9c13ace8f2.bundle.js:205 [2024-03-01T13:42:36.127Z] [DEBUG] [a.navigate (https://chrysalis.keyboard.io/js/main.23d496b30b9c13ace8f2.bundle.js:205:666579)]: navigating to location Object
main.23d496b30b9c13ace8f2.bundle.js:205 [2024-03-01T13:42:36.173Z] [DEBUG] [e.value (https://chrysalis.keyboard.io/js/main.23d496b30b9c13ace8f2.bundle.js:205:406839)]: request Object
main.23d496b30b9c13ace8f2.bundle.js:205 [2024-03-01T13:42:36.424Z] [DEBUG] [e.<anonymous> (https://chrysalis.keyboard.io/js/main.23d496b30b9c13ace8f2.bundle.js:205:408135)]: Making a request keymap.default

main.23d496b30b9c13ace8f2.bundle.js:205 [2024-03-01T13:42:36.470Z] [DEBUG] [e.<anonymous> (https://chrysalis.keyboard.io/js/main.23d496b30b9c13ace8f2.bundle.js:205:408638)]: Returning response 65535 30 31 32 33 34 17152 224 228 24577 35 36 37 38 39 17409 53 20 26 8 21 23 43 42 44 40 28 24 12 18 19 46 75 4 22 7 9 10 41 227 226 230 11 13 14 15 51 52 78 29 27 6 25 5 17452 225 229 17452 17 16 54 55 56 45 65535 65535 65535 65535 65535 65535 65535 65535 65535 24576 65535 36 37 38 86 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 33 34 35 87 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 30 31 32 46 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 65535 39 55 85 84 40 65535 58 59 60 61 62 57 65535 65535 18614 63 64 65 66 67 68 43 65535 20481 65535 20546 20576 20521 76 40 18637 18613 2095 2096 47 48 69 74 20484 20482 20488 20545 20517 20522 65535 65535 101 80 81 82 79 65535 65535 77 70 73 65535 20548 20518 65535 65535 65535 65535 18658 18666 18665 65535 49 2097 
main.23d496b30b9c13ace8f2.bundle.js:205 [2024-03-01T13:42:36.471Z] [DEBUG] [e.value (https://chrysalis.keyboard.io/js/main.23d496b30b9c13ace8f2.bundle.js:205:406839)]: request Object
main.23d496b30b9c13ace8f2.bundle.js:205 [2024-03-01T13:42:36.721Z] [DEBUG] [e.<anonymous> (https://chrysalis.keyboard.io/js/main.23d496b30b9c13ace8f2.bundle.js:205:408135)]: Making a request keymap.custom
tomako commented 5 months ago

I'm in exactly the same boat but on Windows (Model100). Old binary version stopped working 6+ months ago and I jumped on the web version with full of optimism. As I see the log on the console is also the same.

obra commented 5 months ago

@pheuberger Ok. Given the firmware version you're running, I suspect that the issue is indeed data corruption, either in the stored copy of the keymaps or in the wire protocol.

If you're comfortable with a factory reset (and losing your custom keymaps), can you try holding in the 'prog' key while connecting your keyboard to the computer, so that the led turns red to indicate it's in bootloader mode, then connecting from https://chrysalis.keyboard.io and doing a Firmware Update with 'factory reset' selected?

pheuberger commented 5 months ago

I had to download Chrysalis to do the factory reset, because the web version didn't recognize the device in bootloader mode. See screenshot below. Anyways, it worked in the app, so thanks a lot! :pray:

image