Skip to content
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

Unable to connect to test server #12

Open
readysteadygo2006 opened this issue May 14, 2018 · 10 comments
Open

Unable to connect to test server #12

readysteadygo2006 opened this issue May 14, 2018 · 10 comments

Comments

@readysteadygo2006
Copy link

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

@lws-team
Copy link
Member

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.

@readysteadygo2006
Copy link
Author

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

@lws-team
Copy link
Member

What is your browser + browser platform?

@readysteadygo2006
Copy link
Author

chrome?

@readysteadygo2006
Copy link
Author

ubuntu 16.04

@lws-team
Copy link
Member

What version of chrome?

@readysteadygo2006
Copy link
Author

Version 59.0.3071.115 (Official Build) (64-bit)

@readysteadygo2006
Copy link
Author

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

@lws-team
Copy link
Member

OK. I will check it tomorrow.

@readysteadygo2006
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants