Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tidal - Error from cloudfront #438

Closed
tomcat24 opened this issue Oct 16, 2020 · 29 comments
Closed

Tidal - Error from cloudfront #438

tomcat24 opened this issue Oct 16, 2020 · 29 comments

Comments

@tomcat24
Copy link

I am unable to stream tidal. After going through the logs i find the below:

Cache-Control: no-cache
Connection: close
Accept: /
Host: sp-pr-cf.audio.tidal.com
User-Agent: iTunes/4.7.1 (Windows; N; Windows 10; 8664; EN; cp1252) SqueezeCenter, Squeezebox Server, Logitech Media Server/7.9.3/1597753178
Icy-Metadata: 1

[20-10-16 13:12:17.2360] Slim::Control::Request::notify (2013) Notifying playlist open
[20-10-16 13:12:17.2364] Slim::Control::Request::notify (2051) Notifying Slim::Buttons::Playlist::knobPlaylistCallback of playlist open =~ [['playlist']]
[20-10-16 13:12:17.2367] Slim::Control::Request::notify (2051) Notifying Slim::Player::Playlist::modifyPlaylistCallback of playlist open =~ [['playlist']]
[20-10-16 13:12:17.2371] Slim::Control::Request::notifyFromArray (842) (prefset server currentSong 158)
[20-10-16 13:12:17.2377] Slim::Control::Request::notify (2013) Notifying playlist open
[20-10-16 13:12:17.2380] Slim::Control::Request::notify (2051) Notifying Slim::Buttons::Playlist::knobPlaylistCallback of playlist open =~ [['playlist']]
[20-10-16 13:12:17.2383] Slim::Control::Request::notify (2051) Notifying Slim::Player::Playlist::modifyPlaylistCallback of playlist open =~ [['playlist']]
[20-10-16 13:12:17.2388] Slim::Control::Request::notify (2013) Notifying prefset
[20-10-16 13:12:17.2391] Slim::Control::Request::notify (2051) Notifying Slim::Networking::SqueezeNetwork::PrefSync::prefEvent of prefset =~ [['prefset']]
[20-10-16 13:12:17.3417] Slim::Player::Squeezebox2::directHeaders (470) Processing headers for direct streaming:
HTTP/1.1 403 Forbidden
Server: CloudFront
Date: Fri, 16 Oct 2020 18:12:16 GMT
Content-Type: text/xml
Content-Length: 110
Connection: close
X-Cache: Error from cloudfront**
Via: 1.1 98636d06a0d9ef7b80707f034d708434.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: IAH50-C4
X-Amz-Cf-Id: yCwwnck4ZhIFGQtcFAqt4Kxpl2pvTNv3Wdy-4tolh6UogCJSbP8euA==

[20-10-16 13:12:17.3422] Slim::Player::Squeezebox2::directHeaders (521) Invalid response code (403) from remote stream http://sp-pr-cf.audio.tidal.com/mediatracks/CAEaKRInMDY0Yzc1ZGE4NTcxZjc0NWE3NDhmZTU5NjU5YzQ4NDBfNjEubXA0/0.flac?Expires=1602875536&Signature=B1I~PwTZPOOuT7OU74eEmLEMfsdrNxP34caYaBCeizJ-eg75UuYUqc4RFwQEUL07v1XlzjiXDVRmSDNY8zD0nVKnMfPWGfO7cqc960cn60uGphpWOI4OTUnn3fGte-eGqxVgg3MyFRj2F-T4adT4bPKMAtdKOx7v77~~E7pcLW1H4nPb4iYGPBUxnyo883r-PS8ElWT9HIgccmmszoj1irPt1xjtgJzXX0TKTjORaaUmRRYnmTmMMhth4zoSn0jv2~1fbDfDSGzvtUdsMb4Uagkmuf-XTj2WIbgbwAgUlrnNnHu3eJjnVtzftWeBHE3-fCQdOr04aiNaCXUKEF75uw__&Key-Pair-Id=APKAIZ3WPBE4R6SP555A
[20-10-16 13:12:17.3424] Slim::Plugin::WiMP::ProtocolHandler::handleDirectError (114) Direct stream failed: [403] HTTP/1.1 403 Forbidden

@mherger
Copy link
Contributor

mherger commented Oct 16, 2020

Wow... that's very interesting! Thanks a lot for this data. I'll see whether I can get in touch with some TIDAL engineer ASAP.

@tomcat24
Copy link
Author

