tenex / rails-assets

The solution to assets management in Rails
https://rails-assets.org
MIT License
1.63k stars 69 forks source link

https://rails-assets.org/ appears to be down? #446

Closed rgaufman closed 5 years ago

rgaufman commented 5 years ago
$ curl https://rails-assets.org/
curl: (7) Failed to connect to rails-assets.org port 443: Connection refused

Any ETA for it to come back up?

tobypinder commented 5 years ago

Pinging @joshjordan @hut8 as per https://rails-assets.org/humans.txt

rgaufman commented 5 years ago

Seems the website is back up, but still not able to bundle, getting:

Could not find rails-assets-chartjs-2.0.0.beta1.gem for installation

Any update? ETA?

joshjordan commented 5 years ago

It is up for me and traffic looks normal on our end.

image

May be an internet problem external to rails-assets, or may be intermittent. Investigating.

rgaufman commented 5 years ago

The website is up now, but it was down earlier and at present it is missing gems. Still not able to bundle.

joshjordan commented 5 years ago

@rgaufman can you do gem install rails-assets-chartjs --source https://rails-assets.org --version '2.0.0.beta1' -V and show the output?

$ gem install rails-assets-chartjs --source https://rails-assets.org --version '2.0.0.beta1' -V                                  [ 7:52:48AM ]
HEAD https://api.rubygems.org/api/v1/dependencies
200 OK
Getting SRV record failed: DNS result has no information for _rubygems._tcp.rails-assets.org
HEAD https://rails-assets.org/api/v1/dependencies
200 OK
GET https://api.rubygems.org/api/v1/dependencies?gems=rails-assets-chartjs
200 OK
GET https://rails-assets.org/api/v1/dependencies?gems=rails-assets-chartjs
200 OK
Getting SRV record failed: DNS result has no information for _rubygems._tcp.rails-assets.org
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/Gemfile
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/README.md
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/Rakefile
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/Chart.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/gulpfile.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/karma.conf.ci.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/karma.conf.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/karma.coverage.conf.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/src/charts/Chart.Bar.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/src/charts/Chart.Bubble.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/src/charts/Chart.Doughnut.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/src/charts/Chart.Line.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/src/charts/Chart.PolarArea.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/src/charts/Chart.Radar.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/src/charts/Chart.Scatter.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/src/controllers/controller.bar.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/src/controllers/controller.bubble.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/src/controllers/controller.doughnut.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/src/controllers/controller.line.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/src/controllers/controller.polarArea.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/src/controllers/controller.radar.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/src/core/core.animation.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/src/core/core.controller.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/src/core/core.element.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/src/core/core.helpers.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/src/core/core.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/src/core/core.scale.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/src/core/core.scaleService.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/src/core/core.tooltip.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/src/elements/element.arc.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/src/elements/element.line.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/src/elements/element.point.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/src/elements/element.rectangle.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/src/scales/scale.category.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/src/scales/scale.linear.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/src/scales/scale.logarithmic.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/src/scales/scale.radialLinear.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/src/scales/scale.time.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/test/controller.bar.tests.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/test/controller.doughnut.tests.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/test/controller.line.tests.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/test/core.element.tests.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/test/core.helpers.tests.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/test/core.scaleService.tests.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/test/element.arc.tests.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/test/element.line.tests.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/test/element.point.tests.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/test/element.rectangle.tests.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/test/mockContext.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/test/scale.category.tests.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/test/scale.linear.tests.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/test/scale.logarithmic.tests.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/test/scale.radialLinear.tests.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/javascripts/chartjs/test/scale.time.tests.js
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/templates/chartjs/samples/bar-multi-axis.html
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/templates/chartjs/samples/bar-stacked.html
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/templates/chartjs/samples/bar.html
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/templates/chartjs/samples/bubble.html
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/templates/chartjs/samples/combo-bar-line.html
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/templates/chartjs/samples/combo-time-scale.html
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/templates/chartjs/samples/doughnut.html
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/templates/chartjs/samples/line-customTooltips.html
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/templates/chartjs/samples/line-logarithmic.html
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/templates/chartjs/samples/line-multi-axis.html
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/templates/chartjs/samples/line-skip-points.html
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/templates/chartjs/samples/line-stacked-area.html
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/templates/chartjs/samples/line-time-point-data.html
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/templates/chartjs/samples/line-time-scale.html
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/templates/chartjs/samples/line-x-axis-filter.html
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/templates/chartjs/samples/line.html
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/templates/chartjs/samples/pie.html
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/templates/chartjs/samples/polar-area.html
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/templates/chartjs/samples/radar-skip-points.html
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/templates/chartjs/samples/radar.html
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/templates/chartjs/samples/scatter-logX.html
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/templates/chartjs/samples/scatter-multi-axis.html
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/templates/chartjs/samples/scatter.html
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/app/assets/templates/chartjs/samples/tooltip-hooks.html
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/lib/rails-assets-chartjs.rb
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/lib/rails-assets-chartjs/version.rb
/Users/jjordan/.rvm/gems/ruby-2.5.3/gems/rails-assets-chartjs-2.0.0.beta1/rails-assets-chartjs.gemspec
Successfully installed rails-assets-chartjs-2.0.0.beta1
Parsing documentation for rails-assets-chartjs-2.0.0.beta1
Parsing sources...
100% [ 2/ 2]  lib/rails-assets-chartjs/version.rb
Done installing documentation for rails-assets-chartjs after 0 seconds
1 gem installed
rgaufman commented 5 years ago
Screenshot 2019-06-20 at 13 00 18
rgaufman commented 5 years ago
Screenshot 2019-06-20 at 13 03 08
joshjordan commented 5 years ago

