Error: 'Resource not Found, libsoup status code 3" with system-wide proxy

Bug #602727 reported by Tushar
44
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Pithos
Fix Committed
High
Unassigned

Bug Description

Start Pithos and the last station selected starts playing.
Now change the station via the Combo Box on the right and notice that the songs are skipped and an dialog box saying "Error: Resource not Found" is displayed.

Revision history for this message
David Velazquez (lemonsforlemonade) wrote :

This happened to me just now on switching songs automatically, rather than me changing anything.

Revision history for this message
Kevin Mehall (kevin-mehall) wrote :

Are the skipped songs from the station newly selected, or the station being switched away from? (i.e. does this occur before or after the songs list is cleared?)

Can you post a log from running "pithos --verbose" in a terminal?

Changed in pithos:
status: New → Incomplete
Revision history for this message
Iann Gorrill (iann) wrote :
Download full text (3.4 KiB)

This has been happening to me this morning. If I start pithos, the first song will play and then if I let it finish or click next, the remaining 3 songs all say Error: Resource not found, 4 more songs get queued and then immediately say Error: Resource not found. Finally, a popup dialog is thrown which says Error Resource not found with a Quit, Retry and Preferences buttonset. I get the same behavior if I try a different station as well after this error starts. If I close the app and re-open it, the first song always plays. Here is the output from running it as --verbose:

DEBUG - pithos:<module>:624 - logging enabled
DEBUG - __init__:connect:59 - libpiano: Connecting
DEBUG - __init__:connect:61 - libpiano: Get Stations
DEBUG - __init__:connect:64 - libpiano: found 3 stations
DEBUG - pithos:pandora_ready:352 - Pandora connected
DEBUG - pithos:pandora_ready:362 - Restoring saved station: id = 158399905711958802
DEBUG - pithos:station_changed:407 - Selecting station 158399905711958802; total = 4
DEBUG - __init__:get_playlist:109 - libpiano: Get Playlist
DEBUG - pithos:song_changed:253 - Starting song: index = 0
DEBUG - pithos:art_callback:322 - Downloaded album art for 0
DEBUG - pithos:art_callback:322 - Downloaded album art for 1
DEBUG - pithos:art_callback:322 - Downloaded album art for 2
DEBUG - pithos:art_callback:322 - Downloaded album art for 3
DEBUG - pithos:song_changed:253 - Starting song: index = 1
ERROR - pithos:on_message:430 - Gstreamer error: Resource not found., gstsouphttpsrc.c(913): gst_soup_http_src_finished_cb (): /GstPlayBin:player/GstSoupHTTPSrc:source:
libsoup status code 3
DEBUG - pithos:song_changed:253 - Starting song: index = 2
ERROR - pithos:on_message:430 - Gstreamer error: Resource not found., gstsouphttpsrc.c(913): gst_soup_http_src_finished_cb (): /GstPlayBin:player/GstSoupHTTPSrc:source:
libsoup status code 3
DEBUG - pithos:song_changed:253 - Starting song: index = 3
DEBUG - __init__:get_playlist:109 - libpiano: Get Playlist
ERROR - pithos:on_message:430 - Gstreamer error: Resource not found., gstsouphttpsrc.c(913): gst_soup_http_src_finished_cb (): /GstPlayBin:player/GstSoupHTTPSrc:source:
libsoup status code 3
DEBUG - pithos:song_changed:253 - Starting song: index = 4
ERROR - pithos:on_message:430 - Gstreamer error: Resource not found., gstsouphttpsrc.c(913): gst_soup_http_src_finished_cb (): /GstPlayBin:player/GstSoupHTTPSrc:source:
libsoup status code 3
DEBUG - pithos:song_changed:253 - Starting song: index = 5
ERROR - pithos:on_message:430 - Gstreamer error: Resource not found., gstsouphttpsrc.c(913): gst_soup_http_src_finished_cb (): /GstPlayBin:player/GstSoupHTTPSrc:source:
libsoup status code 3
DEBUG - pithos:song_changed:253 - Starting song: index = 6
ERROR - pithos:on_message:430 - Gstreamer error: Resource not found., gstsouphttpsrc.c(913): gst_soup_http_src_finished_cb (): /GstPlayBin:player/GstSoupHTTPSrc:source:
libsoup status code 3
DEBUG - pithos:song_changed:253 - Starting song: index = 7
WARNING - pithos:get_playlist:314 - Too many gstreamer errors. Not retrying
DEBUG - pithos:art_callback:322 - Downloaded album art for 4
DEBUG - pithos:art_callback:322 - Downloaded album art for 5
DEBUG ...

Read more...

Revision history for this message
Iann Gorrill (iann) wrote :

To add more to my previous comment, this is on an Ubuntu 10.04 box with your ppa build. Also, just tried running it as sudo and I am not seeing the issue that way.

Revision history for this message
Kevin Mehall (kevin-mehall) wrote :

Is this an intermittent issue? There's a chance Pandora was having problems at the time if it's working correctly now. But if it happens often, there's likely another cause, since I haven't seen this.

Could this be a proxy issue? Do you have a proxy in System->Preferences->Network Proxy set on your user, but not on root (when you run with sudo). Pithos shouldn't require any elevated permissions, so the only difference it would make to run as root should be that it's a separate user account.

Revision history for this message
Tushar (tushar-kul) wrote :

Yes this is an intermittent issue. I think that it may be caused due to the commercials that Pandora plays when you change stations. So Pithos receives a list of songs (I beleive 4) and skips over them before it displays the error message since there is a commercial that Pandora is actually streaming.

Also I am not using a proxy.

Revision history for this message
Iann Gorrill (iann) wrote :

I can replicate it every single time using my regular user account. I cannot replicate it nor do I ever see the error when running as sudo, so I don't believe it has anything to do with the commercials that are supposed to be played.

Revision history for this message
Wiggoggs (don-mcgin) wrote :

I would like to add my own feedback here, since I also had this problem but seem to have gotten rid of it, although i don't really know how.

I installed pithos using the version from the ppa repository. I immediately noticed this problem and decided to try and build the program from source to try and fix it. I found the pithos website and after removing the previously installed version, I installed all the dependencies listed on the website and then followed the instructions to build the program from source. After building pithos, I started it and was still encountering the problem. I decided to try installing the version in the ppa repository once more, and when it was done, the problem had disappeared. I have closed and restarted pithos several times and I am still not running into the problem. The only thing I can think of is that I installed all the dependencies, but the version I built from source did the same thing even after doing this. Anyway, I hope this information helps.

Revision history for this message
Josh Hidley (k-launchpad-josh-hidley-com) wrote :
Download full text (4.6 KiB)

I get this error too: Start Pithos, first song plays. When the first song ends, the GUI selected song moves down through the other 3 loaded songs and displays 'Error: Resource not found' after each one. Then it loads 4 more and moves down through those with the same error message. At the end of those, it displays an error dialog box: 'Error Resource not found.'

It has been doing this consistently all week.

My Network Proxy Preferences is set to Automatic, so I'm not sure if I have any active or not. I haven't done anything to enable them.

sudo pithos --verbose works fine.

Here's my output from pithos --verbose:

DEBUG - pithos:<module>:677 - logging enabled
DEBUG - plugin:enable:33 - Enabling module notification_icon
DEBUG - plugin:enable:33 - Enabling module song_notify
DEBUG - __init__:connect:59 - libpiano: Connecting
DEBUG - __init__:connect:61 - libpiano: Get Stations
DEBUG - __init__:connect:64 - libpiano: found 28 stations
DEBUG - pithos:pandora_ready:297 - Pandora connected
DEBUG - pithos:pandora_ready:307 - Restoring saved station: id = 14972024121924664
DEBUG - pithos:station_changed:457 - Selecting station 14972024121924664; total = 29
DEBUG - __init__:get_playlist:109 - libpiano: Get Playlist
DEBUG - pithos:song_changed:333 - Starting song: index = 0
DEBUG - pithos:art_callback:400 - Downloaded album art for 0
DEBUG - pithos:art_callback:400 - Downloaded album art for 1
DEBUG - pithos:art_callback:400 - Downloaded album art for 2
DEBUG - pithos:art_callback:400 - Downloaded album art for 3
DEBUG - pithos:song_changed:333 - Starting song: index = 1
ERROR - pithos:on_message:481 - Gstreamer error: Resource not found., gstsouphttpsrc.c(913): gst_soup_http_src_finished_cb (): /GstPlayBin:player/GstSoupHTTPSrc:source:
libsoup status code 3
DEBUG - pithos:song_changed:333 - Starting song: index = 2
ERROR - pithos:on_message:481 - Gstreamer error: Resource not found., gstsouphttpsrc.c(913): gst_soup_http_src_finished_cb (): /GstPlayBin:player/GstSoupHTTPSrc:source:
libsoup status code 3
DEBUG - pithos:song_changed:333 - Starting song: index = 3
DEBUG - __init__:get_playlist:109 - libpiano: Get Playlist
ERROR - pithos:on_message:481 - Gstreamer error: Resource not found., gstsouphttpsrc.c(913): gst_soup_http_src_finished_cb (): /GstPlayBin:player/GstSoupHTTPSrc:source:
libsoup status code 3
DEBUG - pithos:song_changed:333 - Starting song: index = 4
DEBUG - pithos:art_callback:400 - Downloaded album art for 4
ERROR - pithos:on_message:481 - Gstreamer error: Resource not found., gstsouphttpsrc.c(913): gst_soup_http_src_finished_cb (): /GstPlayBin:player/GstSoupHTTPSrc:source:
libsoup status code 3
DEBUG - pithos:song_changed:333 - Starting song: index = 5
DEBUG - pithos:art_callback:400 - Downloaded album art for 5
DEBUG - pithos:art_callback:400 - Downloaded album art for 6
ERROR - pithos:on_message:481 - Gstreamer error: Resource not found., gstsouphttpsrc.c(913): gst_soup_http_src_finished_cb (): /GstPlayBin:player/GstSoupHTTPSrc:source:
libsoup status code 3
DEBUG - pithos:song_changed:333 - Starting song: index = 6
DEBUG - pithos:art_callback:400 - Downloaded album art for 7
ERROR - pithos:on_message:481 - Gstreamer error: Resource...

Read more...

Revision history for this message
Kevin Mehall (kevin-mehall) wrote :

Libsoup status code 3 is "SOUP_STATUS_CANT_RESOLVE_PROXY" according to http://library.gnome.org/devel/libsoup/stable/libsoup-2.4-soup-status.html#SoupKnownStatusCode

Note that this would be the system-wide proxy set in Network Proxy, because the proxy settings in the Pithos preferences are only used for the control connection, but gstreamer defaults to using the global proxy settings.

I'm not sure what this error code is supposed to mean, why it doesn't appear to break other applications that use the global proxy settings, and what should be done to avoid this. A good test may be to play something over HTTP in another gstreamer-based application like Totem, and if you see the same problem, it's likely a proxy configuration issue or a gstreamer bug.

Revision history for this message
zodono (zodono) wrote :

