forkineye / ESPixelStick

Firmware for the ESPixelStick
http://forkineye.com/
537 stars 171 forks source link

EspPixelstick UI goes unresponsive, You can connect once and that is it #643

Closed patdelaney closed 1 year ago

patdelaney commented 1 year ago

--------- Instructions -------- Please provide answers directly below each section. --------- Instructions ---------

ESPixelStick Firmware Version The last view builds. The one I just tested was the ci build from 7/24/2023

Hardware Version ESPPixelstick V3 or Artstick with SD card

Binary release or compiled yourself? CI build 7/24/2023

Operating System (and version)

Web Browser (and version) Chrome Version 114.0.5735.248 (Official Build) (64-bit)

Access Point

Describe the bug Ever since I got back from Christmas Expo 7/172023 I have been having issues navigating the pixelstick UI. You may be able to connect once, for a bit, then pixelstick spontaneously reboots. When it comes back the webui is unresponsive, but you can ping the stick. The sticks I was using were fine at expo. I suspect a chrome update. When I tested with a new laptop and tried to connect via chrome, it downloaded a file. I will attach to ticket.

On another one when I clicked on diagnostics, it downloaded a file and the stick is unresponsive image

it never appears to finish the download

Unconfirmed 158206.zip

MartinMueller2003 commented 1 year ago

thanks, that means the list is empty. how many files are on the sd card?

patdelaney commented 1 year ago

There are 4 files on the card. With the serial connected you can see when it boots up there are files on the card:

07:45:19: [FileMgr] SD Card Size: 14860MB 07:45:19: [FileMgr] > System Volume Information 07:45:19: [FileMgr] IndexerVolumeGuid - 76 07:45:19: [FileMgr] WPSettings.dat - 12 07:45:19: [FileMgr] FPP-Matrix_Demo.fseq - 108072 07:45:19: [FileMgr] pole_butterfly.fseq - 306072 07:45:19: [FileMgr] pole_random.fseq - 306072 07:45:19: [FileMgr] MyPlayList.pl - 998

I've got Skype active if you want t jump on there

cybercop23 commented 1 year ago

@MartinMueller2003 thank you for all you help. Loaded this new one on DigUno AE+ w/ card... and gui seems to respond much much much better than before. No more slow web sockets barbershop bar. Configured as DDP/5 outputs. Still okay.

@patdelaney can you please try to upload config from xlights? i have a diguno ae+ configured with esp 4x and 100 pixles/port/5ports... put 5 CCs each one one port...

2023-08-13 11:45:08,287 8554896896 log_base [DEBUG] RecalcStartChannels takes 230ms. 2023-08-13 11:45:08,287 8554896896 log_base [DEBUG] Connecting to websocket 192.168.3.123 /ws. 2023-08-13 11:45:08,292 8554896896 log_base [DEBUG] Connected. 2023-08-13 11:45:08,793 8554896896 log_base [ERROR] Failed to convert to web socket 404. 2023-08-13 11:45:08,794 8554896896 log_base [ERROR] Error connecting to ESPixelStick controller on 192.168.3.123.

MartinMueller2003 commented 1 year ago

xLights wont work. It needs to be updated. Uploaded a test version for Pat. You should see this:

