davesteele / cloudprint-service

Debian packaging for the Python cloudprint proxy utility
GNU General Public License v3.0
71 stars 4 forks source link

Connection refused #52

Closed tobiasjan closed 6 years ago

tobiasjan commented 6 years ago

Hi davesteele,

tried your project but i only can add the printers to google but they are offline all the time. When i start the service i get the following message: Polling for jobs on Printer1 Polling for jobs on Printer2 Establishing connection to xmpp server talk.google.com:5223 ERROR: Could not Connect to Cloud Service. Will Try again in 60 Seconds Traceback (most recent call last): File "/usr/share/cloudprint/cloudprint/cloudprint.py", line 455, in process_jobs_once xmpp_conn.connect(XMPP_SERVER_HOST, XMPP_SERVER_PORT, cpp.auth) File "/usr/share/cloudprint/cloudprint/xmpp.py", line 147, in connect self._wrappedsock.connect((host, port)) File "/usr/lib/python2.7/ssl.py", line 876, in connect self._real_connect(addr, False) File "/usr/lib/python2.7/ssl.py", line 863, in _real_connect socket.connect(self, addr) File "/usr/lib/python2.7/socket.py", line 228, in meth return getattr(self._sock,name)(*args) error: [Errno 111] Connection refused

im stuck at this point. Hope for your help

davesteele commented 6 years ago

Is TCP port 5223 blocked on your end? It's used to maintain status with the service.

tobiasjan commented 6 years ago

Hello dave, thank you the problem is solved.