Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

ipp-usb snap: failed to allocate HTTP port%!

Open
#115 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
go

Research direction

Start with the snap logs at /var/snap/ipp-usb/common/var/log/main.log and the device-specific log shown in the report, tracing the failed HTTP port allocation and retry sequence. Done means identifying the cause of the allocation failure and verifying that the Officejet Pro 6230 can start without the reported error.

Written by the indexing model from the issue text.

Description

Hi,

I am using the latest edge snap of ipp-usb and I get

==> /var/snap/ipp-usb/common/var/log/03f0-7312-TH124BN196-HP-Officejet-Pro-6230.log <==
17-08-2025 13:18:33:
17-08-2025 13:18:33:   ===============================
17-08-2025 13:18:33: + Bus 001 Device 008: opened Officejet Pro 6230
17-08-2025 13:18:33:   Device info:
17-08-2025 13:18:33:     USB Port:      3
17-08-2025 13:18:33:     Ident:         03f0-7312-TH124BN196-HP-Officejet-Pro-6230
17-08-2025 13:18:33:     Manufacturer:  HP
17-08-2025 13:18:33:     Product:       Officejet Pro 6230
17-08-2025 13:18:33:     SerialNumber:  TH124BN196
17-08-2025 13:18:33:     MfgAndProduct: HP Officejet Pro 6230
17-08-2025 13:18:33:     BasicCaps:     print,scan,fax,http
17-08-2025 13:18:33:
17-08-2025 13:18:33:   Device quirks:
17-08-2025 13:18:33:
17-08-2025 13:18:33:   USB stack parameters
17-08-2025 13:18:33:     authorized_default:          1
17-08-2025 13:18:33:     autosuspend:                 2
17-08-2025 13:18:33:     blinkenlights:               N
17-08-2025 13:18:33:     initial_descriptor_timeout:  5000
17-08-2025 13:18:33:     nousb:                       N
17-08-2025 13:18:33:     old_scheme_first:            N
17-08-2025 13:18:33:     quirks:
17-08-2025 13:18:33:     usbfs_memory_mb:             16
17-08-2025 13:18:33:     usbfs_snoop:                 N
17-08-2025 13:18:33:     usbfs_snoop_max:             65536
17-08-2025 13:18:33:     use_both_schemes:            Y
17-08-2025 13:18:33:
17-08-2025 13:18:33:   USB interfaces:
17-08-2025 13:18:33:     Config Interface Alt Class SubClass Proto
17-08-2025 13:18:33:        1       0      0   7      1       2
17-08-2025 13:18:33: *      1       0      1   7      1       4
17-08-2025 13:18:33:        1       1      0   255    4       1
17-08-2025 13:18:33: *      1       1      1   7      1       4
17-08-2025 13:18:33:
17-08-2025 13:18:33:   USB[0]: open: Bus 001 Device 008 Interface 0 Alt 1
17-08-2025 13:18:33:   USB[1]: open: Bus 001 Device 008 Interface 1 Alt 1

==> /var/snap/ipp-usb/common/var/log/main.log <==
17-08-2025 13:18:34: ! STATE PORT: 03f0-7312-TH124BN196-HP-Officejet-Pro-6230: failed to allocate HTTP port%!(EXTRA string=03f0-7312-TH124BN196-HP-Officejet-Pro-6230)

==> /var/snap/ipp-usb/common/var/log/03f0-7312-TH124BN196-HP-Officejet-Pro-6230.log <==
17-08-2025 13:18:34: - Bus 001 Device 008: resetting Officejet Pro 6230
17-08-2025 13:18:34:   USB[0]: closed
17-08-2025 13:18:34:   USB[1]: closed
17-08-2025 13:18:34: - Bus 001 Device 008: closed Officejet Pro 6230

==> /var/snap/ipp-usb/common/var/log/main.log <==
17-08-2025 13:18:34: ! PNP Bus 001 Device 008: 03f0-7312-TH124BN196-HP-Officejet-Pro-6230: failed to allocate HTTP port%!(EXTRA string=03f0-7312-TH124BN196-HP-Officejet-Pro-6230)
17-08-2025 13:18:36: + PNP Bus 001 Device 008: retry

What can I do about it?

Best regards,
Robert

Dominant language
Go
Stars
210
Forks
35
Avg merge
5h 47m
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from OpenPrinting/ipp-usb

All issues in OpenPrinting/ipp-usb

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.