The function "registerListener" returned an error condition (0x80460004)

That is the error I got when I tried to proof a document to PDF. What is the cause and how to solve it?

Screencap:

Stacktrace:

The function "registerListener" returned an error condition  (0x80460004).
  com.objectiflune.core.base.ApplicationException: The function "registerListener" returned an error condition  (0x80460004)
  	at com.objectiflune.scheduling.TaskScheduler.submitAndWait(TaskScheduler.java)
  	at com.objectiflune.scheduling.TaskScheduler.submitAndWait(TaskScheduler.java)
  	at com.objectiflune.contentcreation.mergeengine.remote.MergeEngineTaskScheduler.submitAndWait(MergeEngineTaskScheduler.java)
  	at com.objectiflune.contentcreation.mergeengine.remote.ContentCreationOperation.a(ContentCreationOperation.java)
  	at com.objectiflune.contentcreation.mergeengine.remote.b.call(b.java)
  	at com.objectiflune.contentcreation.mergeengine.remote.b.call(b.java)
  	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
  	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  	at java.base/java.lang.Thread.run(Unknown Source)

Edit: This happens with multiple available PDF output presets.

“Print” also fails with multiple different error messages. One of them:

image

and another one: After the “print” error above, another subsequent try to start the “print” command from the Menu leads to this:

image

I was able to print (instead of “proof print”) after a restart of Designer.

However if I do multiple consecutive prints, after two or three I again get the “Enter Credentials” message.

Are you using external resources in your Template? In case this is true then I would like to suggest you to take the information, as documented under the heading External resources in Connect on the webpage ‘Known Issues - PlanetPress Connect version 2023.1 User Guide (link)’, into account.

Because german support warned us that network drives can create problems (after working for over 12 years with Suite 7) we relocated resources to the servers C: drive, so there are no external resources on network drives in this template that need to be addressed via an UNC path.

The only external resources are output and job settings and translation files. Those are on C:

Network drives do have some limitations, one of which we are working on removing in 2023.2.

That registerListener error is a known issue that can occur when the merge engine tries to report an error. The error can be about absolutely anything, and unfortunately there’s no way to tell what it was - it gets completely obscured. The issue is fixed in 2023.2.

I’m not aware of any issues with request headers. I can’t imagine any large headers aside from the auth token, which can’t be the culprit since according to your screenshot you’re not using authentication. Very strange.

Correct, because of diffuse problems in the past we deactivated auth after german support told us to do that.

It is a nuisance having to restart the software after multiple prints to get rid of this message, but as a workaround we can live with that.

But I wonder if this may happen if the template is used in production?

i stil have this problem and my question about if this may happen in production was not answered … In addition: This was the first print I tried, it did not work. For a software with printing as the core competence this is not encouraging …

image

I suppose that start checking the Server and Designer logs is a good starting point.

The Connect logs can be found on the following location: C:\Users\{Username}\Connect\logs

Two times I can print, then I get the messages above.

Relevant Server log:

