ERROR 500 nested

Hello, first of all, sorry for my English, but I have a problem. I suspect it may be due to using the free service.

The fact is that I have a project in Spring that after a few minutes of inactivity I get the following error:

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is org.hibernate.TransactionException: JDBC begin transaction failed: org.springframework.web.servlet.FrameworkServlet.processRequest( org.springframework.web.servlet.FrameworkServlet.doGet( javax.servlet.http.HttpServlet.service( org.springframework.web.servlet.FrameworkServlet.service( javax.servlet.http.HttpServlet.service( org.apache.tomcat.websocket.server.WsFilter.doFilter( )

When I do the tests locally it doesn’t do it, I have also tried changing the DB server.
Basically I get a 500 error like it doesn’t connect to the database, but if the error is due to using the free service I am willing to pay if it is solved


Are you still encountering the same issue today?

Render Support, UTC+3