Simplicity Studio v4 reports network errors while updating

by <a href="http://community.silabs.com/t5/Welcome-and-Announcements/Community-Ranking-System-and-Recognition-Program/m-p/140490#U140490"><font color="#000000"><font size="2">Hero Employee</font></font> </a> jpitt on ‎02-13-2017 10:09 AM

If repeated network errors are seen when trying to update Simplicity Studio, the underlying internet connection might require changing the java file streaming configuration so that Simplicity Studio updates reliably.  If Simplicity Studio always reports a network error occurred while doing an update and expanding the Error Details shows “Truncated chunk...” or “Read timed out” errors, then adjusting the underlying Eclipse timeout and threading parameters may eliminate or reduce the errors.

 

Please use a text editor to edit the studio.ini file after exiting Simplicity Studio.  The file is located in the base directory where Simplicity Studio was installed (default location SiliconLabs/SimplicityStudio/v4). In the file, add these lines after the last “-D” argument:

 

-Dorg.eclipse.ecf.provider.filetransfer.retrieve.connectTimeout=240000
-Dorg.eclipse.ecf.provider.filetransfer.retrieve.readTimeout=240000
-Dorg.eclipse.ecf.provider.filetransfer.retrieve.retryAttempts=40
-Dorg.eclipse.ecf.provider.filetransfer.retrieve.closeTimeout=240000
-Dorg.eclipse.ecf.provider.filetransfer.browse.connectTimeout=240000
-Dorg.eclipse.ecf.provider.filetransfer.browse.readTimeout=240000
-Dorg.eclipse.ecf.provider.filetransfer.httpclient.browse.connectTimeout=240000
-Dorg.eclipse.ecf.provider.filetransfer.httpclient.retrieve.connectTimeout=240000
-Dorg.eclipse.ecf.provider.filetransfer.httpclient.retrieve.readTimeout=240000
-Dorg.eclipse.ecf.provider.filetransfer.httpclient4.browse.connectTimeout=240000
-Dorg.eclipse.ecf.provider.filetransfer.httpclient4.retrieve.connectTimeout=240000
-Dorg.eclipse.ecf.provider.filetransfer.httpclient4.retrieve.readTimeout=240000
-Dorg.eclipse.equinox.p2.transport.ecf.retry=4
-Declipse.p2.max.threads=1
-Declipse.p2.force.threading=false
-Declipse.p2.mirrors=true

 

Then, save the file and the settings will be in effect the next time Simplicity Studio is started.

 

Note: If a “Connection Error” is reported instead of a network error, the above wouldn’t apply, and the most likely cause is that the computer is behind a corporate firewall.  In that case please refer to “Simplicity Studio v4 installation error – download error” Knowledge Base article: http://community.silabs.com/t5/Simplicity-Studio-and-Software/Simplicity-Studio-v4-installation-erro...