Summary for Job Set: 3,847,049
Start Time:			2023-10-18T12:22:43.809225300
Finish Time:			2023-10-18T12:22:47.447218200
DM + CC Time:			00:00:03.053
OC Time:			00:00:00.574
OC (Test) Time:			00:00:00.009
Full Job Time:			00:00:03.637
Unfiltered Record Count:	6
Filtered Record Count:		6
Page Count:			6
Cores:				8
Merge Engines (up to):		1
Licensed speed:			10,000 PPM
Overall speed:			98 PPM
[2023-10-18 12:23:00,001] INFO  [DefaultQuartzScheduler_Worker-5] com.objectiflune.cleanup.execution.QuartzCleanupJob.execute(QuartzCleanupJob.java) Commencing processing of cronGroup:10 (Core_2332)
[2023-10-18 12:23:00,001] INFO  [DefaultQuartzScheduler_Worker-5] com.objectiflune.cleanup.execution.impl.JobSetPhaseExecution.execute(CleanupPhaseExecution.java) Commencing JOB_SET cleanup phase for objects older than 10/17/23 12:23 PM.
[2023-10-18 12:23:00,032] INFO  [DefaultQuartzScheduler_Worker-5] com.objectiflune.cleanup.execution.impl.JobSetPhaseExecution.execute(CleanupPhaseExecution.java) Completed JOB_SET clean up phase in 031 ms.
[2023-10-18 12:23:00,032] INFO  [DefaultQuartzScheduler_Worker-5] com.objectiflune.cleanup.execution.impl.ContentSetPhaseExecution.execute(CleanupPhaseExecution.java) Commencing CONTENT_SET cleanup phase for objects older than 10/17/23 12:23 PM.
[2023-10-18 12:23:00,047] INFO  [DefaultQuartzScheduler_Worker-5] com.objectiflune.cleanup.execution.impl.ContentSetPhaseExecution.execute(CleanupPhaseExecution.java) Completed CONTENT_SET clean up phase in 015 ms.
[2023-10-18 12:23:00,047] INFO  [DefaultQuartzScheduler_Worker-5] com.objectiflune.cleanup.execution.impl.DataSetPhaseExecution.execute(CleanupPhaseExecution.java) Commencing DATA_SET cleanup phase for objects older than 10/17/23 12:23 PM.
[2023-10-18 12:23:00,129] INFO  [DefaultQuartzScheduler_Worker-5] com.objectiflune.cleanup.execution.impl.DataSetPhaseExecution.execute(CleanupPhaseExecution.java) Completed DATA_SET clean up phase in 082 ms.
[2023-10-18 12:23:00,129] INFO  [DefaultQuartzScheduler_Worker-5] com.objectiflune.cleanup.execution.impl.ManagedFilePhaseExecution.execute(CleanupPhaseExecution.java) Commencing MANAGED_FILE cleanup phase for objects older than 10/17/23 12:23 PM.
[2023-10-18 12:23:00,466] INFO  [DefaultQuartzScheduler_Worker-5] com.objectiflune.cleanup.execution.impl.ManagedFilePhaseExecution.execute(CleanupPhaseExecution.java) Completed MANAGED_FILE clean up phase in 337 ms.
[2023-10-18 12:23:00,466] INFO  [DefaultQuartzScheduler_Worker-5] com.objectiflune.cleanup.execution.impl.OrphanedEntityPhaseExecution.execute(CleanupPhaseExecution.java) Commencing ORPHANED_ENTITIES cleanup phase for objects older than 10/18/23 4:23 AM.
[2023-10-18 12:23:00,545] INFO  [DefaultQuartzScheduler_Worker-5] com.objectiflune.cleanup.execution.impl.OrphanedEntityPhaseExecution.execute(CleanupPhaseExecution.java) Completed ORPHANED_ENTITIES clean up phase in 079 ms.
[2023-10-18 12:23:00,545] INFO  [DefaultQuartzScheduler_Worker-5] com.objectiflune.cleanup.execution.impl.OrphanedFilePhaseExecution.execute(CleanupPhaseExecution.java) Commencing ORPHANED_FILES cleanup phase for objects older than 10/18/23 4:23 AM.
[2023-10-18 12:23:01,114] INFO  [DefaultQuartzScheduler_Worker-5] com.objectiflune.cleanup.execution.impl.OrphanedFilePhaseExecution.execute(CleanupPhaseExecution.java) Completed ORPHANED_FILES clean up phase in 569 ms.
[2023-10-18 12:23:01,114] INFO  [DefaultQuartzScheduler_Worker-5] com.objectiflune.cleanup.execution.QuartzCleanupJob.execute(QuartzCleanupJob.java) Processing of cronGroup:10 is completed in 1 sec 113 ms. (Core_2331)
[2023-10-18 12:23:26,681] INFO  [qtp1539827598-625] com.objectiflune.core.rest.services.BaseRestService.handshake(BaseRestService.java)  Server Engine REST Service available: FilestoreRestService
[2023-10-18 12:23:30,057] WARN  [qtp1539827598-627] org.eclipse.jetty.http.HttpParser.parseFields(HttpParser.java) Header is too large 8193>8192
[2023-10-18 12:23:43,488] WARN  [qtp1539827598-625] org.eclipse.jetty.http.HttpParser.parseFields(HttpParser.java) Header is too large 8193>8192
[2023-10-18 12:23:45,913] WARN  [qtp1539827598-406] org.eclipse.jetty.http.HttpParser.parseFields(HttpParser.java) Header is too large 8193>8192
[2023-10-18 12:23:47,833] WARN  [qtp1539827598-636] org.eclipse.jetty.http.HttpParser.parseFields(HttpParser.java) Header is too large 8193>8192
[2023-10-18 12:23:52,753] WARN  [qtp1539827598-586] org.eclipse.jetty.http.HttpParser.parseFields(HttpParser.java) Header is too large 8193>8192
[2023-10-18 12:23:54,500] WARN  [qtp1539827598-586] org.eclipse.jetty.http.HttpParser.parseFields(HttpParser.java) Header is too large 8193>8192
[2023-10-18 12:24:18,113] WARN  [qtp1539827598-586] org.eclipse.jetty.http.HttpParser.parseFields(HttpParser.java) Header is too large 8193>8192
[2023-10-18 12:24:31,086] WARN  [qtp1539827598-627] org.eclipse.jetty.http.HttpParser.parseFields(HttpParser.java) Header is too large 8193>8192
[2023-10-18 12:24:32,093] WARN  [qtp1539827598-406] org.eclipse.jetty.http.HttpParser.parseFields(HttpParser.java) Header is too large 8193>8192
[2023-10-18 12:24:32,490] WARN  [qtp1539827598-625] org.eclipse.jetty.http.HttpParser.parseFields(HttpParser.java) Header is too large 8193>8192
[2023-10-18 12:24:32,806] WARN  [qtp1539827598-627] org.eclipse.jetty.http.HttpParser.parseFields(HttpParser.java) Header is too large 8193>8192

