Pixelcontroller / f16v4_issues

F16V4 and F48V4 Issue Tracker
14 stars 0 forks source link

F48v4 Build 13 JSON Error / Unable to save anything over wifi #16

Closed nmiller0113 closed 2 years ago

nmiller0113 commented 2 years ago

I initially had an issue upgrading to build 13 over wireless. I followed @keithsw1111 instructions and upgraded via the SD card. Following the upgrade, I then started getting the following error every time I saved something "Error in response: 502 Unable to parse JSON.". I tried rebooting, different browsers with cleared cache, different computers...they all had the same behavior, and these were all experienced managing over wifi. I performed a factory reset to see if that would correct it. After the factory reset, I had to hard wire connect to re-program the wifi and start to manage it over wifi again. That all worked fine and the settings saved...I thought we should be good. I then went back to wifi management and couldn't save anything again...including network settings which I had just modified without an issue. I started thinking that this issue was relative to wireless-only and connected hardwire from my laptop to test my theory. Sure enough, I can save over hard wire just fine but cannot save anything when managing over wireless.

I know @keithsw1111 said that build 13 had wireless fixes...but it seems like a bug was created in the process which doesn't allow you to save over wireless. I can navigate all the pages over wifi with no problem.

keithsw1111 commented 2 years ago

Do me a favour Nathan … when you access the web page can you press ctrl-shift-R … this will purge the browser cache for the controller web site and force download the files again. I strongly suspect your browser is holding onto old pages. This is a common problem after firmware is updated.

nmiller0113 commented 2 years ago

I’ll give it a shot @keithsw1111, but I tried this on three different computers and browsers. One computer I’m pretty sure I had never even accessed the controller from previously. Will test it shortly :) Thanks!

nmiller0113 commented 2 years ago

@keithsw1111, as I suspected...that didn't work, unfortunately. I also tried completely clearing browser history and cache. I even tried another computer, a laptop, which had never accessed it before as it's my kids school computer, and it also gave the same JSON error. For fun I tried to access it and make changes from my phone...and that WORKS!

The only device I can make changes from over wireless is my iPhone...but I've got no idea why that's the only thing that works over wireless to make these changes.

brad3d commented 2 years ago

This is the same error and problem I saw. Same thing with it working on the phone too. I gave up and went hard line.

On Tue, Nov 23, 2021 at 7:53 AM Nathan MIller @.***> wrote:

@keithsw1111 https://github.com/keithsw1111, as I suspected...that didn't work, unfortunately. I also tried completely clearing browser history and cache. I even tried another computer, a laptop, which had never accessed it before as it's my kids school computer, and it also gave the same JSON error. For fun I tried to access it and make changes from my phone...and that WORKS!

The only device I can make changes from over wireless is my iPhone...but I've got no idea why that's the only thing that works over wireless to make these changes.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dpitts/f16v4_issues/issues/16#issuecomment-976755565, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKR5RDPWNQDMDB4PN7UI6DUNO2HFANCNFSM5IRWFHTA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

-- Brad Herman Mobile, Immersive, and Interactive Technology in Storytelling VR, AR, MxR, Apps, LBE, and more. http://www.bradherman.com

nmiller0113 commented 2 years ago

Good to know I'm not the only one :) Unfortunately though, I really, really, don't want to go hard wired on this as the wireless works great for management and I'd rather not have to run a cable around my house. Hopefully @keithsw1111 will be able to find an answer. I don't think I've stated these details but I've tested this on Firefox and Chrome on both Mac and Windows....but only Chrome on my iPhone.

brad3d commented 2 years ago

I was in the same boat, I went wired to a FPP and that joins my home network by wireless. The wireless and proxy from FPP work wired to the F48. That’s been stable and fast for this week.

all the benefits of wireless, just one extra device and wire to make it happen.

On Tue, Nov 23, 2021 at 8:37 AM Nathan MIller @.***> wrote:

Good to know I'm not the only one :) Unfortunately though, I really, really, don't want to go hard wired on this as the wireless works great for management and I'd rather not have to run a cable around my house. Hopefully @keithsw1111 https://github.com/keithsw1111 will be able to find an answer. I don't think I've stated these details but I've tested this on Firefox and Chrome on both Mac and Windows....but only Chrome on my iPhone.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/dpitts/f16v4_issues/issues/16#issuecomment-976823625, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKR5RG3INWRYHRMG4X24JDUNO7NHANCNFSM5IRWFHTA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

-- Brad Herman Mobile, Immersive, and Interactive Technology in Storytelling VR, AR, MxR, Apps, LBE, and more. http://www.bradherman.com

keithsw1111 commented 2 years ago

So it working from your phone makes me want to ask about the browser and platform you are trying to configure it from. Maybe there is a browser incompatibility issue on he desktop end.

nmiller0113 commented 2 years ago

@keithsw1111 - I don't think you saw my earlier message.

I don't think I've stated these details but I've tested this on Firefox and Chrome on both Mac and Windows....but only Chrome on my iPhone.

I just tried to load this in Safari on my Mac since it uses the same WebKit as the iPhone, even with Chrome on the iPhone, and it WORKED!

It is also having the same strange display behavior that I experienced in the Chrome browser on my iPhone...it wouldn't load correctly until after I hit the reload button once. I'm attaching a screenshot. It also doesn't show all the menu items on my iPhone until I am in landscape...which I found to be strange as I couldn't scroll to the right when in portrait mode.

Why this issue only exists over wireless is beyond my knowledge. All I know is that build 12 had no issues making changes over wireless.

Screen Shot 2021-11-23 at 9 25 05 AM
keithsw1111 commented 2 years ago

So I now think I understand what is going on and why it varies by browser ... the fix is not quite so simple but I think I can get it working in the next day or so.

nmiller0113 commented 2 years ago

That's great news @keithsw1111. I'll keep an eye out for the fix. Thanks again for the work!

keithsw1111 commented 2 years ago

Try this interim build ... it is still labelled 13 but it has what i hope is the wifi fix. https://www.dropbox.com/s/h51bngnoyagpllc/Falcon_16_V4_Firmware_13.fl3?dl=0 https://www.dropbox.com/s/espgcvzmuqhq2k0/Falcon_48_V4_Firmware_13.fl3?dl=0

nmiller0113 commented 2 years ago

Just tested it out @keithsw1111 and your fix worked for me! Thank you!