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, 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