arduinoWebSockets icon indicating copy to clipboard operation
arduinoWebSockets copied to clipboard

[WiFiGeneric.cpp:1578] hostByName(): DNS Failed for websocket

Open AaditDubey opened this issue 1 year ago • 1 comments

The method I call to initiate connection -

void initWebSocketConnection(){
wsClient.begin(WS_HOST, WS_PORT, WS_URL, "wss");
wsClient.onEvent(onWSEvent);
}

The host, port, URL -

#define WS_HOST "websocket_domain_name.com"
#define WS_PORT 443
#define WS_URL "/dev"

The error I get - [WiFiGeneric.cpp:1578] hostByName(): DNS Failed for {aws websocket}

AaditDubey avatar Jul 29 '23 21:07 AaditDubey

Have the same issue here, only for Deno Deploy. Did you manage to resolve it?

PimTournaye avatar Dec 25 '23 12:12 PimTournaye