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
10der 830
Hi!
Please login or register to see this code.
the issue is directly linked to a losing HC2 internet (not local.net)
hey FIBARO, would there any chance to resolve host name>
Please login or register to see this code.
IMHO the problem was that the constructor for query has the address_configured flag set by default which won't return an address
if the loopback device is the only device with an address. By just settings flags to 0 or anything other than address_configured the problem is fixed.
please check your source code!
since the client cannot resolve the host (presumably because you cannot reach a resolver or DNS server because you're not connected to the network) then you're supposed to catch the exception and deal with it accordingly.
This looks like a Boost.Asio issue, which I think will only come up if you have a DNS server set up in your environment, but your network is down and thus the resolver cannot be reached.
PS:
Please login or register to see this link.
Edited by 10derLink to comment
Share on other sites
2 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.