Issue Title: implicitclass queues failing for HP ENVY Inspire 7900 (Ubuntu 24.04)

Đang mở
#57 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Ít trao đổi
Công nghệ
c, linux, ubuntu

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện lỗi với một hàng đợi implicitclass được tự động phát hiện cho HP ENVY Inspire 7900, sau đó so sánh các nhật ký lpstat, lpoptions và backend của hàng đợi đó với một URI trực tiếp được cấu hình thủ công. Hoàn tất khi hàng đợi được tạo tự động cung cấp một đích hợp lệ và xử lý các lệnh in mà không gặp lỗi phân giải tên máy chủ hoặc xác thực chứng chỉ.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Description:
Automatically discovered printer queues created by cups-browsed (v2.0.0) are failing to process jobs on Ubuntu 24.04. The service creates an implicitclass destination that results in
either host name resolution errors or certificate validation failures.

Environment:

  • OS: Ubuntu 24.04 LTS (Noble)
  • CUPS Version: 2.4.7-1.2ubuntu7.9
  • cups-browsed Version: 2.0.0-0ubuntu10.3
  • Printer: HP ENVY Inspire 7900 series [C148BD] (WiFi connected)

Symptoms:

  1. Jobs sent to the auto-generated queue remain stuck or fail immediately.
  2. lpstat -l shows error: No destination host name supplied by cups-browsed for printer "HP_ENVY_Inspire_7900_series_C148BD".
  3. Alternatively, the printer state reason shows cups-pki-invalid when attempting to use the ipps URI generated by the service.
  4. Logs show backend failures: cfFilterExternal (ipp): Backend (PID XXX) stopped with status 4.

Observed lpoptions for the failing queue:

1 device-uri=implicitclass://HP_ENVY_Inspire_7900_series_C148BD%40HP489EBDC148BD.local/
2 printer-make-and-model='HP Printer, driverless, 2.0.0'
3 printer-state-reasons=cups-pki-invalid

Steps to Reproduce:

  1. Enable cups-browsed on a network with an HP ENVY Inspire printer.
  2. Wait for the printer to be auto-discovered and the implicitclass queue to be created.
  3. Attempt to print any document to this queue.

Workaround/Resolution:
The issue was resolved by:

  1. Disabling and stopping the cups-browsed service.
  2. Manually adding the printer using a direct HPLIP URI (hp:/net/ENVY_Inspire_7900_series?ip=10.0.0.49) or a direct IPP URI.
  3. The manual queue works perfectly, suggesting the implicitclass wrapper or the mDNS resolution within cups-browsed is failing to pass the correct destination information to the CUPS
    backend.

Ngôn ngữ chính
C
Star
51
Fork
21
Merge trung bình
22 giờ 49 phút
Pull request đã merge (30 ngày)
6

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của OpenPrinting/cups-browsed

Tất cả issue của OpenPrinting/cups-browsed

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.