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

Question
ianakapilotlight 21
Hello,
Thanks for taking the time to look at this one, its had me stumped for the last 48 hours.
I'll get down to it, I am building a web service in the cloud. And I am trying to get the Fibaro HC2 to talk to it using a lua scene.
The code below works fine returning the correct status code '204' but only when called using HTTP. If I switch it to using HTTPS then I get the error "Connection reset by peer".
I have tested the service with both HTTP and HTTPS using PostMan and Insomnia REST clients, and they indicate that the service works.
It seems to be due to SSL and wonder if the net.HTTPClient is somehow failing me.
Perhaps you can suggest what the problem is?
Please login or register to see this code.
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.