You are viewing limited content. For full access, please sign in.

Question

Question

Exit with code 1 due to network error?

asked on September 10, 2015 Show version history

I recently noticed that for some reason we have a lot of forms that did not save to the repository as they were supposed to, so I have been going in and clicking the retry button on a few of them. After doing so I noticed that they had not completed after a few minutes and so I checked the Application Log on the Forms server. I am seeing a lot of messages similar to the following:

Log Name:      Application
Source:        Laserfiche Forms
Date:          9/10/2015 8:32:08 AM
Event ID:      0
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      Web2.d91.k12.id.us
Description:
9/10/2015 2:32:08 PM
Message: Loading pages (1/6)
[>                                                           ] 0%
[======>                                                     ] 10%
[===========>                                                ] 19%
[============>                                               ] 21%
[=============>                                              ] 23%
[==================>                                         ] 31%
[=====================>                                      ] 36%
[========================>                                   ] 40%
[=========================>                                  ] 42%
[==========================>                                 ] 44%
[==============================>                             ] 50%
[=====================================>                      ] 62%
[================================================>           ] 81%
[===================================================>        ] 85%
[====================================================>       ] 87%
QFont::setPixelSize: Pixel size <= 0 (0)
[====================================================>       ] 87%
[============================================================] 100%
Counting pages (2/6)                                               
[============================================================] Object 1 of 1
QFont::setPixelSize: Pixel size <= 0 (0)
Resolving links (4/6)                                                       
[============================================================] Object 1 of 1
Loading headers and footers (5/6)                                           
Printing pages (6/6)
[>                                                           ] Preparing
[==============================>                             ] Page 1 of 2
[============================================================] Page 2 of 2
Done                                                                      
Exit with code 1 due to network error: UnknownNetworkError

Stack trace:    at Laserfiche.Forms.CommonUtils.HtmlToPdfConverter.GeneratePrint(String& pdfFileLoc, String& tifFileLoc)
   at Laserfiche.Forms.Routing.SaveToLaserficheService.Execute(Int32 instanceId, IRoutingContext routingContext)
   at Laserfiche.Forms.Routing.ServiceTask.Execute(Int32 instanceId, IRoutingContext routingContext)

Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Laserfiche Forms" />
    <EventID Qualifiers="0">0</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2015-09-10T14:32:08.000000000Z" />
    <EventRecordID>3014080</EventRecordID>
    <Channel>Application</Channel>
    <Computer>Web2.d91.k12.id.us</Computer>
    <Security />
  </System>
  <EventData>
    <Data>9/10/2015 2:32:08 PM
Message: Loading pages (1/6)
[&gt;                                                           ] 0%
[======&gt;                                                     ] 10%
[===========&gt;                                                ] 19%
[============&gt;                                               ] 21%
[=============&gt;                                              ] 23%
[==================&gt;                                         ] 31%
[=====================&gt;                                      ] 36%
[========================&gt;                                   ] 40%
[=========================&gt;                                  ] 42%
[==========================&gt;                                 ] 44%
[==============================&gt;                             ] 50%
[=====================================&gt;                      ] 62%
[================================================&gt;           ] 81%
[===================================================&gt;        ] 85%
[====================================================&gt;       ] 87%
QFont::setPixelSize: Pixel size &lt;= 0 (0)
[====================================================&gt;       ] 87%
[============================================================] 100%
Counting pages (2/6)                                               
[============================================================] Object 1 of 1
QFont::setPixelSize: Pixel size &lt;= 0 (0)
Resolving links (4/6)                                                       
[============================================================] Object 1 of 1
Loading headers and footers (5/6)                                           
Printing pages (6/6)
[&gt;                                                           ] Preparing
[==============================&gt;                             ] Page 1 of 2
[============================================================] Page 2 of 2
Done                                                                      
Exit with code 1 due to network error: UnknownNetworkError

Stack trace:    at Laserfiche.Forms.CommonUtils.HtmlToPdfConverter.GeneratePrint(String&amp; pdfFileLoc, String&amp; tifFileLoc)
   at Laserfiche.Forms.Routing.SaveToLaserficheService.Execute(Int32 instanceId, IRoutingContext routingContext)
   at Laserfiche.Forms.Routing.ServiceTask.Execute(Int32 instanceId, IRoutingContext routingContext)
</Data>
  </EventData>
</Event>

Does anyone have any ideas how to troubleshoot this? I have tried to restart services, the Forms website and App pool, but I still receive the same message.

Replies

replied on September 10, 2015

We have now tried repairing Forms, reinstalling wkhtmltopdf.exe, resetting IIS, and restarting the entire server. We still receive the same error. We have also tried all of the suggestions in this post with no luck.

I have also setup a test process that has 3 steps. The first 2 are user tasks and the 3rd is a Save to Repository task. I then submitted a form and it gets suspended as well and leaves an error in the Application log of the Forms server with the same error message as noted above.

replied on September 10, 2015

A case has being opened with Technical support, we are working with the reseller directly, Please make sure you pass the information to your reseller.

You are not allowed to follow up in this post.