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


[lua quickApp HC3] response body truncated with HTTP request


Alakazart

Recommended Posts

Hi,

 

In some case the response body is truncated when calling HTTP request

 

With curl:

 

Please login or register to see this code.

 

Response body:

Please login or register to see this code.

 

 

With lua:

 

Please login or register to see this code.

 

Response body:

Please login or register to see this code.

 

 

The strange behavior is :

  • When the response.status is 200, the response body is complete.
  • The problem occurs only with all googleapis

 

Is it a bug of the library ?

 

The full headers are

Please login or register to see this code.

 

 

 

Thanks

 

 

Link to comment
Share on other sites

12 hours ago, Alakazart said:

Is it a bug of the library ?

 

The full headers are

Please login or register to see this code.

 

Yep, it's a bug. If  you make the same call from a scene you get the whole error  back.

I have never understod why they have different library implementations for QAs and Scenes...

Link to comment
Share on other sites

  • Topic Author
  • Thanks for the answer.

     

    Is there a bug tracker somewhere where I can explain this bug ? Or maybe Fibaro is already aware of this bug ?

     

     

    Link to comment
    Share on other sites

    • 3 weeks later...
    On 2/18/2022 at 9:55 AM, Alakazart said:

    Thanks for the answer.

     

    Is there a bug tracker somewhere where I can explain this bug ? Or maybe Fibaro is already aware of this bug ?

     

     

    Send it to support, they will add it if it not exists. I did this twice. 

    Edited by Joep
    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...