Autodrop3d / serialTerminal.com

A browser based serial terminal. No plugins. Vanilla javascript.
https://www.serialterminal.com
ISC License
202 stars 47 forks source link

Not working. Better error messages? #10

Closed janbbeck closed 3 years ago

janbbeck commented 3 years ago

So, I did try this on ubuntu 20.04 a couple of months back, and it worked. I have since updated to 21.04 and I cannot get this to work at all any more. I am not sure if it's related to the upgrade or something else changed.

The symptoms are that the dialog pops up and seems to succeed, but no data shows up. Opening up the data stream with the Arduino environment or with the screen command line utility works. The console in the developer options in chromium shows an error message: "Uncaught (in promise) DOMException: The device has been lost. (index):125"

I am not sure what is wrong. Is there any way to get serialterminal to detect this error and give a clear error message?

janbbeck commented 3 years ago

I guess I should add that I am using chrome Version 91.0.4472.77 (Official Build) (64-bit) on the ubuntu machine

janbbeck commented 3 years ago

Additional info: replacing chrome with version 85.0.4183.121-1 causes a different error. replacing chrome with version 88.0.4324.96-1 lets serialterminal work. replacing chrome with version 89.0.4389.128-1 lets serialterminal work. replacing chrome with version 90.0.4430.93-1 lets serialterminal work. replacing chrome with version 90.0.4430.212-1 lets serialterminal work. replacing chrome with version 91.0.4472.77-1 lets serialterminal work.

Not sure what to say about this. Literally just did a set of:

$ VERSION_STRING="91.0.4472.77-1"
$ wget "https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome- stable_${VERSION_STRING}_amd64.deb"
$ sudo dpkg -i "google-chrome-stable_${VERSION_STRING}_amd64.deb"

changing the version strings....