** Also affects: cups (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/1884303
Title:
LAN printing hell on 20.04 (UPnP VS mDNS? Or maybe IPv4 vs IPv6??)
Status in Ubuntu MATE:
New
Status in cups package in Ubuntu:
New
Bug description:
Hello,
I have been experiencing this problem for at least 2 LTS versions I
believe and it concerns and issue with a LAN printer. I am still not
quite too sure if it involves a happy mix-up of TCPvsmDNSvsuPnP and|or
if it's a lpstat VS GUI binary setting and|or ??
Anyways, when using 20.04 fully patched(and also possibly not) while
using a LAN printer there seems to be a "duplicated-corrupted entry"
that ends up somewhat generated in the system.
For example:
$ lpstat -p
printer Samsung_C460_Series_SEC30CDA7A49F15_ now printing
Samsung_C460_Series_SEC30CDA7A49F15_-12. enabled since Fri 19 Jun 2020
01:09:47 PM
$
And MATE agrees with that (See attachment "1.jpg")
But when using Atril (See "2.jpg") or LOWriter (See "3.jpg") (or any
other binary such as firefox) the story isn't so clear.
That brought me back to this:
$ lpstat -p
lpstat: No destinations added.
$
And MATE still agrees with that (See "4.jpg")
Yet LOWriter (and co) seemed a bit still challenged (See "5.jpg")
Anyways, time to delete everything and readd. But why are there 2x
choices? (See "6.jpg")
Looking carefully at both entries, I believe that one is the TCP
socket (See "7.jpg") while the 2nd one is via SSDP/UPnP (See "8.jpg").
But anyways, I always go for the TCP entry and that's done (See
"9.jpg").
$ lpstat -p 1 ↵
printer Samsung-C460 is idle. enabled since Fri 19 Jun 2020 02:36:42 PM
$
And MATE again agrees (See "10.jpg")
Yaaay! Time to print out that SOB, so let's go back into Atril and print it
(See "11.jpg")
Nothing surprising there: the old ghosted/MAC addressed profile still shows.
But did printing on the newly added via TCP one actually worked? YES!
This time it did. Why this time? Because in other times it will just
die in the spoiler and have me started back at the very beginning of
this ticket.
Also, a major point of interest is: after having readded the printer,
notice how lpstat named it, it was "Samsung-C460". Well, if/when I'll
reboot the system, that simple name will be gone and will have been
changed to "Samsung-C460-Series-SEC30CDA7A49F15" while still showing
this "Samsung_C460_Series_SEC30CDA7A49F15_" ghost.
From the printer's perspective, here is what's opened on it:
PORT STATE SERVICE VERSION
80/tcp open http Samsung SyncThru Web Service
|_http-favicon: Unknown favicon MD5: 10E320BB701D0D099E175B6C339958F9
| http-methods:
|_ Supported Methods: GET POST
| http-robots.txt: 1 disallowed entry
|_*
|_http-title: Site doesn't have a title (text/html; charset=utf-8).
427/tcp open svrloc?
515/tcp open printer?
| fingerprint-strings:
| TerminalServerCookie:
|_ PortThru lpd: No Jobs on this queue
631/tcp open http Samsung SyncThru Web Service
|_http-favicon: Unknown favicon MD5: 10E320BB701D0D099E175B6C339958F9
| http-methods:
|_ Supported Methods: GET POST
|_http-title: Site doesn't have a title (text/html; charset=utf-8).
5200/tcp open targus-getdata?
| fingerprint-strings:
| DNSStatusRequestTCP, DNSVersionBindReqTCP, FourOhFourRequest,
GenericLines, GetRequest, HTTPOptions, Help, Kerberos, LDAPSearchReq,
LPDString, RPCCheck, RTSPRequest, SMBProgNeg, SSLSessionReq, TLSSessionReq,
TerminalServerCookie, X11Probe:
| HTTP/1.1 405 Method Not Allowed
| Connection: close
|_ Server: ESWeb/0.5
9100/tcp open jetdirect?
10001/tcp open scp-config?
Here's what /var/log/cups/error_log as to say about all of this:
E [19/Jun/2020:00:00:00 -0400] Unable to open listen socket for address
[v1.::1]:631 - Cannot assign requested address.
E [19/Jun/2020:13:02:02 -0400] [Job 10] File \'\' not found
E [19/Jun/2020:13:05:58 -0400] Unable to open listen socket for address
[v1.::1]:631 - Cannot assign requested address.
E [19/Jun/2020:13:08:09 -0400] [Job 11] No destination host name supplied by
cups-browsed for printer \"Samsung_C460_Series_SEC30CDA7A49F15_\", is
cups-browsed running?
E [19/Jun/2020:13:08:39 -0400] [Job 12] No destination host name supplied by
cups-browsed for printer \"Samsung_C460_Series_SEC30CDA7A49F15_\", is
cups-browsed running?
E [19/Jun/2020:13:09:58 -0400] [Client 2371] Returning IPP
client-error-not-possible for Cancel-Job (ipp://localhost/jobs/11) from
localhost.
E [19/Jun/2020:13:09:58 -0400] [Client 2493] Returning IPP
client-error-not-possible for Cancel-Job (ipp://localhost/jobs/11) from
localhost.
E [19/Jun/2020:13:10:07 -0400] [Job 12] No destination host name supplied by
cups-browsed for printer \"Samsung_C460_Series_SEC30CDA7A49F15_\", is
cups-browsed running?
E [19/Jun/2020:13:10:17 -0400] [Client 2371] Returning IPP
client-error-not-possible for Cancel-Job (ipp://localhost/jobs/11) from
localhost.
E [19/Jun/2020:13:10:17 -0400] [Client 2706] Returning IPP
client-error-not-possible for Cancel-Job (ipp://localhost/jobs/11) from
localhost.
E [19/Jun/2020:13:11:17 -0400] [Client 3301] Returning IPP
client-error-not-possible for Cancel-Job (ipp://localhost/jobs/11) from
localhost.
E [19/Jun/2020:13:11:17 -0400] [Client 3300] Returning IPP
client-error-not-possible for Cancel-Job (ipp://localhost/jobs/11) from
localhost.
E [19/Jun/2020:13:11:20 -0400] [Client 3301] Returning IPP
client-error-not-possible for Cancel-Job (ipp://localhost/jobs/11) from
localhost.
E [19/Jun/2020:13:11:20 -0400] [Client 3335] Returning IPP
client-error-not-possible for Cancel-Job (ipp://localhost/jobs/11) from
localhost.
E [18/Jun/2020:00:00:35 -0400] Unable to open listen socket for address
[v1.::1]:631 - Cannot assign requested address.
W [18/Jun/2020:00:00:35 -0400] CreateProfile failed:
org.freedesktop.ColorManager.AlreadyExists:profile id
\'Samsung_C460_Series_SEC30CDA7A49F15_-Gray..\' already exists
W [18/Jun/2020:00:00:35 -0400] CreateProfile failed:
org.freedesktop.ColorManager.AlreadyExists:profile id
\'Samsung_C460_Series_SEC30CDA7A49F15_-DeviceN..\' already exists
The last thing I think I need to mention about this is that IPv6 is
disabled on both my system and on the printer.
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-mate/+bug/1884303/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp