2
1
0

We are using maestro. When imported the form to TM we see 'Receipt Render Error' at 'DashBoard - Latest Transactions section'. Is there any solution for this?

in error log the solution is given to increase  timeout.. where exactly to increase the timeout?

SolutionIncrease process timeout configuration  

 

Error details

TypeReceipt Render
NamePhantom JSRender Receipt Service Error
MessagePhantom JSRender Receipt Service Error : completed=false,htmlFilePath=/apps/avoka/transact/manager/work/phantomjs/delivery/2638-151/form.html,programFolder=/apps/avoka/transact/manager/phantomjs,progr  
User MessageReceipt Render Error
SolutionIncrease process timeout configuration  
Context
completed=false
htmlFilePath=/apps/avoka/transact/manager/work/phantomjs/delivery/2638-151/form.html
programFolder=/apps/avoka/transact/manager/phantomjs
programPath=/apps/avoka/transact/manager/phantomjs/phantomjs
controlFilePath=/apps/avoka/transact/manager/phantomjs/rasterize.js
htmlPath=/apps/avoka/transact/manager/work/phantomjs/delivery/2638-151/form.html
pdfPath=/apps/avoka/transact/manager/work/phantomjs/delivery/2638-151/receipt.pdf
pageSizeFormat=A4
pageSizeMargin=0.5cm
pageZoomFactor=0.8
processTimeout=20000 ms
Submission.ID=2638
Form.Code=xxx
Form.Name=Customer Demographics 
Form.Version=16
Organization=NAM 
Fallback Timeout=40000 ms  
Error Stack Trace
ApplicationException: Phantom JSRender Receipt Service Error: Receipt Render Error
	at com.avoka.fc.core.service.phantomjs.PhantomJSRenderReceiptService.rasterize(PhantomJSRenderReceiptService.java:405)
	at com.avoka.fc.core.service.phantomjs.PhantomJSRenderReceiptService.getReceiptDocument(PhantomJSRenderReceiptService.java:302)
	at com.avoka.fc.core.service.AbstractRenderReceiptService.renderReceipt(AbstractRenderReceiptService.java:256)
	at com.avoka.fc.core.service.impl.SubmissionReceiptServiceImpl.createReceiptPdf(
    CommentAdd your comment...

    3 answers

    1.  
      2
      1
      0

      Hi,

      You can see the parameters for a Transact Manager service in its Parameters tab.  This screenshot is from the Dynamic PDF Receipt service, but there should be a similar one for the Phantom JS service.  The parameter name may be different.

        CommentAdd your comment...
      1.  
        2
        1
        0

        Hi Alex,

        It looks like your Phantom JS service is called 'Dynamic PDF Receipt', which is the default name when you add a new Render Receipt service.

        1. Alex Lam

          Bill Frost Hi Bill, we already select the largest value in the list, but still got timeout error.


        2. Bill Frost

          Hi Alex,

          What version of TM are you using?

          Does it have the 'Dynamic PDF Receipt 2' service template available? 

        3. Alex Lam

          Hi Bill, our TM version is : Transact Manager 5.1.2, Build Number F718301

          There is no Dynamic PDF Receipt 2 service template.  "Dynamic PDF Receipt 2" is for Meastro form PDF receipt generation?


        4. Lin VanOevelen

          I am having the same issue with a Maestro form (17.10) published to TM 5.1.10.

          Interesting observation: when I overwrote the Maestro version with a Composer form archive, the receipt render errors resolved and delivery completed for the previous submissions of the Maestro form.

          But as soon as I published the Maestro form again (either as a form archive or just by updating the FAR file), new submissions had the same error again.

        5. Lin VanOevelen

          Looks like our error was caused by a circular reference causing a time out.

        6. Alex Lam

          But we just can set max to 30s, we still got the timeout issue. It doesn't have any problem for Composer form.

        CommentAdd your comment...
      2.  
        1
        0
        -1

        Bill Frost  Hi Bill, we got the same error, but we can't find Phantom JS service in TM.  What is the full service name?


          CommentAdd your comment...