Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


net.HTTPClient() always waiting for close connection from client side


hater

Recommended Posts

hi!

Attention. Subj!

 

pure LUA code works properly

any browsers also works properly

QA LUA always dead by timeout

[QUICKAPP2468]: http://192.168.1.71/xled/v1/fw/version
[QUICKAPP2468]: error: Operation canceled

 

NB: twinkly lights QA doesn't work!

 

simple reproduce application

Please login or register to see this code.

 

simple QA for reproduce

 

Please login or register to see this code.

 

Edited by hater
  • Like 1
Link to comment
Share on other sites

  • hater changed the title to net.HTTPClient() always waiting for close connection from client side

i had similar issue with Davis AirLink, httpClient was never working (while Davis WeatherLink with almost same firmare works with same code), haven't found any solution for the magic close middle of httpClient thread.

 

Please login or register to see this spoiler.

 

However, api proxy worked, and tcp socket worked. When i look on your code, tcp socket might be better solution, try:

 

Please login or register to see this code.

 

 

Edited by tinman
  • Thanks 2
Link to comment
Share on other sites

  • Topic Author
  • 6 hours ago, tinman said:

    When i look on your code, tcp socket might be better solution

    thank you friend, you always cool ? 

    Link to comment
    Share on other sites

    • 2 weeks later...
    On 10/31/2021 at 7:52 PM, hater said:

    hi!

    Attention. Subj!

     

    pure LUA code works properly

    any browsers also works properly

    QA LUA always dead by timeout

    [QUICKAPP2468]: http://192.168.1.71/xled/v1/fw/version
    [QUICKAPP2468]: error: Operation canceled

     

    NB: twinkly lights QA doesn't work!

     

    simple reproduce application

    Please login or register to see this code.

     

    simple QA for reproduce

     

    Please login or register to see this code.

     

    Solved my issue, thanks very much!!

    Link to comment
    Share on other sites

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Reply to this topic...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    ×
    ×
    • Create New...