[CLOSED] URGENT: CDN offline:

  1. #1

    [CLOSED] URGENT: CDN offline:

    http://speed.ext.net/ resources unavailable.
    Last edited by Daniil; Nov 25, 2013 at 6:46 AM. Reason: [CLOSED]
  2. #2
    This has established a need for an API to test the availability of the CDN resource and turn off cdn mode when unavailable.

    I can do this with head if I can get the url to a resource.
  3. #3
    The CDN resources should be fine now.

    We're in the process of moving our DNS and CDN services to a new provider.

    On the up side, we now have SSL support for CDN resources and will be adding this functionality to the upcoming Ext.NET Pro 2.4 release:

    https://speed.ext.net/ext.net/2.3.1/ux/portal/portal.js
    Geoffrey McGill
    Founder
  4. #4

    For anyone who may need this...

        public class WebRetrieve {
            public static bool TestAvailability( string UrlPath, int TimeOut=300 ) {
    		try {
    			var req = (HttpWebRequest)WebRequest.Create( UrlPath );
    			req.Timeout = TimeOut;
    			req.Method = "HEAD";
    			using( var resp = (HttpWebResponse)req.GetResponse() ) {
    				return ( resp.StatusCode == HttpStatusCode.OK );
    			}
    		}
    		catch {
    			return false;
    		}
    
    
            }
        }
    Call WebRetrieve.TestAvailability( "http://speed.ext.net/ext.net/2.3.1/extnet/extnet-all.js" )
    You can set your CDN on if result is true.

    Agreed, CDN seems to be back online ... I don't know how long it was out, but at least a half hour to a few. Heads-up for something like that helps.
    Last edited by michaeld; Nov 23, 2013 at 12:39 PM.
  5. #5
    Thank you for sharing such a simple approach to check the availability of CDN.

Similar Threads

  1. Replies: 1
    Last Post: Nov 17, 2013, 1:43 PM
  2. [URGENT]Store.Update
    By Aswini Ladish in forum 2.x Help
    Replies: 1
    Last Post: Feb 11, 2013, 9:56 AM
  3. urgent help needed :(
    By waqasaslammeo in forum 1.x Help
    Replies: 1
    Last Post: Feb 22, 2012, 7:42 AM
  4. need urgent help challenging job
    By grajaneesh in forum 1.x Help
    Replies: 1
    Last Post: Apr 08, 2011, 2:31 PM
  5. Urgent please Binding asp.net controls
    By miguelp120 in forum 1.x Help
    Replies: 2
    Last Post: Apr 21, 2010, 4:20 PM

Tags for this Thread

Posting Permissions