-
-
Notifications
You must be signed in to change notification settings - Fork 494
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
SSLEOFError when phone connects to wifi #1023
Comments
Hi @Sarius121, Would you mind taking a look and give your opinion if that might be related? For sure I will simply try to add your lines to see if that makes a difference ... I guess it would be interesting to understand why this exception is happening for 3 of my 5 devices (tried all to flash in the same setup). Thanks! |
Hi, I think our issue must be a differnent one - as much as I can say from our logs there is no other devices other than the phone ever connecting ... the exception we see in our log at the end seems to come from an interrupt ... Out of curiosity I tried your modification but it did not make any difference - just the exception not showing up in my log anymore ... My guess ... |
Hi @MacSass,
As far as I understand the program, this interrupt is just the consequence of the timeout and not directly related to an error so your problem is probably not related to an error in the smarthack-psk part of the program. |
Thanks @Sarius121 - yes I tend to agree with you - some other reason seems to prevent the device from re-connecting with IP 10.42.42.42, but I´m not clear yet on what could be causing this ... I keep searching ... |
general information:
flashed device: CASALUX Wifi LED RGB Light Strip (TYWE3S chip)
operating system: Raspberry Pi 3B+ with Raspberry Pi OS bullseye (headless) and its internal wifi chip
issue
I tried to flash the device when I got an timeout:
Timed out while waiting for the device to (re)connect
Searching for errors in the logs I found this error in the
smarthack-psk.log
:solution
This error was caused by my phone and not the device and shouldn't matter for the flashing process. The first error is catched but the second error (throwed because
e.reason
seems to beNone
) not so it prevents the flashing process from working properly for the next connected devices. So I tried just preventing this error by inserting the following after line 71 in thenew_client
-function in psk-frontend.py:Because the more detailed error message is not at all important for the flashing process, this change shouldn't effect it.
After this small change everything worked and I successfully flashed my device.
I hope this issue may help others who get the same error.
The text was updated successfully, but these errors were encountered: