Hello everyone,
I'm trying to develop a code to send data to my PostgreSQL database, I've tried implementing the following database https://github.com/ethanak/SimplePgSQL, using Arduino framework as esp-idf component. Although, when I try to connect it, I get this error:
[E][WiFiClient.cpp:266] connect(): socket error on fd 54, errno: 104, "Connection reset by peer"
Anyone know how to resolve this issue or have any other idea on how to do it?
Thanks
Connect ESP32 to PostgreSQL database.
Re: Connect ESP32 to PostgreSQL database.
Sounds like your PostgreSQL server drops the connection to the client. I'd start by looking at the server's logs, possibly after increasing the logging verbosity.
Who is online
Users browsing this forum: Google [Bot] and 49 guests