Deploy fails from timeout, but no errors in log

https://buddyviewer.onrender.com/

I’m trying to build a web app. It has chatroom features and is stateful, so it’s not meant to be a static app. I’m building it using the free trial. It builds successfully, then hangs, and then eventually fails due to the build time being too long.

Feb 7 06:50:58 PM  ==> Uploading build...
Feb 7 06:51:02 PM  ==> Deploying...
Feb 7 06:51:02 PM  ==> Build successful 🎉
Feb 7 06:51:17 PM  ==> Starting service with 'npm start'
Feb 7 06:51:17 PM  
Feb 7 06:51:17 PM  > chatproj@1.0.0 start /opt/render/project/src
Feb 7 06:51:17 PM  > node server.js
Feb 7 06:51:17 PM  
Feb 7 06:51:18 PM  Warning: connect.session() MemoryStore is not
Feb 7 06:51:18 PM  designed for a production environment, as it will leak
Feb 7 06:51:18 PM  memory, and will not scale past a single process.
Feb 7 06:51:19 PM  Connected to redis
Feb 7 06:51:19 PM  Connected to DB...
Feb 7 06:51:19 PM  Server listening...
Feb 7 06:51:19 PM  Server start date/time: 2/7/2021 / 11:51:19 PM
Feb 7 06:51:19 PM  ======
Feb 7 06:51:47 PM  ==> Starting service with 'npm start'
Feb 7 06:51:47 PM  
Feb 7 06:51:47 PM  > chatproj@1.0.0 start /opt/render/project/src
Feb 7 06:51:47 PM  > node server.js
Feb 7 06:51:47 PM  
Feb 7 06:51:49 PM  Warning: connect.session() MemoryStore is not
Feb 7 06:51:49 PM  designed for a production environment, as it will leak
Feb 7 06:51:49 PM  memory, and will not scale past a single process.
Feb 7 06:51:49 PM  Connected to redis
Feb 7 06:51:49 PM  Connected to DB...
Feb 7 06:51:49 PM  Server listening...
Feb 7 06:51:49 PM  Server start date/time: 2/7/2021 / 11:51:49 PM
Feb 7 06:51:49 PM  ======

Manually setting server.listen(‘0.0.0.0’) worked for me. Seems you have to use that port. WIll update this thread if anything else goes wrong.

Please do keep us posted if you run into any further issues!

1 Like