SonicWall with Content Filter Service

KB Home   |   SonicWall with Content Filter Service

This article is only applicable if you are running PaperCut NG/MF version 18.1.3 or 18.1.4. If you are running an older version of PaperCut and seeing the error below please see the following article on Sonic Wall’s website.

Starting from version 18.2.0, Print Provider sends host HTTP header by default when communicating with the PaperCut NG/MF Application Server.

Problem:

Print Provider cannot communicate with the PaperCut NG/MF Application Server and Site Server when a content filter service is used

Description:

Some firewalls with a content filter service block communication between the PaperCut NG/MF Application Server (and Site Servers) and Print Providers.

Content filtering services require a specific HTTP header (Host: <host>:<port>).
Where:

<host> is the domain name of the server
<port> is the TCP port number that the server is listening to.

However, packets sent by the Print Provider to the (PaperCut NG/MF Application Server and Site Servers) do not contain that header. This means the content filtering service rejects the packets.

If this happens, your secondary servers and Direct Print Monitors will not work, and printers will not show up on the Printers tab in the PaperCut NG/MF Admin interface. If this happens, check the Print Provider log in the following location for errors:

[app-path]\providers\print\[platform]\print-provider.log:

A common error message indicating this problem is:

ERROR: error while waiting for socket data - A (Error: 10054)

Why don’t we just send this header by default?

This change was introduced in 18.1.3. To avoid changing HTTP traffic for thousands of sites with unique network configurations, we introduced it as an opt in change. In the future, this setting will be switched on by default.

Solution:

Modify the Print Provider configuration as follows.
1. In a text editor, open the following configuration file:

[app-path]\providers\print\[platform]\print-provider.conf

2. Add the following key and value to the file:

AddHTTPHostHeader=true

3. Save the file.

4. Restart the PaperCut Print Provider service.

5. Open the Print Provider log:

[app-path]\providers\print\[platform]\print-provider.log.

6. Check for errors and confirm that the secondary server is monitoring the printers.


Categories: Troubleshooting


Keywords: firewall

Comments

Share your findings and experience with other PaperCut users. Feel free to add comments and suggestions about this Knowledge Base article. Please don't use this for support requests.

Article last modified on October 18, 2018, at 09:06 PM
Printable View   |   Article History   |   Edit Article