Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"http://cupsserver:631 failed to open, retrying" for Windows clients #2006

Closed
michaelrsweet opened this issue Oct 4, 2006 · 4 comments
Closed

Comments

@michaelrsweet
Copy link
Collaborator

Version: 1.2.4
CUPS.org User: murdie

Using Windows XP SP2 (myself) or Windows 2003 Server SP1 (Luciano Giacchetta) with the latest 'hot fixes' and CUPS 1.2.4 we can print jobs from Windows via IPP (http://cupsserver:631/printers/foo) - but double clicking on the Windows printer icon to bring up the small window listing printer jobs, we see that the list is empty but instead shows at the top the message:

"http://cupsserver:631 failed to open, retrying"

The problem does not occur with CUPS 1.1.23.

In debug mode with the failing version, Luciano saw only this:

D [22/Sep/2006:14:47:20 -0400] cupsdReadClient: 6 POST
/printers/ts-ti-19 HTTP/1.1
D [22/Sep/2006:14:47:20 -0400] cupsdAuthorize: No authentication data
provided.
D [22/Sep/2006:14:47:20 -0400] Get-Printer-Attributes
http://cups/printers/ts-ti-19
D [22/Sep/2006:14:47:20 -0400] cupsdProcessIPPRequest: 6 status_code=0
(successful-ok)

I also see a report in a Linux Forums posting (dated 26 July 2006) from someone else who appears to have something similar to this problem (his "Plan B") - http://www.linuxforums.org/forum/ubuntu-help/66590-advanced-help-needed-cups-w-client-ipp-samba.html

(This submission is a formalisation of the thread "Windows clients of CUPS - newbie question" that I started in cups.general - the clearest exposition of the problem is my posting of 07:51 September 27.
Luciano Giacchetta confirms that this problem exists in his posting to the same thread of 17:35 September 27. I used his analysis above, as it's more detailed than mine! Thanks, Luciano!)

John A. Murdie

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

Please bump the LogLevel to "debug2" and then send an excerpt of your error_log file from when the Windows client queries your CUPS server.

Thanks!

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: murdie

Requested extract should be appended when you look at this. It should show the submission of a print job from a Windows XP client system to a printer http://printserver:631/pp23, followed by the opening of the Windows XP queue list box to see what's going on, and whatever causes the Windows error message.

John A. Murdie

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

Fixed in Subversion repository.

@michaelrsweet
Copy link
Collaborator Author

"str2006.patch":

Index: ipp.c

--- ipp.c (revision 6022)
+++ ipp.c (working copy)
@@ -3430,8 +3430,8 @@
* Filter attributes as needed...
*/

  • if (group != IPP_TAG_ZERO && fromattr->group_tag != group &&

  •    fromattr->group_tag != IPP_TAG_ZERO && !fromattr->name)
    
  • if ((group != IPP_TAG_ZERO && fromattr->group_tag != group &&

  •     fromattr->group_tag != IPP_TAG_ZERO) || !fromattr->name)
    

    continue;

    if (!ra || cupsArrayFind(ra, fromattr->name))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant