HTTP Error Trying to Play Videos Rygel Server

Trying to play videos with a Roku from the Rygel Server. Any video I try get “There was an error in the HTTP response. This could mean that malformed HTTP headers or an HTTP error code was returned”

This was Gnome 49 on Aarch Linux. Had the same issue on any distro I try.

1 Like

Hi, please run rygel from console with
G_MESSAGES_DEBUG=all rygel -g 5 and try to reproduce the error - it will dump the HTTP headers received and sent, which might give me a clue

(post deleted by author)

So looking at the log, there was no media streaming interaction between the roku and Rygel, so the problem must lie already on the UPnP communication level. Are you familiar with generating network captures?

1 Like

No, I’m not familiar with that.

I tried it with VLC on a FireTV and the videos played.

1 Like

Which Roku device is this?

Roku Stick. Have a Roku Ultra as well and get the same error.

Ok, I will try to get my hands on a Roku device.

I tried Rygel on another computer that has KDE Neon and both Roku’s were able to play videos with no errors. The version on that PC is 42.5, the version on the Arch PC is 45.1.

That is weird. Probably a missing codec? What gst-plugings packages do you have installed?
You can check with dpkg -l | grep gstreamer1.0-plugins

gst-plugins-bad, base, good and ugly are installed. Version 1.28.1.1.

do you also have gstreamer1.0-libav (sorry, forgot that this doesn’t have plugin in its name)

Yes, libav is there. I installed Neon on another drive on the same PC with Arch, the videos will play on the Roku’s. Is there a way to get an older version of Rygel to put on Arch?

My suspicion is that installing Neon pulls in some dependency that enables some format. But puh.

Tried Debian 13, which has Rygel 44, videos played. Found an RPM for Rygel 44, tried it with Fedora. videos didn’t play.

The RPM for 44 didn’t work for the newest Fedora but installed Fedora 42 which comes with Rygel 44 and the videos played. Upgraded the Fedora 42 to 43, which upgraded the Rygel version and the videos do not play.

I just has a similar issue, that partially resolved inexplicably, after time & numerous reboots during testing. Which leads me to think it was network/cacheing related.
Im just posting my experience in case you can test with your phone for example.

Here is what happened: I updated a gnome49 (manjaro) DesktopPC which included rygel 45.1 in the updates. Using Gnome Media sharing. Streaming to my TV immediately stopped working. (i could browse the folders, but media would not play) The previous evening, & the past few years, all was fine

Everything was rebooted, services restarted etc -

During testing I found I also could not stream media to VLC on a linux laptop. HTTP errors were shown in VLC.

access error: HTTP 403 error
http error: error: HTTP/1.1 403 Forbidden
main error: no suitable access module for <filename>

I continued testing & found that my playstation3 WOULD play the media. Then ‘magically‘ other devices started falling into line, including VLC on the laptop. & VLC on my phone was able to stream the video too.

Ultimately it all works now except my TV still wont play videos. This is a separate issue I think due to the specific TV model, but triggered by rygel 45.1

Can you two please post the libsoup versions on the non-working machines?

libsoup 3.0

In the AUR there is a 3.6.6.1, last updated Feb 16.

Installed Fedora KDE again. Installed Rygel, didn’t do any Fedora updates and the videos played. Did the updates, video wouldn’t play. Reinstalled with no updates, videos played.

There are over 1,000 packages that are listed to update, Rygel isn’t one of them. There is a libsoup update, to 3.6.6-1.fc43, available.

Going to try Arch again and see if the videos will play if I don’t do any updates

I tried Arch and even without any updates, videos didn’t play. The gstreamer version on Arch is 1.28.1, on the working Fedora system is 1.26.6. The Fedora update will install 1.26.10