RE: Re: Getting Error 503 on Facebook url linter.

Troy Hunt <[email protected]>
Newsgroups gmane.comp.web.blogger.api
Message-ID <[email protected]>
I don't think it's Facebook's issue; let me demonstrate:

 

If I construct an HTTP GET request to
http://www.troyhunt.com/2013/09/understanding-and-testing-for-view.html and
pass a user agent string of User-Agent: facebookexternalhit/1.1
(+http://www.facebook.com/externalhit_uatext.php) it will return 503 with a
page title of "Service Unavailable". If I change a single character in the
UA string it returns an HTTP 200 Success.

 

Blogger is responding differently based on the user agent and for some
reason when it thinks that Facebook is making the request it raises an
internal exception. These requests were issued from my own machine so I
think we can take Facebook out of the equation altogether, it's just that UA
string causing problems.

 

Regards,

 

Troy Hunt

0438 040876

http://troyhunt.com

@troyhunt

Microsoft MVP - Developer Security

 

From: [email protected] [mailto:[email protected]] On
Behalf Of DarkUFO
Sent: Tuesday, 17 September 2013 22:12
To: [email protected]
Subject: Re: [bloggerDev] Re: Getting Error 503 on Facebook url linter.

 

Troy,

 

Yes, your DNS is now correct.

 

Personally I would contact Facebook. Your URL
http://www.troyhunt.com/2013/09/the-complete-guide-to-loading-free-ssl.html
is working fine, I've run your site against various DNS and Network checkers
and it is fine.

 

I suspect something is up with the FB linter.


Be interesting to see what they say.

 

The only thing I noticed different with your site with custom domain and my
site with custom domain is the DOCtype/HTML

Here is mine

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns='http://www.w3.org/1999/xhtml'
xmlns:b='http://www.google.com/2005/gml/b'
xmlns:data='http://www.google.com/2005/gml/data'
xmlns:expr='http://www.google.com/2005/gml/expr'
xmlns:fb='http://www.facebook.com/2008/fbml' xmlns:og='http://ogp.me/ns#'>

 

here is yours

 

<!DOCTYPE html>

<html b:version='2' class='v2' dir='ltr'
xmlns='http://www.w3.org/1999/xhtml'
xmlns:b='http://www.google.com/2005/gml/b'
xmlns:data='http://www.google.com/2005/gml/data'
xmlns:expr='http://www.google.com/2005/gml/expr'>





On Monday, September 16, 2013 10:38:06 AM UTC+1, Troy Hunt wrote:

Interesting, my DNS settings were per Blogger's recommendation at some point
but obviously they're a little different now. Anyway, I've changed them a
few days ago and things *seemed* to improve (object debugger no longer
returning 503), but checking it again now and it's the same old problem:
https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.tro
yhunt.com%2F2013%2F09%2Fthe-complete-guide-to-loading-free-ssl.html

 

Thinking about it, I'd be surprised if the erratic nature of it was due to
DNS. Even before the changes, every now and then it would be ok then out of
nowhere it would start misbehaving without touching zone records for the
domain.

 

Incidentally, I can force a 503 by manually constructing the request with
the Facebook scraper user agent and issuing it via curl or Fiddler. It'll
fail, but make a single char change to the UA and suddenly it's ok - this
looks like Blogger messing with the request based on the client it believes
is issuing it.

 

Any further ideas?

On Wednesday, September 11, 2013 10:31:24 PM UTC+10, DarkUFO wrote:

Troy, your problem is that your DNS is not setup correctly.

 

You are missing the standard 4 ANAME records for your domain.

 

See this for more info

http://www.tech.spoilertv.com/2012/05/getting-blogger-working-with-custom.ht
ml

-- 
You received this message because you are subscribed to a topic in the
Google Groups "Blogger Developer Group" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/bloggerdev/9rVo0mny7Do/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
[email protected]
<mailto:[email protected]> .
To post to this group, send email to [email protected]
<mailto:[email protected]> .
Visit this group at http://groups.google.com/group/bloggerdev.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/bloggerdev.
For more options, visit https://groups.google.com/groups/opt_out.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.