Launchpad has imported 7 comments from the remote bug at https://bugs.freedesktop.org/show_bug.cgi?id=56344.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. ------------------------------------------------------------------------ On 2012-10-24T06:44:12+00:00 Franco-violi wrote: On Linux system, cups has a timeout of 300 seconds by default. When you print from OpenOffice the first time, everything is ok. If you wait more then 300 seconds and then try to print again, nothing happen. When nothing happen, go into the printer dialog and you will get an empty list. Increasing at infinity the cups timeout, you have no problem but this cannot be the solution. If you drop the cups option using the printer admin dialog, everything is fine. Reply at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1020048/comments/11 ------------------------------------------------------------------------ On 2012-11-06T14:53:34+00:00 Nevyn wrote: I've got a similar problem also. libreoffice 3.5.4 kubuntu 12.04 i386. My libreoffice loses cups connection after around 5 min. All printers are shown, but doesn't print including cups-pdf printer. I supposed the printers are shown through /home/<user>/.cups/client.conf with 'ServerName <someprintserver>' Since we're using cups on regular basis we are hoping for a solution. Reply at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1020048/comments/14 ------------------------------------------------------------------------ On 2012-11-13T17:36:17+00:00 Nevyn wrote: Looks a lot like Bug 50784 https://bugs.freedesktop.org/show_bug.cgi?id=50784 Reply at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1020048/comments/15 ------------------------------------------------------------------------ On 2012-11-16T08:28:47+00:00 LISAG wrote: Also sounds like: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1020048 We can confirm this issue and also that the workaround with a higher timeout value for CUPS works. Our details: Ubuntu 12.04 64 Bit 3.2.0-33-generic #52-Ubuntu SMP Libre Office 3.6.0~rc4-0ubuntu3~ppa1~precise1 We performed a debugging session yesterday and observed that Libre Office looses the connection to the CUPS server within 5 minutes: - tshark on the CUPS server, observing the connection close: 353.291104 192.168.1.1 -> 192.168.1.115 IPP 245 IPP response 353.291352 192.168.1.115 -> 192.168.1.1 TCP 66 52363 > 631 [ACK] Seq=7064 Ack=45384 Win=42272 Len=0 TSval=8393025 TSecr=8563624 [no further packages] 384.142218 192.168.1.1 -> 192.168.1.115 TCP 66 631 > 52363 [FIN, ACK] Seq=45384 Ack=7064 Win=33792 Len=0 TSval=8571337 TSecr=8393025 384.178858 192.168.1.115 -> 192.168.1.1 TCP 66 52363 > 631 [ACK] Seq=7064 Ack=45385 Win=42272 Len=0 TSval=8400747 TSecr=8571337 - Other actions of Libre Office will be answered with a connection reset: 406.177739 192.168.1.115 -> 192.168.1.1 TCP 221 [TCP segment of a reassembled PDU] 406.177767 192.168.1.1 -> 192.168.1.115 TCP 54 631 > 52363 [RST] Seq=45385 Win=0 Len=0 406.177840 192.168.1.115 -> 192.168.1.1 IPP 341 IPP request 406.177851 192.168.1.1 -> 192.168.1.115 TCP 54 631 > 52363 [RST] Seq=45385 Win=0 Len=0 - From this point of time on, Libre Office "knows" that there is no connection with the CUPS server and doesn't open a new one. - stracing shows the second printing attempt: 27989 18:35:53 sendto(35, "POST /printers/lp16 HTTP/1.1\r\nContent-Length: 275\r\nContent-Type: application/ipp\r\nHost: myhost.mydomain.tld\r\nUser-Agent: CUPS/1.5.3\r\nExpect: 100-continue\r\n\r\n", 155, 0, NULL, 0) = 155 27989 18:35:53 sendto(35, "\1\1\0\5\0\0\0\1\1G\0\22attributes-charset\0\5utf-8H\0\33attributes-natural-language\0\5de-deE\0\vprinter-uri\0!ipp://localhost:631/printers/lp16B\0\24requesting-user-name\0\6myusernameB\0\10job-name\0\nUnbenannt1I\0\17document-format\0\30app"..., 275, 0, NULL, 0) = 275 27989 18:35:53 poll([{fd=35, events=POLLIN}], 1, 1000) = 1 ([{fd=35, revents=POLLIN}]) 27989 18:35:53 poll([{fd=35, events=POLLIN}], 1, 60000) = 1 ([{fd=35, revents=POLLIN}]) 27989 18:35:53 recvfrom(35, "", 2048, 0, NULL, NULL) = 0 Reply at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1020048/comments/17 ------------------------------------------------------------------------ On 2012-12-13T08:22:03+00:00 Alexpro wrote: Created attachment 71432 Force reconnection to CUPS server on print failure I've got the same bug when printing stops after 5 mins. Attached patch solves this problem for LibreOffice by dropping old connection and retrying on print error. Closing old connection is done with cupsSetServer(NULL) Reply at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1020048/comments/25 ------------------------------------------------------------------------ On 2013-01-16T00:14:45+00:00 Francisco javier wrote: I have Libreoffice 3.6.4.3 in gentoo and after 5 minuts stop printing.. my clients in schools same problem. Add TimeOut 9000 in cupsd.conf solves half :-( Reply at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1020048/comments/26 ------------------------------------------------------------------------ On 2013-01-31T19:40:10+00:00 Steve Wilson wrote: Any news of when this might be fixed? Increasing the CUPS timeout apparently caused problems with Acrobat Reader so that's not an option for us. That leaves me with telling the users that, if they want to print, they need to either print within five minutes of opening LibreOffice or restart LibreOffice. Not too good... :-) Thanks! Steve Reply at: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1020048/comments/30 ** Changed in: df-libreoffice Status: Unknown => New ** Changed in: df-libreoffice Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1020048 Title: after certain time printing to cups stops working To manage notifications about this bug go to: https://bugs.launchpad.net/df-libreoffice/+bug/1020048/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs