Support

Troubleshooting printer discovery problems in a Known Host environment

This page applies to:

This article is for troubleshooting when Mobility Print clients are not able to discover the printers when the discovery option is set to Known Host.

How does Mobility Print work with Known Host?

Generally Known Host works great. Compared to DNS or mDNS, Known Host is the simplest discovery method to implement. Because itā€™s not as reliant on network topology than mDNS or DNS, less troubleshooting is required when problems arise, which makes it go-to method to share Mobility Print queues for most organizations.

The way it works is that the administrator shares a setup link with users that contains the Mobility Print server hostname or IP address. When users follow the prompts to download or install the client, the server address is included in the filename or the app store path. This allows the end userā€™s client to know the exact address of the server.

Continue reading to see different troubleshooting scenarios with the Known Host printer discovery method.

Windows/macOS - unable to download client

One issue weā€™ve heard is that users click the green ā€œDownloadā€ button to obtain the Mobility Print client only to be met with a page that says ā€œThis page isnā€™t workingā€ followed by a message that the Mobility Print server ā€œis currently unable to handle this requestā€ with a HTTP error 500.

The most common cause weā€™ve seen is that the Mobility Print server is unable to reach www.papercut.com to fetch the clients.

As we state in the Mobility Print System Requirements for the Known Host Discovery method:

When setting up Mobility Print with a known host, the following port and URL endpoints must be externally available to be able to retrieve the client setup files:

To resolve, work with your network administrator to make sure the Mobility Print server can access these URLs over the internet to download the clients to serve them to users.


If making these URLs from your Mobility Print server is not an option (for example if you have an ā€œair-gappedā€ network) consider the mDNS or DNS discovery methods as alternatives or use PaperCut Print Deploy .

Windows - Failed to retrieve printer list

The Mobility Print Known Host installer on Windows might display this error message for a few different reasons. Here are some examples:

  • Incorrect address - The installer filename will contain the IP address or hostname of the server. Double-check this is the correct address, and that the client is able to reach it over the network.
  • Blocked ports - the client will use ports 9163 and 9164 to connect to the Mobility Print server. Test access to these ports by opening a web browser on the client and browsing to http://<Your-Mobility-Print-Server-Name>:9163 and https://<Your-Mobility-Print-Server-Name>:9164. (Note that itā€™s normal to see a certificate error on port 9164 unless youā€™ve installed a trusted certificate on the Mobility Print server.
  • Invalid certificate details - If youā€™ve installed a trusted certificate on the Mobility Print server and youā€™re seeing this error, then there could be a problem establishing a secure connection.
    • A sure way to tell is to edit the installer file name to remove the words ā€œhttps-secureā€ and try running it again to see if the printer discovery is successful over a standard connection. If that worked, then thereā€™s likely a problem related to the certificate.

    • For the next step, test the certificate of the server by opening a browser window on the workstation and navigate to https://<Your-Mobility-Print-Server-Name>:9164 to confirm there are no certificate errors.

    • Lastly, make sure the installer filename contains an address for the Mobility Print server which matches the Common Name or the Subject Alternative Name (SAN) on the certificate, not an IP address, or the client wonā€™t trust the server. Update the Mobility Print server address by logging into the Mobility Print server web interface as an admin, choose Discovery Options, then Configure known host, and enter the fully qualified domain name which matches the name on your trusted certificate.

      āŒ pc-mobility-print-printer-setup-1.0.329[https-strict_192.168.0.1] (adding printers will likely fail unless your certificate contains this IP as a Subject Alternative Name)

      āœ… pc-mobility-print-printer-setup-1.0.329[https-strict_hostname.domain.org] (adding printers should succeed so long as the fully qualified domain name matches whatā€™s listed on the certificate)

iOS - Blank Screen/502 Error

iOS users will report that when trying to get connected to printers, instead of downloading the iOS profile, they see a blank screen or an error in the browser ā€œHTTP Error 502ā€, when Known Host is enabled.

This generally happens because the Mobility Print server cannot reach the iOS Profile signing service.

To resolve, please revisit the Mobility Print System Requirements and ensure the Mobility Print server can access this URL in particular to obtain signed iOS profiles: https://ios-profile-signing-dot-pc-mobility-print.appspot.com/sign-profile/v1 .

macOS - ā€œUnable to connect to serverā€

The full error says ā€œUnable to connect to the mobility print serverā€.

This can happen for a few reasonsā€¦

  • Verify that the installerā€™s filename contains the Mobility Print serverā€™s hostname or IP preceded by an underscore character, e.g., pc-mobility-print-client-30_mobilityqa.pb1.lan.dmg.
  • Verify that the client can reach the specified hostname or IP. Try pinging the address in a terminal Window.
  • Weā€™ve seen customers encounter this message when trying to deploy the macOS Known Host installer via an MDM, like Jamf. For this scenario, we recommend using PaperCutā€™s Print Deploy Solution. For more information about which product to use when, see: Print Deploy / Mobility Print - What product to use when .

Chromebooks - not able to discover printers

For troubleshooting Chromebook issues with Mobility Print and Known Host, this topic is covered in detail in our article Troubleshooting Chromebook Issues under problems discovering printers using Known Host .

Chromebooks - printer dialog takes a long time to load

Some customers have reported that when users try to print to their home printers while off the organizationā€™s network, the printer dialog can take a long time to load.

Why does this happen? When using an IP address for the Known Host address, Chrome will attempt to connect to the IP address, which will eventually time out. The printer dialog will not load until the timeout failure.

However when a FQDN/hostname is used instead, Chrome will find out from a DNS server much sooner that thereā€™s no host with a that address, and will load the printer dialog much sooner. This will allow users to get access to their home printers faster.

Further troubleshooting

Download the logs to share with your PaperCut Partner.

Windows - When running the installer, run it with /log flag and specify the value to the desired log file destination, e.g. mobility-print-printer-setup-235[mobility-server.lan] /LOG=ā€œinstall.logā€

Mac - When you run the MacOS installer, it will create a folder under Applications called PaperCut Mobility Print Client. In this folder, youā€™ll see a file called installer.log.

Further information on Mobility Print log files can be found on Finding the Mobility Print logs for Troubleshooting

 

Comments