Forums - httpsvr crashing

4 posts / 0 new
Last post
httpsvr crashing
raniglas
Join Date: 21 Jan 20
Posts: 7
Posted: Fri, 2020-02-14 17:30

Hi,

We are using the httpsvr. 

When using with the QCLI demo example, it seems to work fine.

However, when we use our own pages, it works fine as long as it needs to load only 2 files (e.g., index + single image) but if we add more files (css, js, etc) it might load properly once or twice but eventually causes the target to hang (watchdog seems to be triggered). Sometimes the faiure is on the first load, sometimes it is on the 3rd or 4th time we load the page. Currently the page does not use any CGI (we disabled those to diagnose the issue) and is fairly simple and small page. 

Any ideas on how to resolve this? maybe increase number of sockets??

Many thanks,

Rani

  • Up0
  • Down0
raniglas
Join Date: 21 Jan 20
Posts: 7
Posted: Mon, 2020-02-17 13:21

Hi,

Few more things we tried - but did not resolve the web server from hanging:

1. Change (increas or decrease) the number of buffers (using qapi_Net_Profile_Set_Custom)

2. Change tx and rx buffer size for httpsvr

3. Reduce file sizes in our web server content

4. Disabled watchdog

The system no longer resets or hangs (completely) - we can access it from the serial CLI (this is CLI demo based).

However, once httpsvr fails to serve a url (browser just waits forever) it no longer responds. If a reload is issued, no urls are being provided to browser. Only a reboot releases this.

Any other suggestions? any known issues with httpsvr? maybe new release available?

Thanks,

Rani 

  • Up0
  • Down0
raja_pedada
Profile picture
Join Date: 18 Jun 18
Location: San Jose
Posts: 244
Posted: Tue, 2020-02-18 12:16

Kindly try the demo using QCA4020.OR.3.2 OEM QCA SDK+CDB posted on Dec 12, 2020 and let us know if you still face issues ?

  • Up0
  • Down0
raniglas
Join Date: 21 Jan 20
Posts: 7
Posted: Tue, 2020-02-18 14:33

Hi Raja Pedada,

Thank you for your response.

Are there any release notes for QCA4020.OR.3.2? (the only release notes I could find are for 3.0)

Thanks,

Rani

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.