------ GetListOfSdFiles:FileMgr.cpp:866: ResponseJsonDoc.size(): 4 ------ ------ operator():WebMgr.cpp:257: Files: {"files":[{"name":"TuneToSign.fseq","date":1640342670,"length":1579452},{"name":"01 The Steamroller [Fresh Aire 8].fseq","date":1668878924,"length":36598254},{"name":"02.TSO_ChristmasCannon.fseq","date":1668880394,"length":7557483},{"name":"03.God Rest Ye Merry Gentlement.fseq","date":1668877876,"length":6108423},{"name":"04.Good King Joy.fseq","date":1668878024,"length":6694759},{"name":"05.I Saw Three Ships.fseq","date":1668878112,"length":2961457},{"name":"07.Christmass Eve Sarajevo.fseq","date":1668875640,"length":7646333},{"name":"calibration.fseq","date":1633206034,"length":789756},{"name":"DDPTest.fseq","date":1677442196,"length":480116},{"name":"FrostyTheSnowman.fseq","date":1668875800,"length":6975077},{"name":"MonsterMash.fseq","date":1668878246,"length":7042198},{"name":"Nutrocker.fseq","date":1668878442,"length":9748882},{"name":"PeaceOnEarthLittleDrummerBoy.fseq","date":1668878618,"length":6238721},{"name":"PlayDates.fseq","date":1668886734,"length":2369156},{"name":"Santa Claus Is Comin to Town.fseq","date":1669557132,"length":11642199},{"name":"SyncTest.fseq","date":1634572524,"length":4738252},{"name":"Thriller.fseq","date":1668879666,"length":12337132},{"name":"TSO - What Is Christmas.fseq","date":1668879914,"length":6757943},{"name":"TSO - Wizards In Winter (Instrumental).fseq","date":1668880246,"length":7176469}],"SdCardPresent":true,"totalBytes":15923150848,"usedBytes":145442062} ------

MartinMueller2003 commented 1 year ago

upload == dist.zip

patdelaney commented 1 year ago

I reloaded the firmware, and I am testing on Artstick with SD card UI shows this [image: image.png]

But the Serial output see the data

[ FPPD] Listening on port 32320 17:20:01: ------ GetListOfSdFiles:FileMgr.cpp:866: ResponseJsonDoc.size(): 4 ------ 17:20:15: ------ operator():WebMgr.cpp:257: Files: {"files":[{"name":"FPP-Matrix_Demo.fseq","date":1689243096,"length":108072},{"name":"pole_butterfly.fseq","date":1613400328,"length":306072},{"name":"pole_random.fseq","date":1613400344,"length":306072},{"name":"MyPlayList.pl","date":1613400440,"length":998}],"SdCardPresent":true,"totalBytes":15581839360,"usedBytes":721214}

17:20:15: ------ GetListOfSdFiles:FileMgr.cpp:866: ResponseJsonDoc.size(): 4 ------ 17:20:34: ------ operator():WebMgr.cpp:257: Files: {"files":[{"name":"FPP-Matrix_Demo.fseq","date":1689243096,"length":108072},{"name":"pole_butterfly.fseq","date":1613400328,"length":306072},{"name":"pole_random.fseq","date":1613400344,"length":306072},{"name":"MyPlayList.pl","date":1613400440,"length":998}],"SdCardPresent":true,"totalBytes":15581839360,"usedBytes":721214}

17:20:34:

On Sun, Aug 13, 2023 at 12:03 PM Martin Mueller @.***> wrote:

upload == dist.zip

— Reply to this email directly, view it on GitHub https://github.com/forkineye/ESPixelStick/issues/643#issuecomment-1676413688, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6FEA22EV5SJDFPIRE5UIDXVECHNANCNFSM6AAAAAA2XZYW44 . You are receiving this because you were mentioned.Message ID: @.***>

MartinMueller2003 commented 1 year ago

Some time this week we need to get on a call where I can look at the network payload and set a breakpoint on processing the data, That output indicates the esp has put the proper data into the http response and the issue is in the client processing.

bloojoop commented 1 year ago

@MartinMueller2003 , I just got back and got a chance to test with the release archive from https://github.com/forkineye/ESPixelStick/actions/runs/5943922254.. This version seems very stable at this point. I also configured it in the newly release xlights 2023.13 and was able to upload outputs, and also upload sequence to the sd card via fpp connect.... I just wanted to report that this version seems to be golden from my quick test... Thank you again very much for your attention on this and knocking it out of the park :)

MartinMueller2003 commented 1 year ago

You are very welcome.