I have been having this same problem since around the time im guessing pithos moved away from libpiano, Pithos is most excelent, but the proxy support is flawed/inadequete. I must use pithos through a socks proxy, so i the past i was able to have no problem with using proxychains to proxychians pithos through a socks proxy.. but after some recent pithos update i started having this issue, I can confirm removing the global proxy from gnome once again allowed pithos to work fine with proxychains, but this doesnt help me because i must keep the gnome global proxy setting as it is (set to a socks proxy) for chrome and some other apps. I also found this same problem trying to use pithos with its integrated HTTP proxy field and a known working HTTP proxy on my own server. It resulted in these same errors, again if i turn off global proxy in gnome it is once again working. Is it likely that this will be resolved soon? or is there some way to revert to an old build of pithos, I have tested all these complications with pianobar, Pianobar works fine with proxychains and proxy set in global proxy... so i have had to revert to pianobar for the time being... I think the problem is with gstreamer somehow breaking out of proxychains wrapping, and finding the http_proxy environment variable set, using that, or finding it not set, using the global proxy. What is odd is even with the HTTP proxy set inside pithos, gstreamer stops using it after the first song if a global proxy is set... and (i think) since it is socks in my case, and gstreamer doesnt like socks, it fails...

Revision history for this message
Vidyabhushan Mohan (mailtovb) wrote :

I have been having the same problem too. All the details about the bug are available here: https://bugs.launchpad.net/pithos/+bug/664281
And no, I am not using proxy anywhere in pithos, system->network proxy or environment variables.

Revision history for this message
Vidyabhushan Mohan (mailtovb) wrote :

oops.. just figured out that the system had proxy configured.. and removing it fixes pithos..

Revision history for this message
Gary Miguel (garymm) wrote :

Same problem. First song plays, later ones do not. I am using ubuntu's system-wide proxy, with autoconfiguration URL.

Revision history for this message
Leon Barrett (leon-barrettnexus) wrote :

I'm in the same case as Gary Miguel--first song plays, later ones (or other stations) do not. Ubuntu 10.4.1, system-wide proxy with autoconfiguration URL, but the proxy line empty for Pithos. Errors include:

ERROR:root:Gstreamer error: Resource not found., gstsouphttpsrc.c(913): gst_soup_http_src_finished_cb (): /GstPlayBin2:player/GstURIDecodeBin:uridecodebin1/GstSoupHTTPSrc:source:
libsoup status code 3

Changed in pithos:
status: Incomplete → Confirmed
importance: Undecided → High
summary: - Error: 'Resource not Found" on changing stations
+ Error: 'Resource not Found, libsoup status code 3" with system-wide
+ proxy
Revision history for this message
Kevin Mehall (kevin-mehall) wrote :

It seems like there may be multiple bugs with similar symptoms that users are discussing on this report. I'm confirming this bug for the case where the error contains "libsoup status code 3", and there is a system-wide proxy. I'm aware that Pithos's proxy support is quite flawed, and this will be a priority for Pithos 0.4.

If you are experiencing gstreamer net-related errors and are sure you do not have a system-wide proxy configured, that is potentially the same as bug #620854. I can't reproduce this one, so if you are still experiencing this, any additional info would be helpful to post on that report.

Revision history for this message
gerber (greynand) wrote :

how to fix it pandora 12.04?

Revision history for this message
Tony Maro (tonymaro) wrote :
Download full text (4.9 KiB)

Having the same problem on Pithos 0.3.17, but getting status code 7, 3:

Started doing it on Saturday about 1/4 of the time, but on Monday morning it does it 100% of the time and plays nothing.

I have no proxy on my network.

pithos --verbose
INFO - pithos:<module>:828 - Pithos 0.3.17
/usr/bin/pithos:805: GtkWarning: Ignoring the separator setting
  builder.add_from_file(ui_filename)
