Search found 4 matches

by aurosoares
Mon Nov 27, 2023 7:33 pm
Forum: ESP-IDF
Topic: DNS error on tls connection
Replies: 0
Views: 3228

DNS error on tls connection

I implemented a https request to a server on internet, this server was validated using Postman, however, when I try to connect in this server with my ESP32, this error raise: E (32607) esp-tls: couldn't get hostname for :exemple.com: getaddrinfo() returns 202, addrinfo=0x0 E (32607) esp-tls: Failed ...
by aurosoares
Tue Nov 07, 2023 8:39 pm
Forum: ESP-IDF
Topic: I lost the ca_kay.pem from the OTA Update, is it possible to save it?
Replies: 0
Views: 379

I lost the ca_kay.pem from the OTA Update, is it possible to save it?

I ended up accidentally overwriting my openssl private key, is there any solution to update the firmware using ota? I only have the private key and I am willing to create some trick even if it violates the security of my server to solve this problem.
by aurosoares
Fri Sep 22, 2023 3:14 pm
Forum: ESP-IDF
Topic: How to write a websocket server without receive any packet from client after handshake
Replies: 2
Views: 1634

Re: How to write a websocket server without receive any packet from client after handshake

Thank you for response. I changed the implementation to an infinite loop within the websocket's http handler, to keep sending the packets. Like a default tcp server. Its works fine, but during the loop execution, all other http requests that are on my server are not answered. Is there any way to sen...
by aurosoares
Thu Sep 21, 2023 3:21 pm
Forum: ESP-IDF
Topic: How to write a websocket server without receive any packet from client after handshake
Replies: 2
Views: 1634

How to write a websocket server without receive any packet from client after handshake

I'm writing a websocket server based on the github example "echo websocket"(https://github.com/espressif/esp-idf/tree/master/examples/protocols/http_server/ws_echo_server). The client always receives packets after sending a message to the server in that implementation, however, is there any way to i...