Wannabe SWE
Wannabe SWE
RRailway
Created by Wannabe SWE on 10/7/2023 in #✋|help
Error inserting data into the database: Error: read ECONNRESET (possibly a network issue)
I went with a pool connection approach for my back end sql connection last night to fix an issue I was having with not being able to connect to the database. Seemed to work fine but this morning I tested the contact form and database again and it didn't work even though it worked yesterday after fixing a previous error. This is the error logs from the observability tab. I did some research and it could very possibly be a network issue but I'm not 100% about that of course
Error inserting data into the database: Error: read ECONNRESET

at PromisePoolConnection.query (/app/node_modules/mysql2/promise.js:94:22)

at file:///app/server.js:42:26

at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {

code: 'ECONNRESET',

errno: -104,

sql: undefined,

sqlState: undefined,

sqlMessage: undefined

}
Error inserting data into the database: Error: read ECONNRESET

at PromisePoolConnection.query (/app/node_modules/mysql2/promise.js:94:22)

at file:///app/server.js:42:26

at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {

code: 'ECONNRESET',

errno: -104,

sql: undefined,

sqlState: undefined,

sqlMessage: undefined

}
I'm also linking the public github repo for the website https://github.com/hiphiphorhayy/montoyamasonry
14 replies
RRailway
Created by Wannabe SWE on 10/3/2023 in #✋|help
Timed out error connecting backend to MySQL database
Hey guys I'm at the last hurdle for this website if anyone could help I'd really appreciate it https://stackoverflow.com/questions/77220612/timedout-error-while-trying-connect-backend-to-railway-mysql-database
229 replies
RRailway
Created by Wannabe SWE on 10/2/2023 in #✋|help
Access is denied. (OS error 5)
No description
25 replies