Skip to content

Instantly share code, notes, and snippets.

@claudijd
Created February 21, 2013 17:21
Show Gist options
  • Save claudijd/5006429 to your computer and use it in GitHub Desktop.
Save claudijd/5006429 to your computer and use it in GitHub Desktop.
Investigating why Aloha Ruby Conf website 404's all the time for me
#Testing Code
require 'resolv'
require 'set'
def lookup
p Resolv.getaddress "www.aloharubyconf.com"
end
ips = Set.new
100.times do
ips << lookup
end
ips.each do |ip|
puts ip
end
#Findings
75.101.145.87 #200's every time for www.aloharubyconf.com
174.129.212.2 #200's every time for www.aloharubyconf.com
216.107.145.5 #404's every time for www.aloharubyconf.com
- this is likely a bad Heroku vhost deployment
- contact Heroku about this, appears to be a persistant issue that I've seen over the last few days
Hope this helps you guys!
@claudijd
@claudijd
Copy link
Author

Also, based on some more testing, it looks like the odd man out is running a different server type:

Server: nginx
75.101.145.87 (200's)
174.129.212.2 (200's)

Server: Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/1.0.0-fips DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_qos/10.10
216.107.145.5 (404's)

@claudijd
Copy link
Author

Also, they appear to be provided by different providers:

AMAZON-EC2-4
75.101.145.87 (200's)
174.129.212.2 (200's)

CDC-CUST-BLK
216.107.145.5 (404's)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment