Skip to main content

Fetch / Deploy Timeouts

Resolving timeouts in Netsuite environment

Written by Support
Updated this week

While fetching or deploying with a Salto environment connected to Netsuite, you may occasionally encounter a failure due to timeout.

The error could look something like this:

deploy command timed out after 240000 ms

In order to resolve this problem, you can take several steps:

  1. Increase the timeout

  2. Exclude elements that are not relevant for the work you are currently doing with Salto

Increasing Netsuite Adapter Timeout

We recommend setting this timeout to 10 minutes first, then increase it if you have a really big Netsuite environment in Salto that you absolutely must fetch.

You will next need to update your Configuration File for this solution.

Accessing the Configuration File for your Salto Netsuite environment can be done in 2 ways:

  1. Via Settings > Netsuite > โ‹ฎ > "Edit Configuration File"

  2. Via Explore tab > Files > put netsuite.nacl in the search bar and then click the file to have it opened in the right pane

Please mind, the configuration file is editable once opened, unlike other files and elements that you would normally only be able to read.

Any changes made in the file are automatically saved.

You can undo changes using the normal CTRL+Z/CMD+Z keyboard shortcuts.

Once the configuration file is opened, you will need to modify the parameter fetchTypeTimeoutInMinutes, which indicates how many minutes should pass before Salto will timeout on the operation.

Please mind, despite the name, this configuration parameter is relevant for both fetch and deploy.

I don't have this parameter in my configuration

This is perfectly normal - In the default configuration, we normally omit this parameter, so as not to confuse our users with too many options.

All our configuration options for the Salto Netsuite adapter are always available here.

If you don't have the parameter in your configuration, please add the following segment, just above the bottom-most closing curly bracket symbol }

client = {
fetchTypeTimeoutInMinutes = 10
}

If your original configuration looked like the one on the left, it should now look like the one on the right:

Original

Modified

netsuite {
fetch = {
include = {
types = [
{
name = ".*"
},
]
exclude = {
}
}
}
netsuite {
fetch = {
include = {
types = [
{
name = ".*"
},
]
exclude = {
}
}
client = {
fetchTypeTimeoutInMinutes = 10
}
}

Exclude Elements that are not relevant for the current work with Salto

Please refer to the Salto Netsuite Overview article for more information about this.

Did this answer your question?