Hi. I just installed the macro on my site running umbraco v
4.0.2.1. But when I insert the macro and point it at a YouTube video and browse to the page, I get a YSOD. (Stack trace below.) It appears to be failing to connect to YouTube. I don't know why the server needs to connect as I thought this was embedded on the client. At any rate, this is what is happening for me. I have verified that the YouTube video can be viewed otherwise.
One thought -- we are behind an authenticating proxy/firewall. If the server must connect to YouTube, then this may be the reason for the error. You think that's it?
[SocketException (0x274c): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 216.239.38.21:80] System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) +239 System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) +35 System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) +224
Thanks for the reply, Anders. Some more info. After I posted the above, I talked with one of our network admins and she set up a bypass so that the Web server would not have to authenticate to the proxy server. We were hoping that would fix the problem but it has not helped. Due to the topology of our network, there is no way to get a direct, non-proxied connection to the Internet from our Web server. But she said most programs and scripts should work fine through the proxy when it does not challenge for authentication, as it is now configured.
Yellow screen of death
Hi. I just installed the macro on my site running umbraco v 4.0.2.1. But when I insert the macro and point it at a YouTube video and browse to the page, I get a YSOD. (Stack trace below.) It appears to be failing to connect to YouTube. I don't know why the server needs to connect as I thought this was embedded on the client. At any rate, this is what is happening for me. I have verified that the YouTube video can be viewed otherwise.
One thought -- we are behind an authenticating proxy/firewall. If the server must connect to YouTube, then this may be the reason for the error. You think that's it?
Seems as a connection error to youtube. I have looked at the code and the problem is that the user control dosent catch the exception.
Could you try and post the url you are trying to insert?
This macro gets the flash embed code from youtube, so if youtube fails to answer this macro will fail to recieve the embed code
Thanks for the reply, Anders. Some more info. After I posted the above, I talked with one of our network admins and she set up a bypass so that the Web server would not have to authenticate to the proxy server. We were hoping that would fix the problem but it has not helped. Due to the topology of our network, there is no way to get a direct, non-proxied connection to the Internet from our Web server. But she said most programs and scripts should work fine through the proxy when it does not challenge for authentication, as it is now configured.
This is the URL of the video: http://www.youtube.com/watch?v=6_sWOd9WQGo
I can browse directly to it from either my workstation or the Web server.
Can you try http://our.umbraco.org/projects/insert-video---youtube,-vimeo
I have made that project and can help debugging it if needed to solve your problem.
Thank you for your kind offer of assistance, Anders. I have started a new thread on your project's page in continuation.
is working on a reply...