Running souphttpsrc through a proxy that requires authentication

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Running souphttpsrc through a proxy that requires authentication

Konstantin Miller
Dear all,

I cannot make the souphttpsrc plugin work with a proxy server that requires authentication. I am using Ubuntu 10.04 and the Gstreamer version as checked out from the git on August 25, 2011.

What happens is: souphttpsrc sends a HTTP GET request to the proxy server, not including the authentication data. The proxy server answers 407 Proxy Authentication Required. Now, instead of sending a new GET including authentication data (as would do the get example application from the libsoup library), the pipeline terminates with an error. In the attachment is the debug output of souphttpsrc.

As far as I can see from the code of souphttpsrc, I cannot understand if it can work at all, since before soup_auth_authenticate gets the chance to perform the authentication, gst_soup_http_src_parse_status issues a GST_ELEMENT_ERROR.

Could somebody successfully run souphttpsrc from behind a proxy with authentication?

Best,
Konstantin




_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

debug.txt (8K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Running souphttpsrc through a proxy that requires authentication

Konstantin Miller
Dear all,

I cannot make the souphttpsrc plugin work with a proxy server that requires authentication. I am using Ubuntu 10.04 and the Gstreamer version as checked out from the git on August 25, 2011.

What happens is: souphttpsrc sends a HTTP GET request to the proxy server, not including the authentication data. The proxy server answers 407 Proxy Authentication Required. Now, instead of sending a new GET including authentication data (as would do the get example application from the libsoup library), the pipeline terminates with an error. In the attachment is the debug output of souphttpsrc.

As far as I can see from the code of souphttpsrc, I cannot understand if it can work at all, since before soup_auth_authenticate gets the chance to perform the authentication, gst_soup_http_src_parse_status issues a GST_ELEMENT_ERROR.

Could somebody successfully run souphttpsrc from behind a proxy with authentication?

Best,
Konstantin





_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

debug.txt (8K) Download Attachment