No buffer space available #5
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
spotizerrphoenix/spotizerr-auth-phoenix#5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
After credentals + country origine I have this error
Try Docker (machine 1 et machine 2) + Python (pip installed)... the same
just made a new update to spotizerr-phoenix and spotizerr-auth-phoenix
spotizerr-auth-phoenixwill give you the ability to custom device info/name with preset defaultsgive the new update a try, hopefully the new updates fix your issue or at least gives you a better idea through the logging
Hi Im on the Newesr versions of spotizerr-phoenix and Spotizerr-auth-phoenix. Still i get the same error message.
🎉 Successfully configured Spotizerr API credentials!
─────────────────────────────────────────────────────────────────────────── 👤 Account Configuration ───────────────────────────────────────────────────────────────────────────
➤ Enter a name for this Spotify account: chamki
➤ Enter your Spotify region (e.g., US, DE, MX). This is the 2-letter country code: US
───────────────────────────────────────────────────────────────────────── ⚙️ Device Identity Overrides ─────────────────────────────────────────────────────────────────────────
Press Enter to accept the default values for the selected device type.
➤ Device type (enum name)
Valid Enums: UNKNOWN, COMPUTER, TABLET, SMARTPHONE, SPEAKER, TV, AVR, STB, AUDIO_DONGLE, GAME_CONSOLE, CAST_VIDEO, CAST_AUDIO, AUTOMOBILE, SMARTWATCH, CHROMEBOOK,
UNKNOWN_SPOTIFY, CAR_THING, OBSERVER, HOME_THING (SPEAKER): SPEAKER
➤ Device name (Living Room Speaker): Living Room Speaker
➤ Device ID (40 hex characters - default is randomly generated) (49d01d3a43fe835fdce411acd4a8583e36f7b913): 49d01d3a43fe835fdce411acd4a8583e36f7b913
➤ Device software version (Spotify Connect 3.2.6): Spotufy Connect 3.2.6
➤ System info string (Spotify Connect 3.2.6; Linux; Speaker): Spotify Connect 3.2.6; Linux; Speaker
─────────────────────────────────────────────────────────────────────────────────── ℹ️ Logs ────────────────────────────────────────────────────────────────────────────────────
Debug output starts here.
[LOG] 2026-03-29 03:29:46,439 root INFO: Device identity overrides:
[LOG] 2026-03-29 03:29:46,440 root INFO: - device_name: Living Room Speaker
[LOG] 2026-03-29 03:29:46,440 root INFO: - device_type: SPEAKER
[LOG] 2026-03-29 03:29:46,440 root INFO: - device_id: 49d01d3a43fe835fdce411acd4a8583e36f7b913
[LOG] 2026-03-29 03:29:46,440 root INFO: - preferred_locale: us
[LOG] 2026-03-29 03:29:46,441 root INFO: - device_software_version: Spotufy Connect 3.2.6
[LOG] 2026-03-29 03:29:46,441 root INFO: - system_info_string: Spotify Connect 3.2.6; Linux; Speaker
────────────────────────────────────────────────────────────────────────── 🎵 Spotify Session Capture ──────────────────────────────────────────────────────────────────────────
[LOG] 2026-03-29 03:29:46,446 Librespot:ZeroconfServer INFO: Zeroconf HTTP server started successfully on port 51892!
An unexpected error occurred: [Errno 105] No buffer space available
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ /usr/local/lib/python3.11/site-packages/spotizerr_auth/main.py:700 in main │
│ │
│ 697 │ │ │ │ │ console.print("❌ [bold red]Cannot continue without a valid 'credent │
│ 698 │ │ │ │ │ sys.exit(1) │
│ 699 │ │ else: │
│ ❱ 700 │ │ │ get_spotify_session_and_wait_for_credentials(device_name, device_overrides) │
│ 701 │ │ │
│ 702 │ │ if not cred_file.exists(): │
│ 703 │ │ │ console.print("❌ [bold red]Failed to obtain 'credentials.json'. Exiting.[/] │
│ │
│ ╭─────────────────────────────────────── locals ───────────────────────────────────────╮ │
│ │ account_name = 'chamki' │ │
│ │ auth_status = { │ │
│ │ │ 'auth_enabled': False, │ │
│ │ │ 'authenticated': True, │ │
│ │ │ 'user': { │ │
│ │ │ │ 'username': 'system', │ │
│ │ │ │ 'email': None, │ │
│ │ │ │ 'role': 'admin', │ │
│ │ │ │ 'created_at': '2026-03-29T03:27:20.542210', │ │
│ │ │ │ 'last_login': None, │ │
│ │ │ │ 'sso_provider': None, │ │
│ │ │ │ 'is_sso_user': False │ │
│ │ │ }, │ │
│ │ │ 'registration_enabled': False, │ │
│ │ │ 'sso_enabled': False, │ │
│ │ │ 'sso_providers': [] │ │
│ │ } │ │
│ │ auth_token = None │ │
│ │ base_url = 'http://192.168.7.232:7174' │ │
│ │ cred_file = PosixPath('credentials.json') │ │
│ │ device_name = 'Living Room Speaker' │ │
│ │ device_overrides = { │ │
│ │ │ 'device_name': 'Living Room Speaker', │ │
│ │ │ 'device_type': 4, │ │
│ │ │ 'device_id': '49d01d3a43fe835fdce411acd4a8583e36f7b913', │ │
│ │ │ 'preferred_locale': 'us', │ │
│ │ │ 'device_software_version': 'Spotufy Connect 3.2.6', │ │
│ │ │ 'system_info_string': 'Spotify Connect 3.2.6; Linux; Speaker' │ │
│ │ } │ │
│ │ e = OSError(105, 'No buffer space available') │ │
│ │ region = 'US' │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ /usr/local/lib/python3.11/site-packages/spotizerr_auth/main.py:366 in │
│ get_spotify_session_and_wait_for_credentials │
│ │
│ 363 │ │ builder.set_device_id(overrides["device_id"]) │
│ 364 │ if overrides.get("preferred_locale") is not None: │
│ 365 │ │ builder.set_preferred_locale(overrides["preferred_locale"]) │
│ ❱ 366 │ zeroconf_server = builder.create() │
│ 367 │ logging.info("Zeroconf server started for device '%s'", device_name) │
│ 368 │ instructions = f""" │
│ 369 [bold yellow]1.[/] Open Spotify on another device. │
│ │
│ ╭──────────────────────────────────────── locals ────────────────────────────────────────╮ │
│ │ builder = <librespot.zeroconf.ZeroconfServer.Builder object at 0x7ec9203c8a50> │ │
│ │ credential_file = PosixPath('credentials.json') │ │
│ │ device_name = 'Living Room Speaker' │ │
│ │ overrides = { │ │
│ │ │ 'device_name': 'Living Room Speaker', │ │
│ │ │ 'device_type': 4, │ │
│ │ │ 'device_id': '49d01d3a43fe835fdce411acd4a8583e36f7b913', │ │
│ │ │ 'preferred_locale': 'us', │ │
│ │ │ 'device_software_version': 'Spotufy Connect 3.2.6', │ │
│ │ │ 'system_info_string': 'Spotify Connect 3.2.6; Linux; Speaker' │ │
│ │ } │ │
│ ╰────────────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ /usr/local/lib/python3.11/site-packages/librespot/zeroconf.py:312 in create │
│ │
│ 309 │ │ │ return self │
│ 310 │ │ │
│ 311 │ │ def create(self) -> ZeroconfServer: │
│ ❱ 312 │ │ │ return ZeroconfServer( │
│ 313 │ │ │ │ ZeroconfServer.Inner(self.device_type, self.device_name, │
│ 314 │ │ │ │ │ │ │ │ │ self.device_id, self.preferred_locale, │
│ 315 │ │ │ │ │ │ │ │ │ self.conf), self.listen_port) │
│ │
│ ╭────────────────────────────────── locals ───────────────────────────────────╮ │
│ │ self = <librespot.zeroconf.ZeroconfServer.Builder object at 0x7ec9203c8a50> │ │
│ ╰─────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ /usr/local/lib/python3.11/site-packages/librespot/zeroconf.py:73 in init │
│ │
│ 70 │ │ │ │ │ │ name="zeroconf-http-server", │
│ 71 │ │ │ │ │ │ daemon=True).start() │
│ 72 │ │ │
│ ❱ 73 │ │ self.__zeroconf = zeroconf.Zeroconf() │
│ 74 │ │ │
│ 75 │ │ advertised_ip_str = self._get_local_ip() │
│ 76 │
│ │
│ ╭───────────────────────────────────── locals ─────────────────────────────────────╮ │
│ │ inner = <librespot.zeroconf.ZeroconfServer.Inner object at 0x7ec9203c8750> │ │
│ │ listen_port = 51892 │ │
│ │ self = <librespot.zeroconf.ZeroconfServer object at 0x7ec92008c110> │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ /usr/local/lib/python3.11/site-packages/zeroconf/_core.py:179 in init │
│ │
│ 176 │ │ │ raise RuntimeError("Option
apple_p2pis not supported on non-Apple platfor ││ 177 │ │ │
│ 178 │ │ self.unicast = unicast │
│ ❱ 179 │ │ listen_socket, respond_sockets = create_sockets(interfaces, unicast, ip_version, │
│ 180 │ │ log.debug("Listen socket %s, respond sockets %s", listen_socket, respond_sockets │
│ 181 │ │ │
│ 182 │ │ self.engine = AsyncEngine(self, listen_socket, respond_sockets) │
│ │
│ ╭──────────────────────────── locals ─────────────────────────────╮ │
│ │ apple_p2p = False │ │
│ │ interfaces = <InterfaceChoice.All: 2> │ │
│ │ ip_version = <IPVersion.V4Only: 1> │ │
│ │ self = <zeroconf._core.Zeroconf object at 0x7ec9205f7810> │ │
│ │ unicast = False │ │
│ ╰─────────────────────────────────────────────────────────────────╯ │
│ │
│ /usr/local/lib/python3.11/site-packages/zeroconf/_utils/net.py:383 in create_sockets │
│ │
│ 380 │ │
│ 381 │ for i in normalized_interfaces: │
│ 382 │ │ if not unicast: │
│ ❱ 383 │ │ │ if add_multicast_member(cast(socket.socket, listen_socket), i): │
│ 384 │ │ │ │ respond_socket = new_respond_socket(i, apple_p2p=apple_p2p) │
│ 385 │ │ │ else: │
│ 386 │ │ │ │ respond_socket = None │
│ │
│ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │
│ │ apple_p2p = False │ │
│ │ i = '172.20.0.1' │ │
│ │ interfaces = <InterfaceChoice.All: 2> │ │
│ │ ip_version = <IPVersion.V4Only: 1> │ │
│ │ listen_socket = <socket.socket fd=5, family=2, type=2, proto=0, laddr=('0.0.0.0', │ │
│ │ 5353)> │ │
│ │ normalized_interfaces = [ │ │
│ │ │ '172.29.0.1', │ │
│ │ │ '172.31.0.1', │ │
│ │ │ '172.24.0.1', │ │
│ │ │ '172.25.0.1', │ │
│ │ │ '172.22.0.1', │ │
│ │ │ '192.168.80.1', │ │
│ │ │ '192.168.16.1', │ │
│ │ │ '172.27.0.1', │ │
│ │ │ '192.168.7.234', │ │
│ │ │ '172.19.0.1', │ │
│ │ │ ... +12 │ │
│ │ ] │ │
│ │ respond_socket = <socket.socket fd=25, family=2, type=2, proto=0, │ │
│ │ laddr=('172.17.0.1', 5353)> │ │
│ │ respond_sockets = [ │ │
│ │ │ <socket.socket fd=6, family=2, type=2, proto=0, │ │
│ │ laddr=('172.29.0.1', 5353)>, │ │
│ │ │ <socket.socket fd=7, family=2, type=2, proto=0, │ │
│ │ laddr=('172.31.0.1', 5353)>, │ │
│ │ │ <socket.socket fd=8, family=2, type=2, proto=0, │ │
│ │ laddr=('172.24.0.1', 5353)>, │ │
│ │ │ <socket.socket fd=9, family=2, type=2, proto=0, │ │
│ │ laddr=('172.25.0.1', 5353)>, │ │
│ │ │ <socket.socket fd=10, family=2, type=2, proto=0, │ │
│ │ laddr=('172.22.0.1', 5353)>, │ │
│ │ │ <socket.socket fd=11, family=2, type=2, proto=0, │ │
│ │ laddr=('192.168.80.1', 5353)>, │ │
│ │ │ <socket.socket fd=12, family=2, type=2, proto=0, │ │
│ │ laddr=('192.168.16.1', 5353)>, │ │
│ │ │ <socket.socket fd=13, family=2, type=2, proto=0, │ │
│ │ laddr=('172.27.0.1', 5353)>, │ │
│ │ │ <socket.socket fd=14, family=2, type=2, proto=0, │ │
│ │ laddr=('192.168.7.234', 5353)>, │ │
│ │ │ <socket.socket fd=15, family=2, type=2, proto=0, │ │
│ │ laddr=('172.19.0.1', 5353)>, │ │
│ │ │ ... +10 │ │
│ │ ] │ │
│ │ unicast = False │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ /usr/local/lib/python3.11/site-packages/zeroconf/_utils/net.py:293 in add_multicast_member │
│ │
│ 290 │ │ │ listen_socket.setsockopt(_IPPROTO_IPV6, socket.IPV6_JOIN_GROUP, _value) │
│ 291 │ │ else: │
│ 292 │ │ │ _value = socket.inet_aton(_MDNS_ADDR) + socket.inet_aton(cast(str, interface │
│ ❱ 293 │ │ │ listen_socket.setsockopt(socket.IPPROTO_IP, socket.IP_ADD_MEMBERSHIP, _value │
│ 294 │ except OSError as e: │
│ 295 │ │ _errno = get_errno(e) │
│ 296 │ │ if _errno == errno.EADDRINUSE: │
│ │
│ ╭───────────────────────────────────────── locals ─────────────────────────────────────────╮ │
│ │ _errno = 105 │ │
│ │ _value = b'\xe0\x00\x00\xfb\xac\x14\x00\x01' │ │
│ │ err_einval = {22} │ │
│ │ interface = '172.20.0.1' │ │
│ │ is_v6 = False │ │
│ │ listen_socket = <socket.socket fd=5, family=2, type=2, proto=0, laddr=('0.0.0.0', 5353)> │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────╯ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
OSError: [Errno 105] No buffer space available