-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DNS Failed for https://api.brightsky.dev [E][WiFiGeneric.cpp:739] hostByName() #161
Comments
Hi @MHz000, sorry for the delay. There unfortunately is no attached ESP32 code, could you add that? A possible issue here is that |
Hello Jacob,
/*
https://www.brightsky.dev/
https://api.brightsky.dev/weather?lat=52&lon=7.6&date=2020-04-21
https://api.brightsky.dev/current_weather?lat=52&lon=7.6 // less data
https://forum.arduino.cc/t/esp32-curl-with-wificlientsecure-h-for-api/1089308
https://RandomNerdTutorials.com/esp8266-nodemcu-https-requests/ // randomNerd
https://microcontrollerslab.com/esp32-https-requests/ // microcontrollerslab
https://github.com/espressif/arduino-esp32/issues/2778 <<< error discussion
*/
|
Jakob pls have a look at
https://community.platformio.org/t/difference-between-ipv4-ipv6-no-server-connection-with-esp32/38150
enjoy the weekend
Am Fr., 26. Jan. 2024 um 13:08 Uhr schrieb Jakob de Maeyer <
***@***.***>:
… Hi @MHz000 <https://github.com/MHz000>,
sorry for the delay. There unfortunately is no attached ESP32 code, could
you add that?
A possible issue here is that api.brightsky.dev has both an A and an AAAA
record (i.e., it is available via IPv4 and IPv6), while www.howsmyssl.com
has only an A record (it's only available via IPv4). Is there a way you
could completely disable IPv6 on your ESP32, or otherwise change some
settings so the DNS client queries the A record only?
—
Reply to this email directly, view it on GitHub
<#161 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB42SGVXB2CF23REUPZ66LLYQOMDZAVCNFSM6AAAAABB6SSDX6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJRHE3TEMBUGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hello Jacob
When I contact the brightsky server with the attached minimalistic ESP32 program I always get this error message.
[E][WiFiGeneric.cpp:739] hostByName(): DNS Failed for https://api.brightsky.dev/current_weather?lat=52&lon=7.6
[E][WiFiClientSecure.cpp:133] connect(): start_ssl_client: -1
Have other brightsky users had similar experiences? Has anyone reported a successful connection between ESP32 and the server?
It would be great if he/she shared his Arduino C++ code.
Why do I bother you again?
A connection to another server, e.g. to "www.howsmyssl.com" is established without any problems. The only difference I can see is in the access protocol.
I'm sorry if I bother you with things that are outside of your responsibility.
Thanks for the great project
The text was updated successfully, but these errors were encountered: