lws-esp32-test-server-demos icon indicating copy to clipboard operation
lws-esp32-test-server-demos copied to clipboard

Unable to connect to test server

Open readysteadygo2006 opened this issue 7 years ago • 10 comments

Hi,

I been able to connect to the factory server, however after loading the test-server I'm unable to connect to it?

What ip do I use, I'm currently using the same as the factory.

BR Paul Grant

readysteadygo2006 avatar May 14 '18 06:05 readysteadygo2006

Only factory runs its AP at 192.168.4,1.

The idea is you use factory to teach it how to connect to a local AP.

Afterwards when you boot into the OTA / application it will connect to the AP and get an IP by dhcp using the information you gave it from factory mode.

lws-team avatar May 14 '18 07:05 lws-team

Hi, I've now read you instructions a bit more carefully, I now note that the first time you upload the test app, it should be done via manual upload button, I had previously done it using

make flash_ota

When I try to do it via the manual button it never succeeds, after a pause the UI just goes back to the default tab, and when you return to the lws tab, the image is not uploaded.

If I have monitor running on the factory app I see the following: 2018/05/14 11:20:10:6035] NOTICE: _realloc: size 48: pps (free heap 131320) [2018/05/14 11:20:10:6300] NOTICE: _realloc: size 48: pps (free heap 132664) [2018/05/14 11:20:10:8560] NOTICE: _realloc: size 48: pps (free heap 131508) [2018/05/14 11:20:10:8786] NOTICE: _realloc: size 48: pps (free heap 131444) [2018/05/14 11:20:10:9035] NOTICE: LWS_CALLBACK_HTTP_BODY_COMPLETION (ota) [2018/05/14 11:20:10:9074] DEBUG: LWS_CALLBACK_HTTP_WRITEABLE: sending 26 Task watchdog got triggered. The following tasks did not reset the watchdog in time:

  • IDLE (CPU 0) Tasks currently running: CPU 0: Tmr Svc CPU 1: IDLE Task watchdog got triggered. The following tasks did not reset the watchdog in time:
  • IDLE (CPU 0) Tasks currently running: CPU 0: main CPU 1: IDLE Task watchdog got triggered. The following tasks did not reset the watchdog in time:
  • IDLE (CPU 0) Tasks currently running: CPU 0: Tmr Svc CPU 1: IDLE

Additionally whilst I've associated with device with my Wifi, I've not completed the steps related to TLS certificates and have done nothing in the settings tab. Would this affect the success of the upload?

Any help would be very much appreciated!

BR Paul Grant

readysteadygo2006 avatar May 14 '18 11:05 readysteadygo2006

What is your browser + browser platform?

lws-team avatar May 14 '18 11:05 lws-team

chrome?

readysteadygo2006 avatar May 14 '18 11:05 readysteadygo2006

ubuntu 16.04

readysteadygo2006 avatar May 14 '18 11:05 readysteadygo2006

What version of chrome?

lws-team avatar May 14 '18 11:05 lws-team

Version 59.0.3071.115 (Official Build) (64-bit)

readysteadygo2006 avatar May 14 '18 11:05 readysteadygo2006

I just tried in firefox (46.0.1), but can never get passed entering an exception, so never see website.

readysteadygo2006 avatar May 14 '18 11:05 readysteadygo2006

OK. I will check it tomorrow.

lws-team avatar May 14 '18 11:05 lws-team

Thanks!

readysteadygo2006 avatar May 14 '18 11:05 readysteadygo2006