Facebook falling over on its face

Keep trying, guys. You’ll get it right eventually. Web services in 2010 are hard.

$ date
Tue 31 Aug 2010 06:53:37 PDT
$ curl -v -i http://www.facebook.com/
* About to connect() to www.facebook.com port 80 (#0)
*   Trying 69.63.189.26... connected
* Connected to www.facebook.com (69.63.189.26) port 80 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.20.1 (amd64-portbld-freebsd8.1) libcurl/7.20.1 OpenSSL/0.9.8n zlib/1.2.3
> Host: www.facebook.com
> Accept: */*
>
* Closing connection #0
* Failure when receiving data from the peer
curl: (56) Failure when receiving data from the peer

Hmm, what’s happening on a TCP level?

# tcpdump -p -i em0 -l -n -s 8192 "port 80"
listening on em0, link-type EN10MB (Ethernet), capture size 65535 bytes
06:55:33.380449 IP 192.168.1.51.50324 > 69.63.189.26.80: Flags [S], seq 2661770843, win 65535, options [mss 1460,nop,wscale 3,sackOK,TS val 2499401659 ecr 0], length 0
06:55:33.482251 IP 69.63.189.26.80 > 192.168.1.51.50324: Flags [S.], seq 1390727061, ack 2661770844, win 4380, options [mss 1460,nop,wscale 0,nop,nop,TS val 3362678839 ecr 2499401659,sackOK,eol], length 0
06:55:33.482285 IP 192.168.1.51.50324 > 69.63.189.26.80: Flags [.], ack 1, win 16471, options [nop,nop,TS val 2499401761 ecr 3362678839], length 0
06:55:33.482416 IP 192.168.1.51.50324 > 69.63.189.26.80: Flags [P.], ack 1, win 16471, options [nop,nop,TS val 2499401761 ecr 3362678839], length 148
06:55:33.585188 IP 69.63.189.26.80 > 192.168.1.51.50324: Flags [R.], seq 1, ack 149, win 4528, length 0

Oh, TCP RST + ACK. Nice.