I understand that there are places on the internet that rails-assets is unreachable from. But, from where I'm sitting, rails-assets is up and serving regular amounts of traffic. This appears to be an external problem. Without more information pointing at rails-assets.org itself, I'm not sure I can help. Do you have output from the command I asked you about?

image

image

rgaufman commented 5 years ago

It was up a few minutes ago, it just went down again:

rgaufman commented 5 years ago
Screenshot 2019-06-20 at 13 17 38
joshjordan commented 5 years ago

Show me dig rails-assets.org

rgaufman commented 5 years ago

I'm showing you the same website that you posted - it keeps going up and down:

Screenshot 2019-06-20 at 13 03 08

at this very minute it is up, but keeps going up and down all morning.

joshjordan commented 5 years ago

You can keep posting the screenshot, but I cannot help without the information I asked for. Our logs still show 100% uptime and plenty of traffic.

rgaufman commented 5 years ago

Now it's loading extremely slowly:

 ➜ dig rails-assets.org

; <<>> DiG 9.10.6 <<>> rails-assets.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45972
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;rails-assets.org.      IN  A

;; ANSWER SECTION:
rails-assets.org.   59  IN  A   192.241.135.61

;; Query time: 43 msec
;; SERVER: 8.8.4.4#53(8.8.4.4)
;; WHEN: Thu Jun 20 13:32:14 BST 2019
;; MSG SIZE  rcvd: 61

➜  time wget https://rails-assets.org
--2019-06-20 13:33:45--  https://rails-assets.org/
Resolving rails-assets.org (rails-assets.org)... 192.241.135.61
Connecting to rails-assets.org (rails-assets.org)|192.241.135.61|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘index.html.1’

index.html.1                                                    [ <=>                                                                                                                                     ]   4.18K  --.-KB/s    in 0s

2019-06-20 13:34:48 (17.2 MB/s) - ‘index.html.1’ saved [4281]

wget https://rails-assets.org  0.02s user 0.01s system 0% cpu 1:02.86 total

Taking over a minute to get a response.

joshjordan commented 5 years ago

Unfortunately, this is a pretty typical scenario when there is an external internet issue. I'm seeing up to 8 second response times (averaging around 750ms) due to request queueing. But, application-level timings have not changed (still sub-50ms for most requests). Here's what appears to have happened:

  1. Host was unreachable from some part of the internet
  2. Pockets of developers and build servers are retrying, getting complete or intermittent failures
  3. Internet issues are resolved, and the backlog of developers and servers retrying creates a mini-DOS attack :)
  4. Requests get backlogged for everyone

4 is the really nasty bit, because bundler uses only a 2 second timeout by default and then retries. Usually, this means the problem will get worse before it gets better but does self-heal once traffic stabilizes. Quick fixes like restarting nginx to clear the request queue do NOT help because all of the bundlers will immediately retry and fill the queue back up.

joshjordan commented 5 years ago

To be clear, we did not see any internal downtime:

image

joshjordan commented 5 years ago

Closing this issue; I assume it is effecting few people because we normally get a lot of comments within a few minutes if something is truly down.