Will not authenticate to Icecast 2 server

Bug #1908639 reported by Ritchey Mulhollem
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Libshout
Fix Released
Unknown
Mixxx
Fix Released
Undecided
Unassigned
libshout (Ubuntu)
Confirmed
Undecided
Unassigned
mixxx (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Mixx will not perform a Basic login authentication. When receiving an authentication challange from the Icecast server, it quits and produces the following error:
Please retry current operation.
Please check your connection to the Internet and verify that your username and password are correct.

WIRESHARK ENTIRE TCP STREAM AS FOLLOWS:
SOURCE /wolfradio HTTP/1.0
Host: fm.wolflake:8080
User-Agent: libshout/2.4.3
Content-Type: application/ogg
Content-Length: 0
Connection: Keep-Alive
ice-public: 0
ice-name: Wolf Lake
ice-description: This stream is online for testing purposes!
ice-genre: Live Mix
ice-url: http://fm.wolflake
ice-irc:
ice-aim:
ice-icq:
ice-audio-info: bitrate=128

HTTP/1.0 401 Authentication Required
Server: Icecast 2.4.3
Date: Fri, 18 Dec 2020 05:24:10 GMT
Content-Type: text/plain; charset=utf-8
WWW-Authenticate: Basic realm="Icecast2 Server"
Cache-Control: no-cache
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Pragma: no-cache
Access-Control-Allow-Origin: *

You need to authenticate

END OF WIRESHARK STREAM There are no more transactions.

MIXXX running on:
Distributor ID: Ubuntu
Description: Ubuntu 20.04.1 LTS
Release: 20.04
Codename: focal

ICECAST2 running on:
Distributor ID: Ubuntu
Description: Ubuntu 18.04.5 LTS
Release: 18.04
Codename: bionic
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27.14
Architecture: amd64
CasperMD5CheckResult: skip
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2020-04-29 (235 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
Package: mixxx 2.2.3~dfsg-1
PackageArchitecture: amd64
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 5.4.0-58.64-generic 5.4.73
Tags: focal
Uname: Linux 5.4.0-58-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: N/A
_MarkForUpload: True

Revision history for this message
lotuspsychje (lotuspsychje) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:
apport-collect 1908639

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Revision history for this message
Daniel Schürmann (daschuer) wrote :

Please attache also the mixxx.log from a faulty run.
Verify that it doe snot contain your password before publishing.

Revision history for this message
Ritchey Mulhollem (rthawkcom2) wrote :
tags: added: apport-collected focal
description: updated
Revision history for this message
Ritchey Mulhollem (rthawkcom2) wrote : Dependencies.txt

apport information

Revision history for this message
Ritchey Mulhollem (rthawkcom2) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Daniel Schürmann (daschuer) wrote :

Which libshout do you have installed? Is it one of 2.4.2 or 2.4.3?
Than you might suffer:
https://bugs.launchpad.net/mixxx/+bug/1833225

Libshout is returning: SHOUTERR_RETRY
Which is issued here:
https://github.com/xiph/Icecast-libshout/search?q=SHOUTERR_RETRY

The original Bionic package 2.4.1-2build1 should work though.
Maybe to groovy package also works 2.4.4-1:
https://packages.ubuntu.com/groovy/libshout3

Revision history for this message
Ritchey Mulhollem (rthawkcom2) wrote :

libshout.so.3 -> libshout.so.3.2.0

Revision history for this message
Daniel Schürmann (daschuer) wrote :

What is the output of:

apt list libshout3

Revision history for this message
Ritchey Mulhollem (rthawkcom2) wrote :

libshout3/focal,now 2.4.3-1 amd64 [installed,automatic]
libshout3/focal 2.4.3-1 i386

Revision history for this message
Daniel Schürmann (daschuer) wrote :

2.4.3-1 is the buggy libshout version.

Please upgrade to Mixxx 2.2.4 which statically links to libshout 2.4.1.

sudo add-apt-repository ppa:mixxx/mixxx
sudo apt-get update
sudo apt-get install mixxx

please report if this solves the issue.

Changed in mixxx (Ubuntu):
status: New → Confirmed
Changed in mixxx:
status: New → Fix Released
milestone: none → 2.4.0
Changed in libshout:
status: Unknown → Fix Released
Revision history for this message
Ritchey Mulhollem (rthawkcom2) wrote :

Confirmed functional. Great job everyone!!

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in libshout (Ubuntu):
status: New → Confirmed
Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/10264

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.