https://bugs.kde.org/show_bug.cgi?id=498654

            Bug ID: 498654
           Summary: Invalid URL when trying to login
    Classification: Applications
           Product: amarok
           Version: 3.2.1
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Collections/DAAP
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: kf5

SUMMARY
I have a Synology NAS DS213 with DSM 6.2.4-25556 Update 8 running iTunes Server
1.5.3-2505. After Amarok didn't show up anything when I enabled the DAAP plugin
(Apple Music finds it), I started it it in debug mode and saw the following
message when a login in attempt is tried:

amarok: BEGIN: void
Collections::DaapCollectionFactory::foundDaap(KDNSSD::RemoteService::Ptr)
amarok: END__: void
Collections::DaapCollectionFactory::foundDaap(KDNSSD::RemoteService::Ptr)
[Took: 0.001s]
amarok: BEGIN: void
Collections::DaapCollectionFactory::foundDaap(KDNSSD::RemoteService::Ptr)
amarok: END__: void
Collections::DaapCollectionFactory::foundDaap(KDNSSD::RemoteService::Ptr)
[Took: 0s]
amarok: [DaapCollection] "ds213"   "ds213.local"   "local"   "_daap._tcp"
amarok: [DaapCollection] "ds213"   "ds213.local"   "local"   "_daap._tcp"
amarok: BEGIN: void Collections::DaapCollectionFactory::resolvedServiceIp(const
QHostInfo&)
amarok:   [DaapCollection] Host:  "ds213.local"  port:  3689
amarok:   [DaapReader] Host:  "ds213.local"  port:  3689
amarok:   BEGIN: void Daap::Reader::loginRequest()
kf.kio.core: Invalid URL: QUrl("//ds213.local:3689/content-codes")
amarok:   END__: void Daap::Reader::loginRequest() [Took: 0.007s]
amarok: END__: void Collections::DaapCollectionFactory::resolvedServiceIp(const
QHostInfo&) [Took: 0.007s]
amarok: BEGIN: void Collections::DaapCollectionFactory::resolvedServiceIp(const
QHostInfo&)
amarok: END__: void Collections::DaapCollectionFactory::resolvedServiceIp(const
QHostInfo&) [Took: 0s]
amarok: there is an error?  QNetworkReply::UnknownNetworkError  
"//ds213.local:3689/content-codes"
amarok: BEGIN: void Daap::Reader::fetchingError(const QString&)
amarok:   BEGIN: void Collections::DaapCollection::httpError(const QString&)
amarok:     [DaapCollection] Http error in DaapReader: 
"//ds213.local:3689/content-codes"
amarok:     BEGIN: void
Collections::DaapCollectionFactory::slotCollectionDownloadFailed()
amarok:     END__: void
Collections::DaapCollectionFactory::slotCollectionDownloadFailed() [Took: 0s]
amarok:   END__: void Collections::DaapCollection::httpError(const QString&)
[Took: 0s]
amarok: END__: void Daap::Reader::fetchingError(const QString&) [Took: 0s]
amarok: BEGIN: void Daap::Reader::contentCodesReceived()
amarok:   BEGIN: Daap::Map Daap::Reader::parse(QDataStream&)
amarok:   END__: Daap::Map Daap::Reader::parse(QDataStream&) [Took: 0s]
amarok: END__: void Daap::Reader::contentCodesReceived() 

When I try to get the file with e.g. curl or wget and adding http in front of
the URL, so wget http://ds213.local:3689/content-codes, the file can be
downloaded.

OBSERVED RESULT
There is no DAAP collection shown.

EXPECTED RESULT
The collection should be shown.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 5.116.0
Qt Version: 5.15.16+kde+r130

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to