[Perspective] Project Import Failing

I think the default max upload size is ~21mb…

You’ll have to modify the web.xml file and restart the gateway to increase it. In $IGNITION/webserver/webapps/main/WEB-INF/web.xml there’s a section like this:

  <servlet>
    <servlet-name>DataRoutes</servlet-name>
    <servlet-class>com.inductiveautomation.ignition.gateway.dataroutes.DataServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    <multipart-config>
      <max-file-size>20848820</max-file-size>
      <max-request-size>418018841</max-request-size>
      <file-size-threshold>1048576</file-size-threshold>
    </multipart-config>
  </servlet>

You can change the max-file-size entry to something higher.

1 Like