Closed pspiers closed 13 years ago
seems to be working for me. it's got to be computer specific issue. what browsers have you tried this on?
firefox, explorer, chrome. Can work on all 3 but has also not worked on all 3.
If it comes up with an error notification and says we have been notified of the error and will deal with this shortly - where does is this error file and would it help identify why it's not loading for everyone?
I was doing some reading about geolocation and it gave some possible reasons why we might have a problem. Some firewalls cause an issue and some networks can cause the issue and that you need a timeout for getting the position from the i.p. if you have either of these issues.
What is supposed to happen if we can't get a geolocation - the map should come up of the whole world maybe?
Not working on windows vista, windows 2007, windows xp. all browsers.
andrew@dell:~/tmp/kipwiki$ wget http://kipwiki.heroku.com/home/index.html --2011-07-31 18:12:49-- http://kipwiki.heroku.com/home/index.html Resolving kipwiki.heroku.com... 50.16.232.130, 184.73.171.204, 184.73.173.41 Connecting to kipwiki.heroku.com|50.16.232.130|:80... connected. HTTP request sent, awaiting response... 500 Internal Server Error 2011-07-31 18:12:51 ERROR 500: Internal Server Error.
traceroute from the above machine: andrew@dell:~/tmp/kipwiki$ traceroute kipwiki.heroku.com traceroute to kipwiki.heroku.com (50.16.233.102), 30 hops max, 60 byte packets 1 192.168.1.1 (192.168.1.1) 0.587 ms 0.744 ms 0.976 ms 2 lns20.mel6.internode.on.net (150.101.212.45) 18.064 ms 19.151 ms 20.315 m s 3 te2-2.cor2.mel6.internode.on.net (150.101.208.69) 21.550 ms 23.228 ms 24. 196 ms 4 g1-3.bdr1.mel6.internode.on.net (150.101.212.14) 262.346 ms 262.714 ms 26 7.246 ms 5 te2-0-0.bdr1.cbr1.internode.on.net (150.101.160.173) 354.119 ms 354.350 ms 354.747 ms 6 te6-0-0.bdr1.syd4.internode.on.net (150.101.160.170) 293.165 ms 293.473 ms 294.637 ms 7 te0-0-0.bdr1.syd6.internode.on.net (150.101.197.1) 272.757 ms 252.852 ms 252.866 ms 8 pos5-0.bdr1.lax1.internode.on.net (203.16.213.158) 256.125 ms 256.300 ms 257.316 ms 9 gi0-0-2.bdr1.iad1.internode.on.net (203.16.213.242) 259.446 ms 253.371 ms 254.163 ms 10 equinix02-iad2.amazon.com (206.223.115.35) 296.377 ms 296.452 ms 280.269 ms 11 72.21.220.43 (72.21.220.43) 257.422 ms 72.21.220.41 (72.21.220.41) 257.356 ms 72.21.220.43 (72.21.220.43) 254.156 ms 12 72.21.222.149 (72.21.222.149) 278.290 ms 72.21.222.155 (72.21.222.155) 287 .829 ms 72.21.222.145 (72.21.222.145) 270.222 ms 13 216.182.224.55 (216.182.224.55) 257.548 ms 216.182.224.51 (216.182.224.51) 256.334 ms 216.182.232.55 (216.182.232.55) 256.550 ms 14 216.182.232.15 (216.182.232.15) 282.151 ms 216.182.232.73 (216.182.232.73) 257.309 ms 216.182.232.173 (216.182.232.173) 254.643 ms 15 * 216.182.232.126 (216.182.232.126) 279.528 ms 16 * * 17 * * 18 * * 19 * * 20 * * 21 * * 22 * * 23 * * 24 * * 25 * * 26 * * 27 * * 28 * * 29 * * 30 * *
I figured out how to view a little of heroku's logs and am able to get a meaningful error message. Looks like its a problem in app/controllers/home_controller.rb possibly something to do with the geolocation. Take a look at this:
andrew@dell:~/kipwiki/heroku/kipwiki$ date -u ; wget http://kipwiki.heroku.com/ -O /dev/null ; heroku logs -n 30 Mon Aug 15 07:57:22 UTC 2011 --2011-08-15 17:57:22-- http://kipwiki.heroku.com/ Resolving kipwiki.heroku.com... 50.16.233.102, 184.73.171.204, 184.73.173.41 Connecting to kipwiki.heroku.com|50.16.233.102|:80... connected. HTTP request sent, awaiting response... 500 Internal Server Error 2011-08-15 17:57:23 ERROR 500: Internal Server Error.
2011-08-15T07:55:48+00:00 app[web.1]: app/controllers/home_controller.rb:11:in collect' 2011-08-15T07:55:48+00:00 app[web.1]: app/controllers/home_controller.rb:11:in
index'
2011-08-15T07:55:48+00:00 app[web.1]:
2011-08-15T07:55:48+00:00 app[web.1]:
2011-08-15T07:57:04+00:00 app[web.1]:
2011-08-15T07:57:04+00:00 app[web.1]:
2011-08-15T07:57:04+00:00 app[web.1]: Started GET "/" for 118.209.179.26 at 2011-08-15 00:57:04 -0700
2011-08-15T07:57:04+00:00 app[web.1]: Processing by HomeController#index as
2011-08-15T07:57:04+00:00 heroku[router]: GET kipwiki.heroku.com/ dyno=web.1 queue=0 wait=0ms service=102ms status=500 bytes=728
2011-08-15T07:57:04+00:00 app[web.1]: Completed in 96ms
2011-08-15T07:57:04+00:00 app[web.1]:
2011-08-15T07:57:04+00:00 app[web.1]: Mongo::OperationFailure (assertion db/geo/2d.cpp:356):
2011-08-15T07:57:04+00:00 app[web.1]: app/controllers/home_controller.rb:11:in collect' 2011-08-15T07:57:04+00:00 app[web.1]: app/controllers/home_controller.rb:11:in
index'
2011-08-15T07:57:04+00:00 app[web.1]:
2011-08-15T07:57:04+00:00 app[web.1]:
2011-08-15T07:57:05+00:00 heroku[nginx]: GET / HTTP/1.0 | 118.209.179.26 | 965 | http | 500
2011-08-15T07:57:23+00:00 app[web.1]:
2011-08-15T07:57:23+00:00 app[web.1]:
2011-08-15T07:57:23+00:00 app[web.1]: Started GET "/" for 118.209.179.26 at 2011-08-15 00:57:23 -0700
2011-08-15T07:57:23+00:00 app[web.1]: Processing by HomeController#index as
2011-08-15T07:57:23+00:00 app[web.1]: Completed in 86ms
2011-08-15T07:57:23+00:00 heroku[router]: GET kipwiki.heroku.com/ dyno=web.1 queue=0 wait=0ms service=99ms status=500 bytes=728
2011-08-15T07:57:23+00:00 app[web.1]:
2011-08-15T07:57:23+00:00 app[web.1]: Mongo::OperationFailure (assertion db/geo/2d.cpp:356):
2011-08-15T07:57:23+00:00 app[web.1]: app/controllers/home_controller.rb:11:in collect' 2011-08-15T07:57:23+00:00 app[web.1]: app/controllers/home_controller.rb:11:in
index'
2011-08-15T07:57:23+00:00 app[web.1]:
2011-08-15T07:57:23+00:00 app[web.1]:
2011-08-15T07:57:24+00:00 heroku[nginx]: GET / HTTP/1.0 | 118.209.179.26 | 965 | http | 500
I figured out how to view a little of heroku's logs and am able to get a meaningful error message. Looks like its a problem in app/controllers/home_controller.rb possibly something to do with the geolocation. Take a look at this:
andrew@dell:~/kipwiki/heroku/kipwiki$ date -u ; wget http://kipwiki.heroku.com/ -O /dev/null ; heroku logs -n 30 Mon Aug 15 07:57:22 UTC 2011 --2011-08-15 17:57:22-- http://kipwiki.heroku.com/ Resolving kipwiki.heroku.com... 50.16.233.102, 184.73.171.204, 184.73.173.41 Connecting to kipwiki.heroku.com|50.16.233.102|:80... connected. HTTP request sent, awaiting response... 500 Internal Server Error 2011-08-15 17:57:23 ERROR 500: Internal Server Error.
2011-08-15T07:55:48+00:00 app[web.1]: app/controllers/home_controller.rb:11:in collect' 2011-08-15T07:55:48+00:00 app[web.1]: app/controllers/home_controller.rb:11:in
index'
2011-08-15T07:55:48+00:00 app[web.1]:
2011-08-15T07:55:48+00:00 app[web.1]:
2011-08-15T07:57:04+00:00 app[web.1]:
2011-08-15T07:57:04+00:00 app[web.1]:
2011-08-15T07:57:04+00:00 app[web.1]: Started GET "/" for 118.209.179.26 at 2011-08-15 00:57:04 -0700
2011-08-15T07:57:04+00:00 app[web.1]: Processing by HomeController#index as
2011-08-15T07:57:04+00:00 heroku[router]: GET kipwiki.heroku.com/ dyno=web.1 queue=0 wait=0ms service=102ms status=500 bytes=728
2011-08-15T07:57:04+00:00 app[web.1]: Completed in 96ms
2011-08-15T07:57:04+00:00 app[web.1]:
2011-08-15T07:57:04+00:00 app[web.1]: Mongo::OperationFailure (assertion db/geo/2d.cpp:356):
2011-08-15T07:57:04+00:00 app[web.1]: app/controllers/home_controller.rb:11:in collect' 2011-08-15T07:57:04+00:00 app[web.1]: app/controllers/home_controller.rb:11:in
index'
2011-08-15T07:57:04+00:00 app[web.1]:
2011-08-15T07:57:04+00:00 app[web.1]:
2011-08-15T07:57:05+00:00 heroku[nginx]: GET / HTTP/1.0 | 118.209.179.26 | 965 | http | 500
2011-08-15T07:57:23+00:00 app[web.1]:
2011-08-15T07:57:23+00:00 app[web.1]:
2011-08-15T07:57:23+00:00 app[web.1]: Started GET "/" for 118.209.179.26 at 2011-08-15 00:57:23 -0700
2011-08-15T07:57:23+00:00 app[web.1]: Processing by HomeController#index as
2011-08-15T07:57:23+00:00 app[web.1]: Completed in 86ms
2011-08-15T07:57:23+00:00 heroku[router]: GET kipwiki.heroku.com/ dyno=web.1 queue=0 wait=0ms service=99ms status=500 bytes=728
2011-08-15T07:57:23+00:00 app[web.1]:
2011-08-15T07:57:23+00:00 app[web.1]: Mongo::OperationFailure (assertion db/geo/2d.cpp:356):
2011-08-15T07:57:23+00:00 app[web.1]: app/controllers/home_controller.rb:11:in collect' 2011-08-15T07:57:23+00:00 app[web.1]: app/controllers/home_controller.rb:11:in
index'
2011-08-15T07:57:23+00:00 app[web.1]:
2011-08-15T07:57:23+00:00 app[web.1]:
2011-08-15T07:57:24+00:00 heroku[nginx]: GET / HTTP/1.0 | 118.209.179.26 | 965 | http | 500
here's another log, still a 500 but i can see your debug information:
date -u ; wget http://kipwiki.heroku.com/ -O /dev/null ; heroku logs -n 30 --app kipwiki Tue Aug 16 11:28:28 UTC 2011 --2011-08-16 21:28:28-- http://kipwiki.heroku.com/ Resolving kipwiki.heroku.com... 184.73.173.41, 50.16.232.130, 184.73.171.204 Connecting to kipwiki.heroku.com|184.73.173.41|:80... connected. HTTP request sent, awaiting response... 500 Internal Server Error 2011-08-16 21:28:29 ERROR 500: Internal Server Error.
2011-08-16T11:25:12+00:00 heroku[router]: GET kipwiki.heroku.com/ dyno=web.1 queue=0 wait=0ms service=97ms status=500 bytes=728
2011-08-16T11:25:13+00:00 heroku[nginx]: GET / HTTP/1.0 | 118.209.179.26 | 965 | http | 500
2011-08-16T11:25:35+00:00 app[web.1]:
2011-08-16T11:25:35+00:00 app[web.1]:
2011-08-16T11:25:35+00:00 app[web.1]: Started GET "/" for 118.209.179.26 at 2011-08-16 04:25:35 -0700
2011-08-16T11:25:35+00:00 app[web.1]: Processing by HomeController#index as
2011-08-16T11:25:36+00:00 app[web.1]: @center_coords = [-37.7833, 145.133]
2011-08-16T11:25:36+00:00 app[web.1]: request.location #<Geocoder::Result::Freegeoip:0x00000006051648 @data={"city"=>"Doncaster", "region_code"=>"07", "region_name"=>"Victoria", "metrocode"=>"", "zipcode"=>"", "longitude"=>"145.133", "country_name"=>"Australia", "country_code"=>"AU", "ip"=>"118.209.179.26", "latitude"=>"-37.7833"}>
2011-08-16T11:25:36+00:00 app[web.1]: Completed in 91ms
2011-08-16T11:25:36+00:00 app[web.1]:
2011-08-16T11:25:36+00:00 app[web.1]: Mongo::OperationFailure (assertion db/geo/2d.cpp:356):
2011-08-16T11:25:36+00:00 app[web.1]: app/controllers/home_controller.rb:13:in collect' 2011-08-16T11:25:36+00:00 app[web.1]: app/controllers/home_controller.rb:13:in
index'
2011-08-16T11:25:36+00:00 app[web.1]:
2011-08-16T11:25:36+00:00 app[web.1]:
2011-08-16T11:25:36+00:00 heroku[router]: GET kipwiki.heroku.com/ dyno=web.1 queue=0 wait=0ms service=101ms status=500 bytes=728
2011-08-16T11:28:29+00:00 app[web.1]:
2011-08-16T11:28:29+00:00 app[web.1]:
2011-08-16T11:28:29+00:00 app[web.1]: Started GET "/" for 118.209.179.26 at 2011-08-16 04:28:29 -0700
2011-08-16T11:28:29+00:00 app[web.1]: Processing by HomeController#index as
2011-08-16T11:28:29+00:00 app[web.1]: @center_coords = [-37.7833, 145.133]
2011-08-16T11:28:29+00:00 app[web.1]: request.location #<Geocoder::Result::Freegeoip:0x00000005f6dc18 @data={"city"=>"Doncaster", "region_code"=>"07", "region_name"=>"Victoria", "metrocode"=>"", "zipcode"=>"", "longitude"=>"145.133", "country_name"=>"Australia", "country_code"=>"AU", "ip"=>"118.209.179.26", "latitude"=>"-37.7833"}>
2011-08-16T11:28:29+00:00 app[web.1]: Completed in 90ms
2011-08-16T11:28:29+00:00 app[web.1]:
2011-08-16T11:28:29+00:00 app[web.1]: Mongo::OperationFailure (assertion db/geo/2d.cpp:356):
2011-08-16T11:28:29+00:00 app[web.1]: app/controllers/home_controller.rb:13:in collect' 2011-08-16T11:28:29+00:00 app[web.1]: app/controllers/home_controller.rb:13:in
index'
2011-08-16T11:28:29+00:00 app[web.1]:
2011-08-16T11:28:29+00:00 app[web.1]:
2011-08-16T11:28:29+00:00 heroku[router]: GET kipwiki.heroku.com/ dyno=web.1 queue=0 wait=0ms service=95ms status=500 bytes=728
Just for a bit of fun, here is a log from my machine at work. (I cut out a few irreleavant lines) I think what is interesting is that because of how things are configured at work, although nginx sees the source IP of our router (202.158.218.252), the IP of my desktop 172.31.4.36 gets passed to your app and on to the geolocation bit of mongodb... which of course can't figure out where it is as it is private IP address space. Thankfully, this resolves without producing an error message.
aspiers@cape:~/kipwiki$ !! date -u ; wget http://kipwiki.heroku.com/ -O /dev/null ; heroku logs -n 30 --app kipwiki Tue Aug 16 12:10:38 UTC 2011 --2011-08-16 22:10:38-- http://kipwiki.heroku.com/ Resolving kipwiki.heroku.com... 50.16.232.130, 184.73.171.204, 184.73.173.41 Connecting to kipwiki.heroku.com|50.16.232.130|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 11969 (12K) [text/html] Saving to: '/dev/null'
100%[=========================================================================================================================================================================>] 11,969 25.7K/s in 0.5s
2011-08-16 22:10:39 (25.7 KB/s) - '/dev/null' saved [11969/11969]
2011-08-16T12:10:39+00:00 app[web.1]: 2011-08-16T12:10:39+00:00 app[web.1]: 2011-08-16T12:10:39+00:00 app[web.1]: Started GET "/" for 172.31.4.36 at 2011-08-16 05:10:39 -0700 2011-08-16T12:10:39+00:00 app[web.1]: Processing by HomeController#index as 2011-08-16T12:10:39+00:00 app[web.1]: @center_coords = [0.0, 0.0] 2011-08-16T12:10:39+00:00 app[web.1]: request.location #<Geocoder::Result::Freegeoip:0x00000005f948b8 @data={"city"=>"", "region_code"=>"", "region_name"=>"", "metrocode"=>"", "zipcode"=>"", "longitude"=>"0", "country_name"=>"Reserved", "country_code"=>"RD", "ip"=>"172.31.4.36", "latitude"=>"0"}> 2011-08-16T12:10:39+00:00 app[web.1]: Rendered layouts/_search_projects.html.haml (1.2ms) 2011-08-16T12:10:39+00:00 app[web.1]: Rendered home/_map_global_projects.html.haml (1.3ms) 2011-08-16T12:10:39+00:00 app[web.1]: Rendered home/_home_content.html.haml (24.0ms) 2011-08-16T12:10:39+00:00 app[web.1]: Rendered layouts/_header.html.haml (1.9ms) 2011-08-16T12:10:39+00:00 app[web.1]: Rendered layouts/_footer.haml (0.5ms) 2011-08-16T12:10:39+00:00 app[web.1]: Rendered home/index.html.haml within layouts/home_layout (29.7ms) 2011-08-16T12:10:39+00:00 app[web.1]: Completed 200 OK in 214ms (Views: 30.3ms) 2011-08-16T12:10:39+00:00 heroku[router]: GET kipwiki.heroku.com/ dyno=web.1 queue=0 wait=0ms service=219ms status=200 bytes=11969
looks like it still might be failing:
andrew@dell:~/kipwiki/heroku/kipwiki$ w3m -dump icanhazip.com; date -u ; wget http://kipwiki.heroku.com/ -O /dev/null ; heroku logs -n 30 --app kipwiki 118.209.179.26 Tue Aug 16 12:45:56 UTC 2011 --2011-08-16 22:45:56-- http://kipwiki.heroku.com/ Resolving kipwiki.heroku.com... 50.16.233.102, 184.73.173.41, 50.16.232.130 Connecting to kipwiki.heroku.com|50.16.233.102|:80... connected. HTTP request sent, awaiting response... 500 Internal Server Error 2011-08-16 22:45:58 ERROR 500: Internal Server Error.
2011-08-16T12:43:09+00:00 heroku[router]: GET kipwiki.heroku.com/ dyno=web.1 queue=0 wait=0ms service=112ms status=200 bytes=11969
2011-08-16T12:43:09+00:00 heroku[nginx]: GET / HTTP/1.0 | 202.158.218.252 | 12594 | http | 200
2011-08-16T12:45:28+00:00 app[web.1]:
2011-08-16T12:45:28+00:00 app[web.1]:
2011-08-16T12:45:28+00:00 app[web.1]: Started GET "/" for 172.31.4.36 at 2011-08-16 05:45:28 -0700
2011-08-16T12:45:28+00:00 app[web.1]: Processing by HomeController#index as
2011-08-16T12:45:28+00:00 app[web.1]: @center_coords = [0.0, 0.0]
2011-08-16T12:45:28+00:00 app[web.1]: request.location #<Geocoder::Result::Freegeoip:0x00000004853f00 @data={"city"=>"", "region_code"=>"", "region_name"=>"", "metrocode"=>"", "zipcode"=>"", "longitude"=>"0", "country_name"=>"Reserved", "country_code"=>"RD", "ip"=>"172.31.4.36", "latitude"=>"0"}>
2011-08-16T12:45:28+00:00 app[web.1]: Rendered layouts/_search_projects.html.haml (1.4ms)
2011-08-16T12:45:28+00:00 app[web.1]: Rendered home/_map_global_projects.html.haml (1.2ms)
2011-08-16T12:45:28+00:00 app[web.1]: Rendered home/_home_content.html.haml (79.7ms)
2011-08-16T12:45:28+00:00 app[web.1]: Rendered layouts/_header.html.haml (3.9ms)
2011-08-16T12:45:28+00:00 app[web.1]: Rendered layouts/_footer.haml (0.5ms)
2011-08-16T12:45:28+00:00 app[web.1]: Rendered home/index.html.haml within layouts/home_layout (86.8ms)
2011-08-16T12:45:28+00:00 app[web.1]: Completed 200 OK in 169ms (Views: 87.5ms)
2011-08-16T12:45:28+00:00 heroku[router]: GET kipwiki.heroku.com/ dyno=web.1 queue=0 wait=0ms service=178ms status=200 bytes=11969
2011-08-16T12:45:57+00:00 app[web.1]:
2011-08-16T12:45:57+00:00 app[web.1]:
2011-08-16T12:45:57+00:00 app[web.1]: Started GET "/" for 118.209.179.26 at 2011-08-16 05:45:57 -0700
2011-08-16T12:45:57+00:00 app[web.1]: Processing by HomeController#index as
2011-08-16T12:45:58+00:00 app[web.1]: @center_coords = [-37.7833, 145.133]
2011-08-16T12:45:58+00:00 app[web.1]: request.location #<Geocoder::Result::Freegeoip:0x0000000573bba8 @data={"city"=>"Doncaster", "region_code"=>"07", "region_name"=>"Victoria", "metrocode"=>"", "zipcode"=>"", "longitude"=>"145.133", "country_name"=>"Australia", "country_code"=>"AU", "ip"=>"118.209.179.26", "latitude"=>"-37.7833"}>
2011-08-16T12:45:58+00:00 app[web.1]: Completed in 116ms
2011-08-16T12:45:58+00:00 heroku[router]: GET kipwiki.heroku.com/ dyno=web.1 queue=0 wait=0ms service=122ms status=500 bytes=728
2011-08-16T12:45:58+00:00 app[web.1]:
2011-08-16T12:45:58+00:00 app[web.1]: Mongo::OperationFailure (assertion db/geo/2d.cpp:356):
2011-08-16T12:45:58+00:00 app[web.1]: app/controllers/home_controller.rb:15:in collect' 2011-08-16T12:45:58+00:00 app[web.1]: app/controllers/home_controller.rb:15:in
index'
2011-08-16T12:45:58+00:00 app[web.1]:
2011-08-16T12:45:58+00:00 app[web.1]:
Still about the same: andrew@dell:~/kipwiki$ w3m -dump icanhazip.com; date -u ; wget http://kipwiki.heroku.com/ -O /dev/null ; heroku logs -n 30 --app kipwiki 118.209.179.26 Tue Aug 16 13:04:19 UTC 2011 --2011-08-16 23:04:19-- http://kipwiki.heroku.com/ Resolving kipwiki.heroku.com... 50.16.232.130, 50.16.233.102, 184.73.173.41 Connecting to kipwiki.heroku.com|50.16.232.130|:80... connected. HTTP request sent, awaiting response... 500 Internal Server Error 2011-08-16 23:04:20 ERROR 500: Internal Server Error.
2011-08-16T13:04:20+00:00 app[web.1]:
2011-08-16T13:04:20+00:00 app[web.1]:
2011-08-16T13:04:20+00:00 app[web.1]: Started GET "/" for 118.209.179.26 at 2011-08-16 06:04:20 -0700
2011-08-16T13:04:20+00:00 app[web.1]: Processing by HomeController#index as
2011-08-16T13:04:20+00:00 app[web.1]: @center_coords = [-37.7833, 145.133]
2011-08-16T13:04:20+00:00 app[web.1]: request.location #<Geocoder::Result::Freegeoip:0x00000005374e48 @data={"city"=>"Doncaster", "region_code"=>"07", "region_name"=>"Victoria", "metrocode"=>"", "zipcode"=>"", "longitude"=>"145.133", "country_name"=>"Australia", "country_code"=>"AU", "ip"=>"118.209.179.26", "latitude"=>"-37.7833"}>
2011-08-16T13:04:20+00:00 app[web.1]: featured Project ID = 4e172549faf26d0001000016
2011-08-16T13:04:20+00:00 app[web.1]: featured Project Title Save Eco-system
2011-08-16T13:04:20+00:00 app[web.1]: featured Project ID = 4e2d44b07cc71b000100002a
2011-08-16T13:04:20+00:00 app[web.1]: featured Project Title Irrigation Upgrade Prescott Terrace
2011-08-16T13:04:20+00:00 app[web.1]: featured Project ID = 4e27e1dc905e38000100006d
2011-08-16T13:04:20+00:00 app[web.1]: featured Project Title Goa: Mining causes adverse imact on biodiversity
2011-08-16T13:04:20+00:00 app[web.1]: Completed in 92ms
2011-08-16T13:04:20+00:00 app[web.1]:
2011-08-16T13:04:20+00:00 app[web.1]: Mongo::OperationFailure (assertion db/geo/2d.cpp:356):
2011-08-16T13:04:20+00:00 app[web.1]: app/controllers/home_controller.rb:17:in collect' 2011-08-16T13:04:20+00:00 app[web.1]: app/controllers/home_controller.rb:17:in
index'
2011-08-16T13:04:20+00:00 app[web.1]:
2011-08-16T13:04:20+00:00 app[web.1]:
2011-08-16T13:04:20+00:00 heroku[router]: GET kipwiki.heroku.com/ dyno=web.1 queue=0 wait=0ms service=98ms status=500 bytes=728
so my computer tells me 500 at 2011-08-16, the same error is are raised by mongo, assertion db/geo/2d.cpp:356, and nginx reports that it produced a 500 error as well.
andrew@dell:~/kipwiki$ w3m -dump icanhazip.com; date -u ; wget http://kipwiki.heroku.com/ -O /dev/null ; heroku logs -n 31 --app kipwiki 118.209.179.26 Tue Aug 16 13:10:47 UTC 2011 --2011-08-16 23:10:47-- http://kipwiki.heroku.com/ Resolving kipwiki.heroku.com... 184.73.171.204, 184.73.173.41, 50.16.232.130 Connecting to kipwiki.heroku.com|184.73.171.204|:80... connected. HTTP request sent, awaiting response... 500 Internal Server Error 2011-08-16 23:10:48 ERROR 500: Internal Server Error.
2011-08-16T13:10:22+00:00 app[web.1]: Local Project ID = 4e15e5b3d03eec0001000009
2011-08-16T13:10:22+00:00 app[web.1]: Local Project Title Second Project
2011-08-16T13:10:22+00:00 app[web.1]: Rendered layouts/_search_projects.html.haml (1.1ms)
2011-08-16T13:10:22+00:00 app[web.1]: Rendered home/_map_global_projects.html.haml (1.2ms)
2011-08-16T13:10:22+00:00 app[web.1]: Rendered home/_home_content.html.haml (29.0ms)
2011-08-16T13:10:22+00:00 app[web.1]: Rendered layouts/_header.html.haml (1.5ms)
2011-08-16T13:10:22+00:00 app[web.1]: Rendered layouts/_footer.haml (0.4ms)
2011-08-16T13:10:22+00:00 app[web.1]: Rendered home/index.html.haml within layouts/home_layout (33.2ms)
2011-08-16T13:10:22+00:00 app[web.1]: Completed 200 OK in 126ms (Views: 33.9ms)
2011-08-16T13:10:22+00:00 heroku[router]: GET kipwiki.heroku.com/ dyno=web.1 queue=0 wait=0ms service=138ms status=200 bytes=14039
2011-08-16T13:10:48+00:00 app[web.1]:
2011-08-16T13:10:48+00:00 app[web.1]:
2011-08-16T13:10:48+00:00 app[web.1]: Started GET "/" for 118.209.179.26 at 2011-08-16 06:10:48 -0700
2011-08-16T13:10:48+00:00 app[web.1]: Processing by HomeController#index as
2011-08-16T13:10:48+00:00 app[web.1]: @center_coords = [-37.7833, 145.133]
2011-08-16T13:10:48+00:00 app[web.1]: request.location #<Geocoder::Result::Freegeoip:0x000000051f2138 @data={"city"=>"Doncaster", "region_code"=>"07", "region_name"=>"Victoria", "metrocode"=>"", "zipcode"=>"", "longitude"=>"145.133", "country_name"=>"Australia", "country_code"=>"AU", "ip"=>"118.209.179.26", "latitude"=>"-37.7833"}>
2011-08-16T13:10:48+00:00 app[web.1]: featured Project ID = 4e172549faf26d0001000016
2011-08-16T13:10:48+00:00 app[web.1]: featured Project Title Save Eco-system
2011-08-16T13:10:48+00:00 app[web.1]: featured Project ID = 4e2d44b07cc71b000100002a
2011-08-16T13:10:48+00:00 app[web.1]: featured Project Title Irrigation Upgrade Prescott Terrace
2011-08-16T13:10:48+00:00 app[web.1]: featured Project ID = 4e27e1dc905e38000100006d
2011-08-16T13:10:48+00:00 app[web.1]: featured Project Title Goa: Mining causes adverse imact on biodiversity
2011-08-16T13:10:48+00:00 app[web.1]: Completed in 140ms
2011-08-16T13:10:48+00:00 app[web.1]:
2011-08-16T13:10:48+00:00 app[web.1]: Mongo::OperationFailure (assertion db/geo/2d.cpp:356):
2011-08-16T13:10:48+00:00 app[web.1]: app/controllers/home_controller.rb:17:in collect' 2011-08-16T13:10:48+00:00 app[web.1]: app/controllers/home_controller.rb:17:in
index'
2011-08-16T13:10:48+00:00 app[web.1]:
2011-08-16T13:10:48+00:00 app[web.1]:
2011-08-16T13:10:48+00:00 heroku[router]: GET kipwiki.heroku.com/ dyno=web.1 queue=0 wait=0ms service=148ms status=500 bytes=728
2011-08-16T13:10:48+00:00 heroku[nginx]: GET / HTTP/1.0 | 118.209.179.26 | 965 | http | 500
Here's another log: andrew@dell:~/kipwiki$ !2028 w3m -dump icanhazip.com; date -u ; wget http://kipwiki.heroku.com/ -O /dev/null ; heroku logs -n 31 --app kipwiki 118.209.179.26 Tue Aug 16 13:30:12 UTC 2011 --2011-08-16 23:30:12-- http://kipwiki.heroku.com/ Resolving kipwiki.heroku.com... 184.73.173.41, 50.16.232.130, 184.73.171.204 Connecting to kipwiki.heroku.com|184.73.173.41|:80... connected. HTTP request sent, awaiting response... 500 Internal Server Error 2011-08-16 23:30:13 ERROR 500: Internal Server Error.
2011-08-16T13:29:18+00:00 app[web.1]: request.location #<Geocoder::Result::Freegeoip:0x0000000453b778 @data={"city"=>"Norwood", "region_code"=>"05", "region_name"=>"South Australia", "metrocode"=>"", "zipcode"=>"", "longitude"=>"138.65", "country_name"=>"Australia", "country_code"=>"AU", "ip"=>"58.160.156.31", "latitude"=>"-34.9167"}>
2011-08-16T13:29:18+00:00 app[web.1]: Completed in 84ms
2011-08-16T13:29:18+00:00 app[web.1]:
2011-08-16T13:29:18+00:00 app[web.1]: Mongo::OperationFailure (assertion db/geo/2d.cpp:356):
2011-08-16T13:29:18+00:00 app[web.1]: app/controllers/home_controller.rb:12:in index' 2011-08-16T13:29:18+00:00 app[web.1]: 2011-08-16T13:29:18+00:00 app[web.1]: 2011-08-16T13:29:18+00:00 heroku[router]: GET www.kipwiki.com/ dyno=web.1 queue=0 wait=0ms service=111ms status=500 bytes=728 2011-08-16T13:29:21+00:00 app[web.1]: 2011-08-16T13:29:21+00:00 app[web.1]: 2011-08-16T13:29:21+00:00 app[web.1]: Started GET "/" for 58.160.156.31 at 2011-08-16 06:29:21 -0700 2011-08-16T13:29:21+00:00 app[web.1]: Processing by HomeController#index as HTML 2011-08-16T13:29:21+00:00 app[web.1]: @center_coords = [-34.9167, 138.65] 2011-08-16T13:29:21+00:00 app[web.1]: request.location #<Geocoder::Result::Freegeoip:0x00000004435a68 @data={"city"=>"Norwood", "region_code"=>"05", "region_name"=>"South Australia", "metrocode"=>"", "zipcode"=>"", "longitude"=>"138.65", "country_name"=>"Australia", "country_code"=>"AU", "ip"=>"58.160.156.31", "latitude"=>"-34.9167"}> 2011-08-16T13:29:21+00:00 heroku[router]: GET www.kipwiki.com/ dyno=web.1 queue=0 wait=0ms service=97ms status=500 bytes=728 2011-08-16T13:29:21+00:00 app[web.1]: Completed in 87ms 2011-08-16T13:29:21+00:00 app[web.1]: 2011-08-16T13:29:21+00:00 app[web.1]: Mongo::OperationFailure (assertion db/geo/2d.cpp:356): 2011-08-16T13:30:12+00:00 app[web.1]: 2011-08-16T13:30:12+00:00 app[web.1]: 2011-08-16T13:30:12+00:00 app[web.1]: Started GET "/" for 118.209.179.26 at 2011-08-16 06:30:12 -0700 2011-08-16T13:30:12+00:00 app[web.1]: Processing by HomeController#index as 2011-08-16T13:30:12+00:00 app[web.1]: @center_coords = [-37.7833, 145.133] 2011-08-16T13:30:12+00:00 app[web.1]: request.location #<Geocoder::Result::Freegeoip:0x000000043d9d30 @data={"city"=>"Doncaster", "region_code"=>"07", "region_name"=>"Victoria", "metrocode"=>"", "zipcode"=>"", "longitude"=>"145.133", "country_name"=>"Australia", "country_code"=>"AU", "ip"=>"118.209.179.26", "latitude"=>"-37.7833"}> 2011-08-16T13:30:12+00:00 app[web.1]: Completed in 86ms 2011-08-16T13:30:12+00:00 app[web.1]: 2011-08-16T13:30:12+00:00 app[web.1]: Mongo::OperationFailure (assertion db/geo/2d.cpp:356): 2011-08-16T13:30:12+00:00 app[web.1]: app/controllers/home_controller.rb:12:in
index'
2011-08-16T13:30:12+00:00 app[web.1]:
2011-08-16T13:30:12+00:00 app[web.1]:
2011-08-16T13:30:12+00:00 heroku[router]: GET kipwiki.heroku.com/ dyno=web.1 queue=0 wait=0ms service=95ms status=500 bytes=728
Awesome work Pankaj, thanks Andrew
Landing page doesn't load from some computers.
Could this be a browser issue, a location issue or possibly to do with geolocation?