An error has occurred Unable to connect to worker after 60.00 seconds; startup took too long

Follow

Problem

When using Posit Connect, you may see the following error on certain applications:


 

Solution

This error typically occurs when an application published on Connect takes longer than 60 seconds to start. It's worth checking to see if there are multiple users who experience this error message, as this can point to an underlying issue with the application itself.

Your best option is to see if there is there anything about this application that might be delaying it's startup? For example:

  • Does the application load a large amount of data on startup?
  • Does the application connect to NFS shares that may be experiencing latency?
  • Does the application connect to any databases that are experiencing service outages or slow speeds?
  • Is there any network latency or bandwidth issues?

It may help to start by seeing if you can adjust the tuning of these apps and whether that affects the behavior. The following documentation contains more information: 
https://support.rstudio.com/hc/en-us/articles/231874748
https://docs.rstudio.com/connect/user/content-settings/#content-runtime
 
In particular, it may help to try and increase the initial timeout value and see if that allows you to connect. In most cases, this will resolve the issue.

 

Support Ticket

If you still have issues after completing the above, you can always lodge a support ticket, where our group of friendly, and incredibly knowledgeable staff can assist with any issues that you may be having. You can submit a ticket here:

https://support.posit.co/hc/en-us/requests/new

Comments