Jamlamb,
This sounds like the browser based lockup problem.
The essence if to disable all browser extensions, run your test, and then add them back in one by one redoing the test (at least 10 requests) until you find the offending extension.
Adblockers have been tagged as the problem before.
BP
I have grabbed this from the previous board thread and reproduce it below:
AreThree
OCTOBER 25, 2016 AT 07:54 #15721
Because I can’t leave a puzzle unfinished, and because I want to solve what makes my setup different from yours:
I tried this from two systems here, so please try to replicate what I did.
I have system “A” which is a Windows10 system with Chrome installed. I opened a regular browser window and pointed it to the OurWeather Board IP address (simply
. It hung as it has in the past.
I then opened up an “Incognito” window and pointed it to the OurWeather Board IP address the same way. This did not hang the board. I repeat. In “Incognito” mode, the request to the board worked again and again.
So I removed all of the installed extensions inside Chrome. I only had one, which I will get to in a moment, but I removed it. I closed all browser windows and reopened a regular browser, no without extensions. I then pointed it to the OurWeather board as before. This also did not hang the board. With a bare Chrome with no extensions installed, the request to the board worked again and again.
I then put the extension back into Chrome, as I have had it for ages, well before purchasing the OurWeather board. Inside Chrome, I went to “Settings”, “Extensions”, “Add extension from Chrome Store”. I searched for “uBlock Origin” – a popular adblocking add-in. I added it back to Chrome. After installing it, I closed the browser window, then re-opened it. I then opened a regular browser window and pointed it to the OurWeather Board IP address (simply
. Here I was hoping to report that the board now hung. But I’ve been unable to get it to hang by refreshing the browser on this system after putting uBlock Origin back. I was hoping to show that this extension was at fault all along.
However, I have another system here that has many Chrome extensions installed, AdBlock Plus being one of them, the other are Google add-ins for dictionary and docs. With this system, in Incognito mode, I am unable to get the OurWeather board to hang. However, when in regular mode, with the extensions installed, it does.
So, now we have our first real clue: Extensions that modify how or what gets loaded after an http request (such as adblockers) are injecting *something* into the request, thus causing the board to lock up. I should mention that I was able to get it to lock up using the new Microsoft Edge browser as well, but I don’t know what sort of “extensions” are installed with that.
In your testing, please try a system with Chrome installed, and with the “AdBlock Plus” extension installed to see if you can get a board to hang. Please! Thanks for reading this tome, and I hope this might shed some light upon what is different between your environment and mine.
EDIT | MOVE | SPLIT | TRASH | SPAM | REPLY
SwitchDoc Labs
OCTOBER 30, 2016 AT 14:55 #15820
Now there is some interesting information.
WE note times of about 5-10 seconds on response from the OurWeather board, but it always seems to connect.
1) It does not hang on Safari. Period. I think this is important. Especially when you have found the Chrome browser hangs but not in incognito mode. We have used Chrome before in testing, but it has been a while.
2) Re-running tests on our Chrome browser (We are on a Mac).
a) Incognito Mode – does not hang.
b) Chrome – does not hang. (picture attached)
Note: On the test above we have the extensions “Google Docs” and “Google Docs Offline” installed.
3) Edge Browser on Windows 10 system – does not hang.
4) Chrome with Adblock Plus added (version: 1.12.5)
Does not hang. Harrumph.
Question: Do you have the extensions enabled for incognito mode? Mine are disabled for incognito mode.
5) Chrome in Incognito mode after Adblock Plus added.
We got it to freeze. Adblock Plus is not enabled for Incognito.
We are not going to touch anything right now and look at what is happening on the Arduino IDE. The key to figuring this out is a case that fails that we can look at. Hopefully, we have that now.
Thank you for all your hard work on this. We will send you a present as thanks. Please go to “Contact” and give us your mailing address.
Off to see what We can find now.
Best,
SDL
EDIT | MOVE | SPLIT | TRASH | SPAM | REPLY
SwitchDoc Labs
OCTOBER 30, 2016 AT 15:00 #15822
Of course, it now doesn’t fail at all under any condition. We will keep working on it.
Best,
SDL
Attachments:
Screen-Shot-2016-10-30-at-3.37.43-PM.png
[delete | detach]
Screen-Shot-2016-10-30-at-3.59.25-PM.png
[delete | detach]
EDIT | MOVE | SPLIT | TRASH | SPAM | REPLY
billmanvl@gmail.com'
Billman
DECEMBER 3, 2016 AT 08:46 #16593
I had the exact same issue. Windows 8.1 PC, running Chrome crashed nearly every time I attempted to poll the unit via the OurWeaterPage.html. Disabling Adblock for the SDL’s domain has seemed to cure the problem for me.
EDIT | MOVE | SPLIT | TRASH | SPAM | REPLY
billmanvl@gmail.com'
Billman
DECEMBER 3, 2016 AT 12:11 #16599
I spoke too soon. Now it randomly locks up when trying to view OurWeatherPage.html
EDIT | MOVE | SPLIT | TRASH | SPAM | REPLY
billmanvl@gmail.com'
Billman
DECEMBER 4, 2016 AT 12:43 #16604
One further update… OurWeatherPage.html will cause the device to lockup when I am using a PC with Windows 8.1. It also locks when using a Nexus 7 tablet. It does NOT lock when using an iPad however.
Hopefully that helps provide some addition insight.
EDIT | MOVE | SPLIT | TRASH | SPAM | REPLY
william.andreas@gmail.com'
wfandreas
DECEMBER 29, 2016 AT 07:37 #17256
Chrome on Android also causes this problem
EDIT | MOVE | SPLIT | TRASH | SPAM | REPLY
william.andreas@gmail.com'
wfandreas
DECEMBER 29, 2016 AT 10:17 #17261
Interesting discussion regarding the esp8266 and browsers
www.esp8266.com/viewtopic.php?f=18&t=1757To work everywhere you must follow strict http conventions
EDIT | MOVE | SPLIT | TRASH | SPAM | REPLY
william.andreas@gmail.com'
wfandreas
DECEMBER 29, 2016 AT 12:17 #17266
I’ve been able recreate this issue with Chrome, both in incognito mode and regular mode in 0.17 and 0.19 recompiled and pushed from the Ardunio IDE to the weatherplus board.
As noted above there are other organizations/individuals experiencing issues with browsers.
I’m not sure when you 017 was compiled however, I am including exp8266weberver from 2.30 release. I suspect there maybe some issues with the new rev of webserver causing issues. I am downloading visual studio with the visual ardunio plugin to see if I can see more information that Billman has provided
EDIT | MOVE | SPLIT | TRASH | SPAM | REPLY
william.andreas@gmail.com'
wfandreas
DECEMBER 29, 2016 AT 12:19 #17269
My board is now randomly failing in all browsers
EDIT | MOVE | SPLIT | TRASH | SPAM | REPLY
SwitchDoc Labs
DECEMBER 30, 2016 AT 08:56 #17303
Wfandrers,
We have been unable to duplicate this problem. Do you have some “browser” add-ins (like ad blocking) enabled?
We have seen that cause problems in the past.
SDL
EDIT | MOVE | SPLIT | TRASH | SPAM | REPLY
bleem313@gmail.com'
bleem313
JANUARY 27, 2017 AT 13:05 #18361
I have had this problem since I received my board from the kickstarter campaign. I can verify that it happens in multiple bowers, multiple devices, and multiple networks/routers. I had given up on the board for awhile, but with gardening season coming up, had hoped that an update might have fixed it. I have updated my board to 19, and it still crashes when I try to talk to it, oled screen stops, and nothing changes until I reset the board.
Steps to reproduce crash.
Open OurWeatherPage
Turn on the device
Wait for the device to connect
Once OLED is displaying data, refresh the page
This always results in the board freezing for me.
This reply was modified 5 months by bleem313@gmail.com' bleem313. Reason: Provide use case
EDIT | MOVE | SPLIT | TRASH | SPAM | REPLY
SwitchDoc Labs
JANUARY 28, 2017 AT 09:24 #18400
It sounds like this is the “Add in browser” problem. Take a look in the forums for how to fix your browser. It’s kind of a strange problem, but it has to do with ad blockers and some other plug-ins.
Best,
SDL
P.S. we run data gathering on our test units using the REST interface and they run for months at a time.
EDIT | MOVE | SPLIT | TRASH | SPAM | REPLY