@"Malcolm-whsg (malcolm-whsg) wrote on 2012-10-24:"

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

-- 
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

Reply via email to