relevant Designer log:

[2023-10-18 12:22:08,260] INFO  [main] com.objectiflune.datamining.DataminingPluginsFactory.getDataminingPlugin(DataminingPluginsFactory.java) Requested datamining plugin for emulation [XML]
[2023-10-18 12:22:08,261] INFO  [main] com.objectiflune.datamining.DataminingPluginsFactory.getDataminingPlugin(DataminingPluginsFactory.java) Datamining plugin for emulation [XML] is returned
[2023-10-18 12:22:11,972] INFO  [main] com.objectiflune.application.designer.perspective.internal.handlers.PrintHandler.generateOutput(PrintHandler.java) Got edition: PlanetPress (Dsgn_1443)
[2023-10-18 12:22:12,156] INFO  [main] com.objectiflune.core.shared.model.CreateDefaultPrinterDefinitions.<init>(CreateDefaultPrinterDefinitions.java) Starting default printer definition creation... (Core_551)
[2023-10-18 12:22:12,156] INFO  [main] com.objectiflune.core.shared.model.CreateDefaultPrinterDefinitions.<init>(CreateDefaultPrinterDefinitions.java) Finished default printer definition creation (Core_552)
[2023-10-18 12:22:12,175] INFO  [main] com.objectiflune.core.xml.internal.XmlMigrator.migrateElement(XmlMigrator.java) Migrating com.objectiflune.core.config.OutputCreationConfig 1.0.10.0 to 1.0.18.0 (Core_1351)
[2023-10-18 12:22:12,207] INFO  [main] com.objectiflune.core.xml.internal.XmlMigrator.migrateElement(XmlMigrator.java) Migrating com.objectiflune.core.config.OutputCreationConfig 1.0.15.0 to 1.0.18.0 (Core_1351)
[2023-10-18 12:22:14,712] INFO  [main] com.objectiflune.datamining.DataminingPluginsFactory.getDataminingPlugin(DataminingPluginsFactory.java) Requested datamining plugin for emulation [XML]
[2023-10-18 12:22:14,713] INFO  [main] com.objectiflune.datamining.DataminingPluginsFactory.getDataminingPlugin(DataminingPluginsFactory.java) Datamining plugin for emulation [XML] is returned
[2023-10-18 12:22:35,718] INFO  [main] com.objectiflune.datamining.DataminingPluginsFactory.getDataminingPlugin(DataminingPluginsFactory.java) Requested datamining plugin for emulation [XML]
[2023-10-18 12:22:35,719] INFO  [main] com.objectiflune.datamining.DataminingPluginsFactory.getDataminingPlugin(DataminingPluginsFactory.java) Datamining plugin for emulation [XML] is returned
[2023-10-18 12:22:41,144] INFO  [main] com.objectiflune.application.designer.perspective.internal.handlers.PrintHandler.generateOutput(PrintHandler.java) Got edition: PlanetPress (Dsgn_1443)
[2023-10-18 12:22:41,299] INFO  [main] com.objectiflune.core.shared.model.CreateDefaultPrinterDefinitions.<init>(CreateDefaultPrinterDefinitions.java) Starting default printer definition creation... (Core_551)
[2023-10-18 12:22:41,299] INFO  [main] com.objectiflune.core.shared.model.CreateDefaultPrinterDefinitions.<init>(CreateDefaultPrinterDefinitions.java) Finished default printer definition creation (Core_552)
[2023-10-18 12:22:41,319] INFO  [main] com.objectiflune.core.xml.internal.XmlMigrator.migrateElement(XmlMigrator.java) Migrating com.objectiflune.core.config.OutputCreationConfig 1.0.10.0 to 1.0.18.0 (Core_1351)
[2023-10-18 12:22:41,351] INFO  [main] com.objectiflune.core.xml.internal.XmlMigrator.migrateElement(XmlMigrator.java) Migrating com.objectiflune.core.config.OutputCreationConfig 1.0.15.0 to 1.0.18.0 (Core_1351)
[2023-10-18 12:22:42,777] INFO  [main] com.objectiflune.datamining.DataminingPluginsFactory.getDataminingPlugin(DataminingPluginsFactory.java) Requested datamining plugin for emulation [XML]
[2023-10-18 12:22:42,777] INFO  [main] com.objectiflune.datamining.DataminingPluginsFactory.getDataminingPlugin(DataminingPluginsFactory.java) Datamining plugin for emulation [XML] is returned
[2023-10-18 12:23:26,671] INFO  [main] com.objectiflune.application.designer.perspective.internal.handlers.PrintHandler.generateOutput(PrintHandler.java) Got edition: PlanetPress (Dsgn_1443)
[2023-10-18 12:23:26,818] INFO  [main] com.objectiflune.core.shared.model.CreateDefaultPrinterDefinitions.<init>(CreateDefaultPrinterDefinitions.java) Starting default printer definition creation... (Core_551)
[2023-10-18 12:23:26,819] INFO  [main] com.objectiflune.core.shared.model.CreateDefaultPrinterDefinitions.<init>(CreateDefaultPrinterDefinitions.java) Finished default printer definition creation (Core_552)
[2023-10-18 12:23:26,836] INFO  [main] com.objectiflune.core.xml.internal.XmlMigrator.migrateElement(XmlMigrator.java) Migrating com.objectiflune.core.config.OutputCreationConfig 1.0.10.0 to 1.0.18.0 (Core_1351)
[2023-10-18 12:23:26,873] INFO  [main] com.objectiflune.core.xml.internal.XmlMigrator.migrateElement(XmlMigrator.java) Migrating com.objectiflune.core.config.OutputCreationConfig 1.0.15.0 to 1.0.18.0 (Core_1351)
[2023-10-18 12:23:28,756] INFO  [main] com.objectiflune.datamining.DataminingPluginsFactory.getDataminingPlugin(DataminingPluginsFactory.java) Requested datamining plugin for emulation [XML]
[2023-10-18 12:23:28,756] INFO  [main] com.objectiflune.datamining.DataminingPluginsFactory.getDataminingPlugin(DataminingPluginsFactory.java) Datamining plugin for emulation [XML] is returned
[2023-10-18 12:23:30,059] ERROR [Worker-23: Printing via the Print Server] com.objectiflune.application.designer.editors.operations.PrintServerOperation.a(PrintServerOperation.java) <h1>Bad Message 431</h1><pre>reason: Request Header Fields Too Large</pre>
com.objectiflune.core.base.ApplicationException: <h1>Bad Message 431</h1><pre>reason: Request Header Fields Too Large</pre>
	at com.objectiflune.core.rest.clients.BaseRestClient.checkResponse(BaseRestClient.java)
	at com.objectiflune.core.rest.clients.FileUploadRestClient.a(FileUploadRestClient.java)
	at com.objectiflune.core.rest.clients.FileUploadRestClient.a(FileUploadRestClient.java)
	at com.objectiflune.core.rest.clients.FileUploadRestClient.uploadOutputCreationConfig(FileUploadRestClient.java)
	at com.objectiflune.application.designer.editors.operations.PrintServerOperation.a(PrintServerOperation.java)
	at com.objectiflune.application.designer.editors.operations.d.run(d.java)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: javax.ws.rs.WebApplicationException: HTTP 431 Request Header Fields Too Large
	... 7 common frames omitted
[2023-10-18 12:23:30,059] ERROR [Worker-23: Printing via the Print Server] com.objectiflune.application.designer.editors.operations.PrintServerOperation.run(d.java) Print Error (Dsgn_251)
com.objectiflune.core.base.ApplicationException: <h1>Bad Message 431</h1><pre>reason: Request Header Fields Too Large</pre>
	at com.objectiflune.core.rest.clients.BaseRestClient.checkResponse(BaseRestClient.java)
	at com.objectiflune.core.rest.clients.FileUploadRestClient.a(FileUploadRestClient.java)
	at com.objectiflune.core.rest.clients.FileUploadRestClient.a(FileUploadRestClient.java)
	at com.objectiflune.core.rest.clients.FileUploadRestClient.uploadOutputCreationConfig(FileUploadRestClient.java)
	at com.objectiflune.application.designer.editors.operations.PrintServerOperation.a(PrintServerOperation.java)
	at com.objectiflune.application.designer.editors.operations.d.run(d.java)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: javax.ws.rs.WebApplicationException: HTTP 431 Request Header Fields Too Large
	... 7 common frames omitted
[2023-10-18 12:23:43,480] INFO  [main] com.objectiflune.application.designer.perspective.internal.handlers.PrintHandler.generateOutput(PrintHandler.java) Got edition: PlanetPress (Dsgn_1443)
[2023-10-18 12:23:57,702] WARN  [qtp912339953-205] org.eclipse.jetty.http.HttpParser.parseFields(HttpParser.java) Header is too large 8193>8192
[2023-10-18 12:24:04,100] WARN  [qtp912339953-205] org.eclipse.jetty.http.HttpParser.parseFields(HttpParser.java) Header is too large 8193>8192
[2023-10-18 12:24:18,102] INFO  [main] com.objectiflune.application.designer.perspective.internal.handlers.PrintHandler.generateOutput(PrintHandler.java) Got edition: PlanetPress (Dsgn_1443)
[2023-10-18 12:26:36,673] WARN  [qtp912339953-99] org.eclipse.jetty.http.HttpParser.parseFields(HttpParser.java) Header is too large 8193>8192
[2023-10-18 12:26:37,036] WARN  [qtp912339953-276] org.eclipse.jetty.http.HttpParser.parseFields(HttpParser.java) Header is too large 8193>8192
[2023-10-18 12:26:38,536] WARN  [qtp912339953-204] org.eclipse.jetty.http.HttpParser.parseFields(HttpParser.java) Header is too large 8193>8192
[2023-10-18 12:29:32,861] WARN  [qtp912339953-263] org.eclipse.jetty.http.HttpParser.parseFields(HttpParser.java) Header is too large 8193>8192
[2023-10-18 12:29:45,326] WARN  [qtp912339953-100] org.eclipse.jetty.http.HttpParser.parseFields(HttpParser.java) Header is too large 8193>8192
[2023-10-18 12:29:46,832] WARN  [qtp912339953-99] org.eclipse.jetty.http.HttpParser.parseFields(HttpParser.java) Header is too large 8193>8192
[2023-10-18 12:29:56,139] INFO  [main] com.objectiflune.application.designer.perspective.internal.handlers.PrintHandler.generateOutput(PrintHandler.java) Got edition: PlanetPress (Dsgn_1443)

Additional info: If I close and reopen Designer print works again.