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


  • 0

ERROR in LuaEnvironment while using net.HTTPClient()


Question

Posted (edited)

 

Hello.

This is not a code issue, the code is only included for reference, please move this question if i have posted in the wrong place, if that is the case.

 

I get this sporadic error and this stops the scene.

 

It happens around 3-4 times a day.

I never get any other faults (in debug), so the connections to Internet is solid.

 

So, the question, is this a HC2 firmware issue?

HC2 Firmware is 4.620.

 

[ERROR] 08:17:04: LuaEnvironment: /opt/atlassian/bamboo-agent/xml-data/build-dir/NHC2-NHCLUAENG65-JOB1/LuaEngine/vendor/avhttp/avhttp/impl/http_stream.ipp:2269: void avhttp::http_stream::handle_skip_crlf(const MutableBufferSequence&, Handler, boost::shared_array, const boost::system::error_code&, std::size_t) [with MutableBufferSequence = boost::asio::mutable_buffers_1; Handler = boost::function; std::size_t = unsigned int]: Assertion `crlf[0] == '\r' && crlf[1] == '\n'' failed.

 

AI says its:

"This error is caused by an assertion failure in the handle_skip_crlf function of the http_stream class in the avhttp library."


Reference code:

Please login or register to see this code.

 

Edited by speedy
Clarity.

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

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

Guest
Answer this question...

×   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...