INFO - plugin:enable:35 - Enabling module notification_icon
INFO - plugin:enable:35 - Enabling module mediakeys
INFO - mediakeys:bind_dbus:32 - Bound media keys with DBUS
INFO - pandora:connect:172 - Time offset is -3.05723309517
INFO - pithos:pandora_ready:328 - Pandora connected
INFO - pithos:process_stations:348 - Restoring saved station: id = 23339642589642471
INFO - pithos:station_changed:541 - Selecting station 23339642589642471; total = 26
INFO - pandora:get_playlist:247 - pandora: Get Playlist
INFO - pithos:start_song:386 - Starting song: index = 0
INFO - pithos:art_callback:468 - Downloaded album art for 0
ERROR - pithos:on_gst_error:554 - Gstreamer error: Resource not found., gstsouphttpsrc.c(924): gst_soup_http_src_finished_cb (): /GstPlayBin2:player/GstURIDecodeBin:uridecodebin0/GstSoupHTTPSrc:source:
libsoup status code 7, 3
INFO - pithos:start_song:386 - Starting song: index = 1
INFO - pithos:art_callback:468 - Downloaded album art for 1
ERROR - pithos:on_gst_error:554 - Gstreamer error: Resource not found., gstsouphttpsrc.c(924): gst_soup_http_src_finished_cb (): /GstPlayBin2:player/GstURIDecodeBin:uridecodebin1/GstSoupHTTPSrc:source:
libsoup status code 7, 3
INFO - pithos:start_song:386 - Starting song: index = 2
ERROR - pithos:on_gst_error:554 - Gstreamer error: Resource not found., gstsouphttpsrc.c(924): gst_soup_http_src_finished_cb (): /GstPlayBin2:player/GstURIDecodeBin:uridecodebin2/GstSoupHTTPSrc:source:
libsoup status code 7, 3
INFO - pandora:get_playlist:247 - pandora: Get Playlist
INFO - pithos:start_song:386 - Starting song: index = 3
ERROR - pithos:on_gst_error:554 - Gstreamer error: Resource not found., gstsouphttpsrc.c(924): gst_soup_http_src_finished_cb (): /GstPlayBin2:player/GstURIDecodeBin:uridecodebin3/GstSoupHTTPSrc:source:
libsoup status code 7, 3
ERROR - pithos:on_gst_error:554 - Gstreamer error: Could not read from resource., gstsouphttpsrc.c(1097): gst_soup_http_src_parse_status (): /GstPlayBin2:player/GstURIDecodeBin:uridecodebin3/GstSoupHTTPSrc:source:
Connection terminated unexpectedly (7), URL: http://mediaserver-sv5-rt-1.pandora.com/access/?version=4&lid=29196007&token=XT7O4HzE1qmBi0vQBSHTruVNRBkhFPHUZ30biOoxdqNqVGaBIxuW4388BCqpwhjFFYt2%2FO5otyPIk0hvOadPc5eF%2BkgHGeuxQZqudFme9%2BZ%2B6kqGZrOjoAl4dmOwhUt3k83tCB%2Bs0NsWymHVAjzPEMEQHHFq5hEeeLnOnIx3Vx2nObkgkE%2B%2B%2BCjY4xBykhoFD8y2eSGrHrrVyzqqhaLdYYC0F865hVLsMxmMivgjnRD%2FmGxPmR%2BNcyZXSYYvczycfanF%2BMTiaFq8CYCBv%2FAVctcKdTT6Uajd%2FWPKZyNiqmNMOVHNlQsp2B3z9ACTfZOEllGihi7udNLS5MlAOynlYJR%2FognFMYnGYOqbstJwlsxns3s7JZK7sXORu%2Bd4mfg%2FsdtFynBR8yHcotHm2uNeg8FGaK7vkgGvGOprA1%2BjkHNODEzMjGSggTbZwXFnWCX4g70eoAKEbz7CQsNGmmRDUo6mYgKXu5O0%2F2Rfrq85JiJ9oTuW1cMporE8%2FYLh2Xyneias5VBa9Ss8FP8SWLpqIIqZ1qoA9DpG%2FAlYw50tBwhtKtm9%2FQn46w%3D%3D, 9
ERROR - pithos:on_gst_error:554 - Gstreamer...

Read more...

Revision history for this message
Kevin Mehall (kevin-mehall) wrote :

@Tony: I'm seeing these errors today too. It's not this bug with the proxy support, but probably yet another one of Pandora's attempts to block Pithos. I've added a new bug for this issue: bug #1008614.

mike (mswarth105)
Changed in pithos:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Remote bug watches

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