CURLE_COULDNT_RESOLVE_HOST (6)
Couldn't resolve host. The given remote host was not resolved.

Where is OpenWISP installed? Is installed online or in your LAN? Ensure you
can reach the server from the router.
Ensure DNS resolution works fine.

On Thu, Dec 12, 2019 at 6:40 PM Hugo Zárate <[email protected]> wrote:

> Thanks for your answer, I did everything you said, I removed "-k" in
> 'option url' and I changed 'localhost' to 'openwispnerd.com' and still
> not working
> Now I have this error.
> *Failed to connect to controller during registration: curl exit code 6*
> I also tried with an IP address but I had the same error.
> If I go to *https://openwispnerd.com/admin/
> <https://openwispnerd.com/admin/>* works perfectly but I can't register
> my device (I'm using a Linksys EA6350)
> What am I doing wrong?
>
>
>
> El jueves, 12 de diciembre de 2019, 4:02:40 (UTC-6), Federico Capoano
> escribió:
>>
>> Hi Hugo,
>>
>> CURLE_FAILED_INIT (2)
>>
>> Very early initialization code failed. This is likely to be an internal
>> error or problem, or a resource problem where something fundamental
>> couldn't get done at init time.
>>
>> I see something in your config that does not look correct:
>>
>> On Wed, Dec 11, 2019 at 11:10 PM Hugo Zárate <[email protected]> wrote:
>>
>>> And in my router (I'm using Openwrt) I have this
>>>
>>>
>>> *config controller 'http'    option url -k 'https://localhost/
>>> <https://localhost/>'*
>>>
>>
>> The -k option does not make sense there, plus, unless the openwisp server
>> is sitting on the router itself, having localhost will not work, you must
>> use the ip or hostname where the openwisp server is reachable.
>>
>> Should be something like:
>>
>> option url 'https://myopenwisp.domain.com'
>>
>>
>> Best regards
>> Federico
>>
> --
> You received this message because you are subscribed to the Google Groups
> "OpenWISP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/openwisp/27c6086b-24b2-45e3-a639-d0785c688d43%40googlegroups.com
> <https://groups.google.com/d/msgid/openwisp/27c6086b-24b2-45e3-a639-d0785c688d43%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/CAERYH6WWpVdAn5RSzoAu_8WJzqAb9THXzkO-zK-wF9-Xy3%3DuWA%40mail.gmail.com.

Reply via email to