Context:
Google Cloud Print has been setup properly in EveryonePrint, following step by step instructions provided, and no errors have been encountered while doing such.
Issue:
Google Cloud Print printers are reported as being "off-line", either permanently or at random.
Resolution:
Google Cloud Print uses XMPP/Google talk communication protocol connection:
- make sure that outbound communication is open on TCP port 5222 (XMPP, using STARTTLS) with a persistent connection to: talk.google.com
- Also making sure that TCP port 443 (HTTPS) is allowing connections to:
- https://www.googleapis.com/*
- https://accounts.google.com/*
- https://www.google.com/cloudprint/*
When the outgoing XMPP connection is disconnected for some reason the printers appear as "off-line".
Important: EveryonePrint has a re-connect procedure if the XMPP connection is lost for some reason. However, this re-connect process is only tried for 30 minutes. After that it might be an indication that a major network or configuration issue occurred, so the application gives-up trying to re-connect.
Log file in<Everyoneprint-install-dir>\logs may record a WARNING log message like:
"30 minutes reached and no reconnect possible, giving up now!"
This message could be logged for each printer.
If this is the case "EveryonePrint Web service" needs to be re-started to get the printers show "on-line" again.
How to: Verify connectivity to Google Cloud Print:
- Open a CMD line
Type :telnet talk.google.com 5222
- You should get a black screen with a blinking cursor, indicating that the connection is successful:
Enter '?' and press enter the server replies with:
HTTP/1.1 301 Moved Permanently
This verifies a connection has been sucessful with Google Cloud Print infrastructure.
Location: http://www.google.com/hangouts/
Content-Type: text/html
Content-Length: 178<HTML><HEAD><TITLE>301 Moved Permanently</TITLE></HEAD><BODY><H1>302 Moved</H1>The document has moved permanently<A HREF="http://www
.google.com/hangouts/">here</A>.</BODY></HTML>Connection to host lost.
Ref: https://support.google.com/a/answer/3179170?hl=en&ref_topic=3179014 => Questions ?=> "Is Port 5222 required inbound for the print server?"
Comments
0 comments
Please sign in to leave a comment.