Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Pete Koutoulas 10 posts 30 karma points
    Apr 19, 2010 @ 17:58
    Pete Koutoulas
    0

    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?

    [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

    [WebException: Unable to connect to the remote server]
    System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) +287
    System.Net.WebClient.DownloadString(Uri address) +106
    System.Net.WebClient.DownloadString(String address) +29
    CPalm.Umbraco.Macro.OEmbed.usercontrols.CPalmUmbracoMacroOEmbed.Page_Load(Object sender, EventArgs e) in D:\Solutions\CPalm\Umbraco\CPalm.Umbraco.Macro.OEmbed\usercontrols\CPalmUmbracoMacroOEmbed.ascx.cs:46
    System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
    System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
    System.Web.UI.Control.OnLoad(EventArgs e) +99
    System.Web.UI.Control.LoadRecursive() +50
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Control.LoadRecursive() +141
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

     

  • Anders Burla Johansen 2560 posts 8256 karma points
    Apr 19, 2010 @ 18:29
    Anders Burla Johansen
    0

    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

  • Pete Koutoulas 10 posts 30 karma points
    Apr 19, 2010 @ 20:04
    Pete Koutoulas
    0

    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.

  • Anders Burla Johansen 2560 posts 8256 karma points
    Apr 19, 2010 @ 21:47
    Anders Burla Johansen
    0

    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.

  • Pete Koutoulas 10 posts 30 karma points
    Apr 20, 2010 @ 15:30
    Pete Koutoulas
    0

    Thank you for your kind offer of assistance, Anders. I have started a new thread on your project's page in continuation.

Please Sign in or register to post replies

Write your reply to:

Draft