tomcat24 commented Oct 16, 2020 via email

@swvalenti194
Copy link

Same exact issue as @tomcat24 , any resolution yet?

@michaelherger
Copy link
Member

Same exact issue as @tomcat24 , any resolution yet?

Where do you live? What OS you're running LMS on? What LMS version?

@swvalenti194
Copy link

NJ, USA

Operating system: Debian - EN - utf8
Platform Architecture: armv7l-linux
Perl Version: 5.24.1 - arm-linux-gnueabihf-thread-multi-64int
Audio::Scan: 1.02
IO::Socket::SSL: 2.044
Database Version: DBD::SQLite 1.58 (sqlite 3.22.0)

Logitech Media Server Version: 8.0.0 - 1602796130
Player Model: SqueezeLite
Player Type: squeezelite
Firmware: Max2Play v1.0.2 based on v1.8.4-726

@Westat-Transportation
Copy link

I believe this is the issue I am experiencing, upgraded to LMS 8.0 from 7.9.3 and kept seeing the same behavior. Time frame matches @tomcat24's.

@Westat-Transportation
Copy link

I am running on Ubuntu 20.04:

Logitech Media Server Version: 8.0.0 - 1602925693 @ Sat Oct 17 11:25:13 CEST 2020
Operating system: Debian - EN - utf8
Platform Architecture: x86_64-linux
Perl Version: 5.26.1 - x86_64-linux-gnu-thread-multi
Audio::Scan: 0.95
IO::Socket::SSL: 2.060
Database Version: DBD::SQLite 1.58 (sqlite 3.22.0)

@michaelherger
Copy link
Member

Turns out CloudFront would only accept https, but not http. And our players can't do https.

TIDAL uses a different cache in other parts of the world which does support http. That's why I can play TIDAL in CH, but not US.

@swvalenti194
Copy link

How come it worked in previous LMS versions?

@michaelherger
Copy link
Member

This issue has nothing to do with any LMS version. It's a change in the TIDAL infrastructure which is not compatible with LMS. I can test those URLs outside LMS and am seeing the problem.

@swvalenti194
Copy link

Sooooo you're saying Tidal will be forever unsupported?

@Westat-Transportation
Copy link

Any chance https support could be added or is this the end of the line for these players?

@tomcat24
Copy link
Author

How is all other Tidal functionality working? why apply HTTPS selectively to streaming alone?

@tomcat24
Copy link
Author

Also any idea on when Tidal switched to HTTPS? Tidal was working just fine 3 days back.

@Westat-Transportation
Copy link

Westat-Transportation commented Oct 18, 2020 via email

@michaelherger
Copy link
Member

I've already sent them our findings so far. But I guess my contacts don't work on weekends...

@Westat-Transportation
Copy link

I've already sent them our findings so far. But I guess my contacts don't work on weekends...

Did you see my question about the feasibility of adding https support to the players? Or maybe relay the streams through the LMS server so the server is streaming from https and then relaying that to the players over http (too hard?)...

@michaelherger
Copy link
Member

SSL in players: nope. Proxying through LMS: done already.

@Westat-Transportation
Copy link

So there is hope after all...

@tomcat24
Copy link
Author

Michael,
Tidal started working again.
Pandora stopped working now, error: client restricted due to licensing restriction(are you not in the US?).
Looks like to fix Tidal HTTPS situation you are connecting from outside the US which broke Pandora.

@swvalenti194
Copy link

Same happening here same error as @tomcat24

@tomcat24
Copy link
Author

Michael, Thank you for getting Tidal up and running.

@michaelherger
Copy link
Member

You probably didn't see the other messages on forums and twitter: we have an outage in the US. Therefore all customers are re-directed to the EU datacenter while we bring the US back up. And that's why Pandora is complaining, too... Hopefully it'll all be over in a few hours, as TIDAL responded they'd turn off the enforced https again.

@tomcat24
Copy link
Author

:-) Good news, thanks for the update.

@Westat-Transportation
Copy link

Thanks, TIDAL is back here as well!

@gstalnaker
Copy link

gstalnaker commented Oct 19, 2020 via email

@michaelherger
Copy link
Member

Help with GitHub account settings...

Totally does not belong here... but anyway: at the top right you have an "eye" icon where you can "unwatch" a repository etc.

@tomcat24
Copy link
Author

Tidal and Pandora is back to normal, thanks Michael for the help.

@michaelherger
Copy link
Member

Great to hear, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants