Wappler 6.5.4, Windows 11 Pro
NodeJS, DB remote MariaDB.
I get this error:
1. code: "ECONNRESET"
2. message: "select `tenant_id` from `my_tenant` where `my_tenant`.`user_id` = 'XXXxxxx-xXXXX-4cc3-88ce-xxxXXxxxxxxXX' - read ECONNRESET"
3. stack: "Error: read ECONNRESET\n at TCP.onStreamRead (node:internal/stream_base_commons:217:20)"
4. status: "500"
Steps to reproduce:
- Create a server action with a database query (remote database), made the query simple.
- Add the server action into a page as a server connect with auto load.
- Open the page in browser, it should show correctly the data from the server connect in XHR tab.
- Wait 6 minutes or more without interact with the page, it should be inactive.
- After waiting, refresh the page and the SC added get the “ECONNRESET message”.
This is in console:
And this in Sources tab: