FAQ  •  Register  •  Login

CDS Login Serviio 2

<<

jimgeldermann

Serviio newbie

Posts: 14

Joined: Sat Oct 22, 2016 5:58 pm

Post Tue Mar 10, 2020 9:41 pm

CDS Login Serviio 2

Just upgraded to 2 and login broke.

This returns a 401

String gmt = getGMT(); //gmt Tue, 10 Mar 2020 21:37:37 GMT

String str1 = calculateRFC2104HMAC(dftUName + ":" + dftPWord, dftPWord);
String str2 = calculateRFC2104HMAC(gmt, str1);
System.out.println("str2 " + str2); //LswB/2X6jSPtvhJ6/z8G0SjscQ0=

conn.setRequestProperty("Authorization", "Serviio UserName=" + dftUName + ", Signature=" + str2);

The calculateRFC2104HMAC() worked for the Base64 HMAC Sha1 encoding in version 1
<<

jimgeldermann

Serviio newbie

Posts: 14

Joined: Sat Oct 22, 2016 5:58 pm

Post Wed Mar 11, 2020 2:45 pm

Re: CDS Login Serviio 2

Sorry I had left out -

conn.setRequestProperty("Date", gmt);
conn.setRequestProperty("X-Serviio-Date", gmt);

added back into and now I can connect.
<<

GrantWilson

User avatar

Serviio newbie

Posts: 2

Joined: Thu Mar 14, 2019 11:06 am

Post Fri Apr 23, 2021 6:14 am

Re: CDS Login Serviio 2

serviio user 24 wrote:
I've been looking for CDS Login documentation. Planned to use Audirvana with Serviio reviewed by essay writers on audiophilestyle forums, but Audirvana couldn't access my Serviio server.



Hello,
I've just downloaded the Serviio CDS API Documentation. I thought Linn Kazoo + Serviio may be a good alternative to Audirvana. If interested, I can PM you the documentation.

Return to Third-party tools integration

Who is online

Users browsing this forum: No registered users and 2 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.